Skip to content

Commit c5ec543

Browse files
authored
Merge branch 'main' into patch-6
2 parents 859009e + 3542c99 commit c5ec543

24 files changed

+714
-32
lines changed

exchange/docs-conceptual/find-exchange-cmdlet-permissions.md

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Find the permissions required to run any Exchange cmdlet"
33
ms.author: chrisda
44
author: chrisda
55
manager: deniseb
6-
ms.date: 9/7/2023
6+
ms.date: 06/06/2024
77
ms.audience: ITPro
88
audience: ITPro
99
ms.topic: article
@@ -26,16 +26,23 @@ You can use PowerShell to find the permissions required to run any Exchange or E
2626

2727
- You can only use PowerShell to perform these procedures.
2828

29-
- Basically, you need to be an administrator to complete this procedure. Specifically, you need access to the **Get-ManagementRole** and **Get-ManagementRoleAssignment** cmdlets. By default, access to these cmdlets is granted by the **View-Only Configuration** or **Role Management** roles in Exchange Online, which are assigned only to the **View-Only Organization Management** and **Organization Management** role groups by default.
30-
31-
In cloud-based organizations, membership in the **Global Administrators** role in Microsoft Entra ID gives you the required permissions.
32-
3329
- The procedures in this article don't work in Security & Compliance PowerShell. For more information about Security & Compliance permissions, see the following articles:
3430
- [Permissions in the Microsoft Defender portal](/defender-office-365/mdo-portal-permissions)
3531
- [Permissions in the Microsoft Purview compliance portal](/purview/purview-compliance-portal-permissions)
3632

37-
> [!TIP]
38-
> Having problems? Ask for help in the Exchange forums. Visit the forums at: [Exchange Server](https://go.microsoft.com/fwlink/p/?linkId=60612) or [Exchange Online](https://go.microsoft.com/fwlink/p/?linkId=267542).
33+
- You need to be assigned permissions before you can do the procedures in this article. You have the following options:
34+
- [Exchange Server permissions](/exchange/permissions/permissions): Membership in one of the following role groups:
35+
- **Compliance Management**
36+
- **Hygiene Management**
37+
- **Organization Management**
38+
- **View-Only Organization Management**
39+
- [Exchange Online permissions](/exchange/permissions-exo/permissions-exo): Membership in one of the following role groups:
40+
- **Compliance Management**
41+
- **Delegated Setup**
42+
- **Hygiene Management**
43+
- **Organization Management**
44+
- **View-Only Organization Management**
45+
- [Microsoft Entra permissions](/entra/identity/role-based-access-control/manage-roles-portal): Membership in the **Global Administrator** or **Global Reader** roles gives users the required permissions _and_ permissions for other features in Microsoft 365.
3946

4047
## Use PowerShell to find the permissions required to run a cmdlet
4148

@@ -50,8 +57,8 @@ You can use PowerShell to find the permissions required to run any Exchange or E
5057
$Perms = Get-ManagementRole -Cmdlet <Cmdlet> [-CmdletParameters <Parameter1>,<Parameter2>,...]
5158
```
5259

53-
> [!TIP]
54-
> If you specify multiple parameters, only roles that include _all_ of the specified parameters on the cmdlet are returned.
60+
> [!TIP]
61+
> If you specify multiple parameters, only roles that include _all_ of the specified parameters on the cmdlet are returned.
5562
5663
3. Run the following command:
5764

exchange/exchange-ps/exchange/Add-VivaModuleFeaturePolicy.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ This example adds a policy for the Reflection feature in Viva Insights. The poli
8181

8282
### Example 2
8383
```powershell
84-
Add-VivaModuleFeaturePolicy -ModuleId VivaInsights -FeatureId Reflection -Name MultipleGroups -IsFeatureEnabled $false -GroupIds [email protected],[email protected]
84+
Add-VivaModuleFeaturePolicy -ModuleId VivaInsights -FeatureId Reflection -Name MultipleGroups -IsFeatureEnabled $false -GroupIds [email protected],[email protected],57680382-61a5-4378-85ad-f72095d4e9c3
8585
```
8686

8787
This example adds a policy for the Reflection feature in Viva Insights. The policy disables the feature for all users in the specified groups.
@@ -95,7 +95,7 @@ This example adds a policy for the Reflection feature in Viva Insights. The poli
9595

9696
### Example 4
9797
```powershell
98-
Add-VivaModuleFeaturePolicy -ModuleId VivaInsights -FeatureId Reflection -Name UsersAndGroups -IsFeatureEnabled $false -GroupIds [email protected],[email protected] -UserIds [email protected],[email protected]
98+
Add-VivaModuleFeaturePolicy -ModuleId VivaInsights -FeatureId Reflection -Name UsersAndGroups -IsFeatureEnabled $false -GroupIds [email protected],[email protected],57680382-61a5-4378-85ad-f72095d4e9c3 -UserIds [email protected],[email protected]
9999
```
100100

101101
This example adds a policy for the Reflection feature in Viva Insights. The policy disables the feature for the specified users and group members.
@@ -109,7 +109,7 @@ This example adds a policy for the `<cateogry_id>` category in Viva. The policy
109109

110110
### Example 6
111111
```powershell
112-
Add-VivaModuleFeaturePolicy -CategoryId <category_id> -Name MultipleGroups -IsCategoryEnabled $false -GroupIds [email protected],[email protected]
112+
Add-VivaModuleFeaturePolicy -CategoryId <category_id> -Name MultipleGroups -IsCategoryEnabled $false -GroupIds [email protected],[email protected],57680382-61a5-4378-85ad-f72095d4e9c3
113113
```
114114

115115
This example adds a policy for the `<cateogry_id>` category in Viva. The policy disables the category (effectively all features under the category) for all users in the specified groups.
@@ -123,7 +123,7 @@ This example adds a policy for the `<cateogry_id>` category in Viva. The policy
123123

124124
### Example 8
125125
```powershell
126-
Add-VivaModuleFeaturePolicy -CategoryId <category_id> -Name UsersAndGroups -IsCategoryEnabled $false -GroupIds [email protected],[email protected] -UserIds [email protected],[email protected]
126+
Add-VivaModuleFeaturePolicy -CategoryId <category_id> -Name UsersAndGroups -IsCategoryEnabled $false -GroupIds [email protected],[email protected],57680382-61a5-4378-85ad-f72095d4e9c3 -UserIds [email protected],[email protected]
127127
```
128128

129129
This example adds a policy for the `<cateogry_id>` category in Viva. The policy disables the category (effectively all features under the category) for the specified users and group members.
@@ -291,7 +291,7 @@ Accept wildcard characters: False
291291
```
292292

293293
### -GroupIds
294-
The GroupIds parameter specifies the SMTP addresses (email addresses) of the groups that the policy applies to. [Mail-enabled Microsoft Entra groups]( https://learn.microsoft.com/graph/api/resources/groups-overview#group-types-in-azure-ad-and-microsoft-graph) are supported. You can enter multiple values separated by commas.
294+
The GroupIds parameter specifies the email addresses or security group object IDs (GUIDs) of groups that the updated policy applies to. Both [Mail-enabled and non-mail-enabled Microsoft Entra groups](https://docs.microsoft.com/graph/api/resources/groups-overview#group-types-in-azure-ad-and-microsoft-graph) are supported. You can enter multiple values separated by commas.
295295

296296
You can specify a maximum of 20 total users or groups (20 users and no groups, 10 users and 10 groups, etc.).
297297

exchange/exchange-ps/exchange/Get-MyAnalyticsFeatureConfig.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ Get-MyAnalyticsFeatureConfig -Identity <String>
2929
```
3030

3131
## DESCRIPTION
32-
This cmdlet requires the .NET Framework 4.7.2 or later. To run this cmdlet, you need to be a member of one of the following directory role groups in the destination organization:
32+
This cmdlet requires the .NET Framework 4.7.2 or later.
33+
34+
To run this cmdlet, you need to be a member of one of the following directory role groups in the destination organization:
3335

3436
- Global Administrator
3537
- Exchange Administrator

exchange/exchange-ps/exchange/Get-UserBriefingConfig.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ Get-UserBriefingConfig -Identity <String>
2626
```
2727

2828
## DESCRIPTION
29-
This cmdlet requires the .NET Framework 4.7.2 or later. To run this cmdlet, you need to be a member of one of the following directory role groups in the destination organization:
29+
This cmdlet requires the .NET Framework 4.7.2 or later.
30+
31+
To run this cmdlet, you need to be a member of one of the following directory role groups in the destination organization:
3032

3133
- Global Administrator
3234
- Exchange Administrator

exchange/exchange-ps/exchange/Get-VivaInsightsSettings.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ Get-VivaInsightsSettings -Identity <String>
3030
```
3131

3232
## DESCRIPTION
33-
This cmdlet requires the .NET Framework 4.7.2 or later. To run this cmdlet, you need to be a member of one of the following directory role groups in the destination organization:
33+
This cmdlet requires the .NET Framework 4.7.2 or later.
34+
35+
To run this cmdlet, you need to be a member of one of the following directory role groups in the destination organization:
3436

3537
- Global Administrator
3638
- Exchange Administrator

exchange/exchange-ps/exchange/Get-VivaModuleFeatureEnablement.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ You need to use the Connect-ExchangeOnline cmdlet to authenticate.
3434

3535
This cmdlet requires the .NET Framework 4.7.2 or later.
3636

37-
Currently, you need to be a member of the Global administrators role to run this cmdlet.
37+
Currently, you need to be a member of the Global Administrators role to run this cmdlet.
3838

3939
To learn more about administrator role permissions in Microsoft Entra ID, see [Role template IDs](https://learn.microsoft.com/entra/identity/role-based-access-control/permissions-reference#role-template-ids).
4040

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ You need to use the Connect-ExchangeOnline cmdlet to authenticate.
5050

5151
This cmdlet requires the .NET Framework 4.7.2 or later.
5252

53-
Currently, you need to be a member of the Global administrators role or the roles that have been assigned at the feature level to run this cmdlet.
53+
Currently, you need to be a member of the Global Administrators role or the roles that have been assigned at the feature level to run this cmdlet.
5454

5555
To learn more about assigned roles at the feature level, see [Features Available for Feature Access Management](https://learn.microsoft.com/viva/feature-access-management#features-available-for-feature-access-management).
5656

exchange/exchange-ps/exchange/New-Label.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,8 @@ Some of the settings that you configure with this parameter are supported only b
171171
172172
Supported settings for built-in labeling:
173173
174+
- **BlockContentAnalysisServices**: Specifies a privacy setting to allow or prevent content in Word, Excel, PowerPoint, and Outlook from being sent to Microsoft for content analysis. Available values are True, and False (the default). This setting impacts services such as data loss prevention policy tips, automatic and recommended labeling, and Microsoft Copilot for Microsoft 365. Example: `New-Label -Identity Confidential -AdvancedSettings @{BlockContentAnalysisServices="True"}`. For more information, see [Prevent some connected experiences that analyze content](https://learn.microsoft.com/purview/sensitivity-labels-office-apps#prevent-some-connected-experiences-that-analyze-content).
175+
174176
- **Color**: Specifies a label color as a hex triplet code for the red, green, and blue (RGB) components of the color. Example: `New-Label -DisplayName "General" -Name "General" -Tooltip "Business data that is not intended for public consumption." -AdvancedSettings @{color="#40e0d0"}`. For more information, see [Configuring custom colors by using PowerShell](https://learn.microsoft.com/purview/sensitivity-labels-office-apps#configuring-custom-colors-by-using-powershell).
175177

176178
- **DefaultSharingScope**: Specifies the default sharing link type for a site when the label scope includes **Groups & sites**, and the default sharing link type for a document when the label scope includes **Files & emails**. Available values are SpecificPeople, Organization, and Anyone. Example: `New-Label DisplayName "General" -Name "General" -Tooltip "Business data that is not intended for public consumption." -AdvancedSettings @{DefaultSharingScope="SpecificPeople"}`. For more information, see [Use sensitivity labels to configure the default sharing link type for sites and documents in SharePoint and OneDrive](https://learn.microsoft.com/purview/sensitivity-labels-default-sharing-link).

exchange/exchange-ps/exchange/Remove-VivaModuleFeaturePolicy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ You need to use the Connect-ExchangeOnline cmdlet to authenticate.
5050

5151
This cmdlet requires the .NET Framework 4.7.2 or later.
5252

53-
Currently, you need to be a member of the Global administrators role or the roles that have been assigned at the feature level to run this cmdlet.
53+
Currently, you need to be a member of the Global Administrators role or the roles that have been assigned at the feature level to run this cmdlet.
5454

5555
To learn more about assigned roles at the feature level, see [Features Available for Feature Access Management](https://learn.microsoft.com/viva/feature-access-management#features-available-for-feature-access-management).
5656

exchange/exchange-ps/exchange/Set-Label.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,8 @@ Some of the settings that you configure with this parameter are supported only b
151151
152152
Supported settings for built-in labeling:
153153
154+
- **BlockContentAnalysisServices**: Specifies a privacy setting to allow or prevent content in Word, Excel, PowerPoint, and Outlook from being sent to Microsoft for content analysis. Available values are True, and False (the default). This setting impacts services such as data loss prevention policy tips, automatic and recommended labeling, and Microsoft Copilot for Microsoft 365. Example: `Set-Label -Identity Confidential -AdvancedSettings @{BlockContentAnalysisServices="True"}`. For more information, see [Prevent some connected experiences that analyze content](https://learn.microsoft.com/purview/sensitivity-labels-office-apps#prevent-some-connected-experiences-that-analyze-content).
155+
154156
- **Color**: Specifies a label color as a hex triplet code for the red, green, and blue (RGB) components of the color. Example: `Set-Label -Identity 8faca7b8-8d20-48a3-8ea2-0f96310a848e -AdvancedSettings @{color="#40e0d0"}`. For more information, see [Configuring custom colors by using PowerShell](https://learn.microsoft.com/purview/sensitivity-labels-office-apps#configuring-custom-colors-by-using-powershell).
155157

156158
- **DefaultSharingScope**: Specifies the default sharing link type for a site when the label scope includes **Groups & sites**, and the default sharing link type for a document when the label scope includes **Files & emails**. Available values are SpecificPeople, Organization, and Anyone. Example: `Set-Label -Identity General -AdvancedSettings @{DefaultSharingScope="SpecificPeople"}`. For more information, see [Use sensitivity labels to configure the default sharing link type for sites and documents in SharePoint and OneDrive](https://learn.microsoft.com/purview/sensitivity-labels-default-sharing-link).

0 commit comments

Comments
 (0)