Skip to content

Commit 37602c6

Browse files
Merge branch 'main' into main
2 parents e477e5f + a4af274 commit 37602c6

25 files changed

+635
-204
lines changed

.github/workflows/StaleBranch.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: (Scheduled) Stale branch removal
22

33
permissions:
44
contents: write
5+
pull-requests: read
56

67
# This workflow is designed to be run in the days up to, and including, a "deletion day", specified by 'DeleteOnDayOfMonth' in env: in https://github.com/MicrosoftDocs/microsoft-365-docs/blob/workflows-prod/.github/workflows/Shared-StaleBranch.yml.
78
# On the days leading up to "deletion day", the workflow will report the branches to be deleted. This lets users see which branches will be deleted. On "deletion day", those branches are deleted.

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ ms.date: 9/15/2023
88

99
Anyone who is interested can contribute to the articles. When you contribute, your work goes into the content set after it's been reviewed and merged. It's then published to [Microsoft Learn](https://learn.microsoft.com/), and you're listed as a contributor at: <https://github.com/MicrosoftDocs/office-docs-powershell/graphs/contributors>.
1010

11+
If you get stuck and are a Microsoft employee or vendor, post a message to [Ask an Admin](https://aka.ms/askanadmin).
12+
1113
### Quickly update an article using GitHub.com
1214

1315
Contributors who make infrequent or small updates can edit the file directly on GitHub.com without installing any software. This article shows you how. [This two-minute video](https://learn-video.azurefd.net/vod/player?id=b5167c5a-9c69-499b-99ac-e5467882bc92) also covers how to contribute.

exchange/docs-conceptual/connect-to-exchange-online-powershell.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Connect to Exchange Online PowerShell
33
author: chrisda
44
manager: deniseb
5-
ms.date: 8/21/2023
5+
ms.date: 05/07/2025
66
ms.audience: Admin
77
audience: Admin
88
ms.topic: article
@@ -61,15 +61,13 @@ Import-Module ExchangeOnlineManagement
6161
The command that you need to run uses the following syntax:
6262

6363
```powershell
64-
Connect-ExchangeOnline -UserPrincipalName <UPN> [-ExchangeEnvironmentName <Value>] [-ShowBanner:$false] [-DelegatedOrganization <String>] [-SkipLoadingFormatData]
64+
Connect-ExchangeOnline -UserPrincipalName <UPN> [-ExchangeEnvironmentName <Value>] [-ShowBanner:$false] [-LoadCmdletHelp] [-DelegatedOrganization <String>] [-SkipLoadingFormatData] [-DisableWAM]
6565
```
6666

6767
For detailed syntax and parameter information, see [Connect-ExchangeOnline](/powershell/module/exchange/connect-exchangeonline).
6868

6969
- _\<UPN\>_ is your account in user principal name format (for example, `navin@contoso.onmicrosoft.com`).
7070

71-
- With the EXO V3 module (v3.0.0 or later) and the [demise of Basic authentication (remote PowerShell) connections to Exchange Online](https://techcommunity.microsoft.com/t5/exchange-team-blog/deprecation-of-remote-powershell-rps-protocol-in-security-and/ba-p/3815432), you're using REST API cmdlets only. For more information, see [REST API connections in the EXO V3 module](exchange-online-powershell-v2.md#rest-api-connections-in-the-exo-v3-module).
72-
7371
- When you use the _ExchangeEnvironmentName_ parameter, you don't need use the _ConnectionUri_ or _AzureADAuthorizationEndPointUrl_ parameters. Common values for the _ExchangeEnvironmentName_ parameter are described in the following table:
7472

7573
|Environment|Value|
@@ -82,6 +80,8 @@ For detailed syntax and parameter information, see [Connect-ExchangeOnline](/pow
8280

8381
<sup>\*</sup> The required value `O365Default` is also the default value, so you don't need to use the _ExchangeEnvironmentName_ parameter in Microsoft 365 or Microsoft 365 GCC environments.
8482

83+
- In version 3.7.0 or later, command line help for Exchange Online PowerShell cmdlets is no longer loaded by default. Use the _LoadCmdletHelp_ switch so help for Exchange Online PowerShell cmdlets is available to the **Get-Help** cmdlet.
84+
8585
- The _DelegatedOrganization_ parameter specifies the customer organization that you want to manage as an authorized Microsoft Partner. For more information, see the [connection examples later in this article](#connect-to-exchange-online-powershell-in-customer-organizations).
8686

8787
- Depending on the nature of your organization, you might be able to omit the _UserPrincipalName_ parameter in the connection command. Instead, you enter the username and password or select stored credentials after you run the **Connect-ExchangeOnline** command. If it doesn't work, then you need to use the _UserPrincipalName_ parameter.
@@ -92,6 +92,8 @@ For detailed syntax and parameter information, see [Connect-ExchangeOnline](/pow
9292

9393
- Using the module in PowerShell 7 requires version 2.0.4 or later.
9494

95+
- In version 3.7.2 or later, the _DisableWAM_ switch is available to disable Web Account Manager (WAM) if you get WAM-related connection errors.
96+
9597
The connection examples in the following sections use modern authentication, and are incapable of using Basic authentication.
9698

9799
### Connect to Exchange Online PowerShell with an interactive login prompt

exchange/docs-conceptual/connect-to-scc-powershell.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Connect to Security & Compliance PowerShell
33
author: chrisda
44
manager: deniseb
5-
ms.date: 12/12/2023
5+
ms.date: 05/07/2025
66
ms.audience: Admin
77
audience: Admin
88
ms.topic: article

exchange/docs-conceptual/exchange-online-powershell-v2.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: About the Exchange Online PowerShell V3 module
33
ms.author: chrisda
44
author: chrisda
55
manager: deniseb
6-
ms.date: 03/26/2025
6+
ms.date: 05/07/2025
77
ms.audience: Admin
88
audience: Admin
99
ms.topic: article
@@ -615,7 +615,7 @@ Unless otherwise noted, the current release of the Exchange Online PowerShell mo
615615

616616
#### Version 3.7.2
617617

618-
- New _DisableWAM_ parameter on **Connect-ExchangeOnline** that disables Web Account Manager (WAM).
618+
- The _DisableWAM_ switch is available on the **Connect-ExchangeOnline** cmdlet to disable Web Account Manager (WAM) if you get WAM-related connection errors.
619619

620620
### Previous releases
621621

@@ -630,7 +630,7 @@ Unless otherwise noted, the current release of the Exchange Online PowerShell mo
630630
#### Version 3.7.0
631631

632632
- Integrated Web Account Manager (WAM) in authentication flows to enhance security.
633-
- Command line help for Exchange Online PowerShell cmdlets is no longer loaded by default. Use the _LoadCmdletHelp_ parameter in the **Connect-ExchangeOnline** command so help for Exchange Online PowerShell cmdlets is available to the **Get-Help** cmdlet.
633+
- Command line help for Exchange Online PowerShell cmdlets is no longer loaded by default. Use the _LoadCmdletHelp_ switch in the **Connect-ExchangeOnline** command so help for Exchange Online PowerShell cmdlets is available to the **Get-Help** cmdlet.
634634
- Fixed connection issues with app only authentication in Security & Compliance PowerShell.
635635

636636
#### Version 3.6.0

exchange/docs-conceptual/exchange-online-powershell.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Exchange Online PowerShell"
33
ms.author: chrisda
44
author: chrisda
55
manager: deniseb
6-
ms.date: 9/1/2023
6+
ms.date: 05/07/2025
77
ms.audience: Admin
88
audience: Admin
99
ms.topic: article

exchange/exchange-ps/exchange/Get-FeatureConfiguration.md

Lines changed: 1 addition & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,15 @@ This cmdlet is available only in Security & Compliance PowerShell. For more info
1717
Use the Get-FeatureConfiguration cmdlet to view Microsoft Purview feature configurations within your organization, including:
1818

1919
- Collection policies.
20-
- Endpoint DLP trust container.
20+
- Advanced label based protection.
2121

2222
For information about the parameter sets in the Syntax section below, see [Exchange cmdlet syntax](https://learn.microsoft.com/powershell/exchange/exchange-cmdlet-syntax).
2323

2424
## SYNTAX
2525

2626
```
2727
Get-FeatureConfiguration [[-Identity] <PolicyIdParameter>] [-FeatureScenario] <PolicyScenario>
28-
[-All]
2928
[-Confirm]
30-
[-GeneralDiscovery]
31-
[-IrmDiscovery]
3229
[-WhatIf]
3330
[<CommonParameters>]
3431
```
@@ -92,22 +89,6 @@ Accept pipeline input: False
9289
Accept wildcard characters: False
9390
```
9491

95-
### -All
96-
This parameter is reserved for internal Microsoft use.
97-
98-
```yaml
99-
Type: SwitchParameter
100-
Parameter Sets: (All)
101-
Aliases:
102-
Applicable: Security & Compliance
103-
104-
Required: False
105-
Position: Named
106-
Default value: None
107-
Accept pipeline input: False
108-
Accept wildcard characters: False
109-
```
110-
11192
### -Confirm
11293
This parameter is reserved for internal Microsoft use.
11394

@@ -124,38 +105,6 @@ Accept pipeline input: False
124105
Accept wildcard characters: False
125106
```
126107

127-
### -GeneralDiscovery
128-
This parameter is reserved for internal Microsoft use.
129-
130-
```yaml
131-
Type: SwitchParameter
132-
Parameter Sets: (All)
133-
Aliases:
134-
Applicable: Security & Compliance
135-
136-
Required: False
137-
Position: Named
138-
Default value: None
139-
Accept pipeline input: False
140-
Accept wildcard characters: False
141-
```
142-
143-
### -IrmDiscovery
144-
This parameter is reserved for internal Microsoft use.
145-
146-
```yaml
147-
Type: SwitchParameter
148-
Parameter Sets: (All)
149-
Aliases:
150-
Applicable: Security & Compliance
151-
152-
Required: False
153-
Position: Named
154-
Default value: None
155-
Accept pipeline input: False
156-
Accept wildcard characters: False
157-
```
158-
159108
### -WhatIf
160109
This parameter is reserved for internal Microsoft use.
161110

exchange/exchange-ps/exchange/Get-VivaModuleFeaturePolicy.md

Lines changed: 60 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,22 @@ ms.reviewer:
1515
## SYNOPSIS
1616
This cmdlet is available only in the Exchange Online PowerShell module v3.2.0 or later. For more information, see [About the Exchange Online PowerShell module](https://aka.ms/exov3-module).
1717

18-
Use the Get-VivaModuleFeaturePolicy cmdlet to view the access policies for a specified feature in a Viva module in Viva. Policies are used to restrict or grant access to the specified feature for specific users, groups, or the entire tenant. This cmdlet provides details about the policies, including the policy's identifier, name, and creation date.
18+
Use the Get-VivaModuleFeaturePolicy cmdlet to view the access policies for a specified feature in a Viva module in Viva. Policies are used to restrict or grant access to the specified feature for specific users, groups, or the entire tenant. This cmdlet provides details about the policies, including the policy's identifier, name, and creation date. The cmdlet can filter policies based on MemberIds, allowing admins to view policies specific to certain users or groups.
1919

2020
For information about the parameter sets in the Syntax section below, see [Exchange cmdlet syntax](https://learn.microsoft.com/powershell/exchange/exchange-cmdlet-syntax).
2121

2222
## SYNTAX
23+
24+
### FeaturePolicy
25+
```
26+
Get-VivaModuleFeaturePolicy -FeatureId <String> -ModuleId <String> [[-PolicyId] <String>]
27+
[-ResultSize <Unlimited>]
28+
[<CommonParameters>]
29+
```
30+
31+
### FeaturePolicyWithMembers
2332
```
24-
Get-VivaModuleFeaturePolicy -FeatureId <String> -ModuleId <String>
25-
[[-PolicyId] <String>]
33+
Get-VivaModuleFeaturePolicy -ModuleId <String> [[-FeatureId] <String>] [[-MemberIds] <String[]>]
2634
[-ResultSize <Unlimited>]
2735
[<CommonParameters>]
2836
```
@@ -32,6 +40,8 @@ Use the Get-VivaModuleFeaturePolicy cmdlet to view the access policies for a spe
3240

3341
You can view all policies for a specified feature in a Viva module in Viva. To view a specific policy, you can include the PolicyId parameter.
3442

43+
The cmdlet can filter policies based on MemberIds, allowing admins to view policies specific to certain users or groups.
44+
3545
You need to use the Connect-ExchangeOnline cmdlet to authenticate.
3646

3747
This cmdlet requires the .NET Framework 4.7.2 or later.
@@ -61,6 +71,20 @@ Get-VivaModuleFeaturePolicy -ModuleId VivaInsights -FeatureId Reflection -Policy
6171

6272
This example returns details about a specific policy added for the Reflection feature in Viva Insights.
6373

74+
### Example 3
75+
```powershell
76+
Get-VivaModuleFeaturePolicy -ModuleId VivaInsights -FeatureId Reflection -MemberIds user1@contoso.com
77+
```
78+
79+
This example returns details about the policies for the Reflection feature in Viva Insights that apply to the user with the email user1@contoso.com.
80+
81+
### Example 4
82+
```powershell
83+
Get-VivaModuleFeaturePolicy -ModuleId * -FeatureId * -MemberIds user1@contoso.com,group1@contoso.com
84+
```
85+
86+
This example returns details about the policies for all features across all Viva modules that apply to the user with the email user1@contoso.com and the group with the email group1@contoso.com.
87+
6488
## PARAMETERS
6589

6690
### -FeatureId
@@ -70,7 +94,7 @@ To view details about the features in a Viva module that support feature access
7094

7195
```yaml
7296
Type: String
73-
Parameter Sets: (All)
97+
Parameter Sets: FeaturePolicy
7498
Aliases:
7599
Applicable: Exchange Online
76100

@@ -81,6 +105,19 @@ Accept pipeline input: False
81105
Accept wildcard characters: False
82106
```
83107
108+
```yaml
109+
Type: String
110+
Parameter Sets: FeaturePolicyWithMembers
111+
Aliases:
112+
Applicable: Exchange Online
113+
114+
Required: False
115+
Position: Named
116+
Default value: None
117+
Accept pipeline input: False
118+
Accept wildcard characters: True
119+
```
120+
84121
### -ModuleId
85122
The ModuleId parameter specifies the Viva module of the feature policies that you want to view.
86123
@@ -104,7 +141,7 @@ To view details about all policies for a feature in a Viva module, run this cmdl
104141
105142
```yaml
106143
Type: String
107-
Parameter Sets: (All)
144+
Parameter Sets: FeaturePolicy
108145
Aliases:
109146
Applicable: Exchange Online
110147

@@ -115,6 +152,24 @@ Accept pipeline input: False
115152
Accept wildcard characters: False
116153
```
117154
155+
### -MemberIds
156+
The MemberIds parameter specifies the specific users or groups for which you want to view the policies for the feature in the Viva module.
157+
158+
You can provide up to three member IDs. Use the \* character to specify all modules or features.
159+
160+
```yaml
161+
Type: String[]
162+
Parameter Sets: FeaturePolicyWithMembers
163+
Aliases:
164+
Applicable: Exchange Online
165+
166+
Required: False
167+
Position: Named
168+
Default value: None
169+
Accept pipeline input: False
170+
Accept wildcard characters: False
171+
```
172+
118173
### -ResultSize
119174
This parameter is reserved for internal Microsoft use.
120175

exchange/exchange-ps/exchange/New-AppRetentionCompliancePolicy.md

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ New-AppRetentionCompliancePolicy [-Name] <String> -Applications <String[]>
5050
```
5151

5252
## DESCRIPTION
53-
\*-AppRetentionCompliance\* cmdlets are used for policies with adaptive policy scopes and all static policies that cover Teams private channels, Viva Engage chats, and Viva Engage community messages. Eventually, you'll use these cmdlets for most retention locations and policy types. The \*-RetentionCompliance\* cmdlets will continue to support Exchange and SharePoint locations primarily. For policies created with the \*-AppRetentionCompliance\* cmdlets, you can only set the list of included or excluded scopes for all included workloads, which means you'll likely need to create one policy per workload.
53+
\*-AppRetentionCompliance\* cmdlets are used for policies with adaptive policy scopes and all static policies in the locations described in [Retention cmdlets for newer locations](https://learn.microsoft.com/purview/retention-cmdlets#retention-cmdlets-for-newer-locations). You can only set the list of included or excluded scopes for all included workloads, which means you likely need to create one policy per workload.
54+
55+
\*-RetentionCompliance\* cmdlets continue to primarily support the locations described in [Retention cmdlets for older locations](https://learn.microsoft.com/purview/retention-cmdlets#retention-cmdlets-for-older-locations).
5456

5557
To use this cmdlet in Security & Compliance PowerShell, you need to be assigned permissions. For more information, see [Permissions in the Microsoft Purview compliance portal](https://learn.microsoft.com/purview/microsoft-365-compliance-center-permissions).
5658

@@ -104,13 +106,31 @@ Accept wildcard characters: False
104106
```
105107
106108
### -Applications
107-
The Applications parameter specifies the applications to include in the policy and is relevant only for the following location parameters:
109+
The Applications parameter specifies the applications to include in the policy.
110+
111+
This parameter uses the following syntax: `"LocationType:App1,LocationType:App2,...LocationType:AppN`:
112+
113+
`LocationType` is User or Group.
114+
115+
`App` is a supported value as shown in the following examples.
116+
117+
- **Microsoft 365 apps**: For example:
118+
119+
`"User:Exchange,User:OneDriveForBusiness,Group:Exchange,Group:SharePoint"` or `"User:MicrosoftTeams","User:VivaEngage"`
120+
121+
- **Microsoft Copilot experiences**: Currently in Preview. You must use *all* of the following values at the same time:
122+
123+
`"User:M365Copilot,CopilotForSecurity,CopilotinFabricPowerBI,CopilotStudio,CopilotinBusinessApplicationplatformsSales,SQLCopilot"`
124+
125+
**Note**: Even though you must use `CopilotinBusinessApplicationplatformsSales` and `SQLCopilot`, those values are currently irrelevant.
126+
127+
- **Enterprise AI apps**: Currently in Preview. You must use *all* of the following values at the same time:
128+
129+
`"User:Entrabased3PAIApps,ChatGPTEnterprise,AzureAIServices"`
108130

109-
- ExchangeLocation
110-
- ModernGroupLocation
111-
- AdaptiveScopeLocation
131+
- **Other AI apps**: Currently in Preview. You must use *all* of the following values at the same time:
112132

113-
This parameter uses the following syntax: `"LocationtType:App1,LocationType:App2,...LocationType:AppN` where LocationType is User or Group. For example, `"User:Exchange,User:OneDriveForBusiness,Group:Exchange,Group:SharePoint"` or `"User:MicrosoftTeams","User:VivaEngage"`.
133+
`"User:CloudAIAppChatGPTConsumer,CloudAIAppGoogleGemini,BingConsumer,DeepSeek"`
114134

115135
```yaml
116136
Type: String[]

0 commit comments

Comments
 (0)