Skip to content

Commit e3a858b

Browse files
authored
Merge pull request #96462 from iainfoulds/96169-curtis-groups
[AzureAD] Sensitivity labels for groups
2 parents 0d5a12b + 292f08b commit e3a858b

File tree

5 files changed

+175
-4
lines changed

5 files changed

+175
-4
lines changed

articles/active-directory/users-groups-roles/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@
8686
href: groups-members-owners-search.md
8787
- name: Create a group (Azure portal)
8888
href: /azure/active-directory/fundamentals/active-directory-groups-create-azure-portal?context=azure/active-directory/users-groups-roles/context/ugr-context
89+
- name: Assign sensitivity labels (preview)
90+
href: groups-assign-sensitivity-labels.md
8991
- name: Manage groups PowerShell for Graph (v2)
9092
href: groups-settings-v2-cmdlets.md
9193
- name: Manage groups PowerShell MSOnline
Lines changed: 168 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,168 @@
1+
---
2+
title: Assign sensitivity labels to groups - Azure AD | Microsoft Docs
3+
description: How to create membership rules to automatically populate groups, and a rule reference.
4+
services: active-directory
5+
documentationcenter: ''
6+
author: curtand
7+
manager: daveba
8+
ms.service: active-directory
9+
ms.workload: identity
10+
ms.subservice: users-groups-roles
11+
ms.topic: article
12+
ms.date: 11/19/2019
13+
ms.author: curtand
14+
ms.reviewer: krbain
15+
ms.custom: it-pro
16+
ms.collection: M365-identity-device-management
17+
---
18+
19+
# Assign sensitivity labels to Office 365 groups in Azure Active Directory (preview)
20+
21+
Azure Active Directory (Azure AD) supports applying sensitivity labels published by the [Microsoft 365 compliance center](https://sip.protection.office.com/homepage) to Office 365 groups. Sensitivity labels apply to group across services like Outlook, Microsoft Teams, and SharePoint. This feature is currently in public preview.
22+
23+
> [!IMPORTANT]
24+
> Using Azure AD sensitivity labels for Office 365 groups requires an Azure Active Directory Premium P1 license.
25+
26+
## Group settings controlled by labels
27+
28+
There are two settings that can be associated with a label:
29+
30+
- **Privacy**: Admins can associate a privacy setting with the label to control whether a group is public or private.
31+
- **Guest access**: Admins can enforce the guest policy for all groups that have the label assigned. This policy specifies whether guests can be added as members or not. If the guest policy is configured for a label, any groups that you assign the label to won't allow the AllowToAddGuests setting to be changed.
32+
33+
## Enable sensitivity label support in PowerShell
34+
35+
To apply published labels to groups, you must first enable the feature. These steps enable the feature in Azure AD.
36+
37+
1. Open a Windows PowerShell window on your computer. You can open it without elevated privileges.
38+
1. Run the following commands to prepare to run the cmdlets.
39+
40+
```PowerShell
41+
Import-Module AzureADPreview
42+
Connect-AzureAD
43+
```
44+
45+
In the **Sign in to your account** page, enter your admin account and password to connect you to your service, and select **Sign in**.
46+
1. Fetch the current group settings for the Azure AD organization.
47+
48+
```PowerShell
49+
$Setting = Get-AzureADDirectorySetting -Id (Get-AzureADDirectorySetting | where -Property DisplayName -Value "Group.Unified" -EQ).id
50+
```
51+
52+
> [!NOTE]
53+
> If no group settings have been created for this Azure AD organization, you must first create the settings. Follow the steps in [Azure Active Directory cmdlets for configuring group settings](https://docs.microsoft.com/azure/active-directory/users-groups-roles/groups-settings-cmdlets) to create group settings for this Azure AD organization.
54+
55+
1. Next, display the current group settings.
56+
57+
```PowerShell
58+
$Setting.Values
59+
```
60+
61+
1. Then enable the feature:
62+
63+
```PowerShell
64+
$Setting["EnableMIPLabels"] = "True"
65+
```
66+
67+
1. Then save the changes and apply the settings:
68+
69+
```PowerShell
70+
Set-AzureADDirectorySetting -Id $Setting.Id -DirectorySetting $Setting
71+
```
72+
73+
That's it. You've enabled the feature and you can apply published labels to groups.
74+
75+
## Assign a label to a new group in Azure portal
76+
77+
1. Sign in to the [Azure AD admin center](https://aad.portal.azure.com).
78+
1. Select **Groups**, and then select **New group**.
79+
1. On the **New Group** page, select **Office 365**, and then fill out the required information for the new group and select a sensitivity label from the list.
80+
81+
![Assign a sensitivity label in the New groups page](./media/groups-assign-sensitivity-labels/new-group-page.png)
82+
83+
1. Save your changes and select **Create**.
84+
85+
Your group is created and the policies associated with the selected label are then automatically enforced.
86+
87+
## Assign a label to an existing group in Azure portal
88+
89+
1. Sign in to the [Azure AD admin center](https://aad.portal.azure.com) with a Global admin or Groups admin account, or as a group owner.
90+
1. Select **Groups**.
91+
1. From the **All groups** page, select the group that you want to label.
92+
1. On the selected group's page, select **Properties** and select a sensitivity label from the list.
93+
94+
![Assign a sensitivity label on the overview page for a group](./media/groups-assign-sensitivity-labels/assign-to-existing.png)
95+
96+
1. Select **Save** to save your changes.
97+
98+
## Remove a label to an existing group in Azure portal
99+
100+
1. Sign in to the [Azure AD admin center](https://aad.portal.azure.com) with a Global admin or Groups admin account, or as a group owner.
101+
1. Select **Groups**.
102+
1. From the **All groups** page, select the group that you want to label.
103+
1. On the **Group** page, select **Properties**.
104+
1. Select **Remove**.
105+
1. Select **Save** to apply your changes.
106+
107+
## Office 365 app support for sensitivity labels
108+
109+
The following Office 365 apps and services support the sensitivity labels in this preview:
110+
111+
- Azure AD admin center
112+
- Microsoft 365 compliance center
113+
- SharePoint
114+
- Outlook on the web
115+
- Teams
116+
- SharePoint admin center
117+
118+
For more information about Office 365 apps support, see [Office 365 support for sensitivity labels](https://docs.microsoft.com/microsoft-365/compliance/sensitivity-labels-teams-groups-sites#support-for-the-new-sensitivity-labels).
119+
120+
## Using classic Azure AD classifications
121+
122+
After you enable this feature, Office 365 no longer supports the “classic” classifications for new groups. Classic classifications are the old classifications you set up by defining values for the `ClassificationList` setting in Azure AD PowerShell. When this feature is enabled, those classifications will not be applied to groups.
123+
124+
## Troubleshooting issues
125+
126+
### Sensitivity labels are not available for assignment on a group
127+
128+
The sensitivity label option is only displayed for groups when all the following conditions are met:
129+
130+
1. Labels are published in the Microsoft 365 Compliance Center for this tenant.
131+
1. The feature is enabled, EnableMIPLabels is set to True in PowerShell.
132+
1. The group is an Office 365 group.
133+
1. The tenant has an active Azure Active Directory Premium P1 license.
134+
1. The current signed-in user has access to published labels.
135+
1. The current signed-in user has sufficient privileges to assign labels. The user must be either a Global Administrator, Group Administrator, or the group owner.
136+
1. The current signed-in user has an Office 365 license assigned. For more information about license requirements, see [Sensitivity labels in Office apps](https://docs.microsoft.com/microsoft-365/compliance/sensitivity-labels-office-apps).
137+
138+
Please make sure all the conditions are met in order to assign labels to a group.
139+
140+
### The label I want to assign is not in the list
141+
142+
If the label you are looking for is not in the list, this could be the case for one of the following reasons:
143+
144+
- The label might not be published in the Microsoft 365 Compliance Center. This could also apply to labels that are no longer published. Please check with your administrator for more information.
145+
- The label may be published, however, it is not available to the user that is signed-in. Please check with your administrator for more information on how to get access to the label.
146+
147+
### How can I change the label on a group?
148+
149+
Labels can be swapped at any time using the same steps as assigning a label to an existing group, as follows:
150+
151+
1. Sign in to the [Azure AD admin center](https://aad.portal.azure.com) with a Global or Group administrator account or as group owner.
152+
1. Select **Groups**.
153+
1. From the **All groups** page, select the group that you want to label.
154+
1. On the selected group's page, select **Properties** and select a new sensitivity label from the list.
155+
1. Select **Save**.
156+
157+
### Group setting changes to published labels are not updated on the groups
158+
159+
As a best practice, we don't recommend that you change group settings for a label after the label is applied to groups. When you make changes to group settings associated with published labels in [Microsoft 365 compliance center](https://sip.protection.office.com/homepage), those policy changes aren't automatically applied on the impacted groups.
160+
161+
If you must make a change, use an [Azure AD PowerShell script](https://github.com/microsoftgraph/powershell-aad-samples/blob/master/ReassignSensitivityLabelToO365Groups.ps1) to manually apply updates to the impacted groups. This method makes sure that all existing groups enforce the new setting.
162+
163+
## Next steps
164+
165+
- [Use sensitivity labels with Microsoft Teams, Office 365 groups, and SharePoint sites](https://docs.microsoft.com/microsoft-365/compliance/sensitivity-labels-teams-groups-sites)
166+
- [Update groups after label policy change manually with Azure AD PowerShell script](https://github.com/microsoftgraph/powershell-aad-samples/blob/master/ReassignSensitivityLabelToO365Groups.ps1)
167+
- [Edit your group settings](https://docs.microsoft.com/azure/active-directory/fundamentals/active-directory-groups-settings-azure-portal)
168+
- [Manage groups using PowerShell commands](https://docs.microsoft.com/azure/active-directory/users-groups-roles/groups-settings-v2-cmdlets)

articles/active-directory/users-groups-roles/groups-settings-cmdlets.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,16 +110,17 @@ Here are the settings defined in the Group.Unified SettingsTemplate. Unless othe
110110
| <ul><li>EnableGroupCreation<li>Type: Boolean<li>Default: True |The flag indicating whether Office 365 group creation is allowed in the directory by non-admin users. This setting does not require an Azure Active Directory Premium P1 license.|
111111
| <ul><li>GroupCreationAllowedGroupId<li>Type: String<li>Default: “” |GUID of the security group for which the members are allowed to create Office 365 groups even when EnableGroupCreation == false. |
112112
| <ul><li>UsageGuidelinesUrl<li>Type: String<li>Default: “” |A link to the Group Usage Guidelines. |
113-
| <ul><li>ClassificationDescriptions<li>Type: String<li>Default: “” | A comma-delimited list of classification descriptions. The value of ClassificationDescriptions is only valid in this format:<br>$setting[“ClassificationDescriptions”] ="Classification:Description,Classification:Description"<br>where Classification matches the strings in the ClassificationList.|
114-
| <ul><li>DefaultClassification<li>Type: String<li>Default: “” | The classification that is to be used as the default classification for a group if none was specified.|
113+
| <ul><li>ClassificationDescriptions<li>Type: String<li>Default: “” | A comma-delimited list of classification descriptions. The value of ClassificationDescriptions is only valid in this format:<br>$setting[“ClassificationDescriptions”] ="Classification:Description,Classification:Description"<br>where Classification matches the strings in the ClassificationList.<br>This setting does not apply when EnableMIPLabels == True.|
114+
| <ul><li>DefaultClassification<li>Type: String<li>Default: “” | The classification that is to be used as the default classification for a group if none was specified.<br>This setting does not apply when EnableMIPLabels == True.|
115115
| <ul><li>PrefixSuffixNamingRequirement<li>Type: String<li>Default: “” | String of a maximum length of 64 characters that defines the naming convention configured for Office 365 groups. For more information, see [Enforce a naming policy for Office 365 groups](groups-naming-policy.md). |
116116
| <ul><li>CustomBlockedWordsList<li>Type: String<li>Default: “” | Comma-separated string of phrases that users will not be permitted to use in group names or aliases. For more information, see [Enforce a naming policy for Office 365 groups](groups-naming-policy.md). |
117117
| <ul><li>EnableMSStandardBlockedWords<li>Type: Boolean<li>Default: “False” | Do not use
118118
| <ul><li>AllowGuestsToBeGroupOwner<li>Type: Boolean<li>Default: False | Boolean indicating whether or not a guest user can be an owner of groups. |
119119
| <ul><li>AllowGuestsToAccessGroups<li>Type: Boolean<li>Default: True | Boolean indicating whether or not a guest user can have access to Office 365 groups content. This setting does not require an Azure Active Directory Premium P1 license.|
120120
| <ul><li>GuestUsageGuidelinesUrl<li>Type: String<li>Default: “” | The url of a link to the guest usage guidelines. |
121-
| <ul><li>AllowAddGuests<li>Type: Boolean<li>Default: True | A boolean indicating whether or not is allowed to add guests to this directory.|
122-
| <ul><li>ClassificationList<li>Type: String<li>Default: “” |A comma-delimited list of valid classification values that can be applied to Office 365 Groups. |
121+
| <ul><li>AllowToAddGuests<li>Type: Boolean<li>Default: True | A boolean indicating whether or not is allowed to add guests to this directory. <br>This setting may be overridden and become read-only if *EnableMIPLabels* is set to *True* and a guest policy is associated with the sensitivity label assigned to the group. |
122+
| <ul><li>ClassificationList<li>Type: String<li>Default: “” |A comma-delimited list of valid classification values that can be applied to Office 365 Groups. <br>This setting does not apply when EnableMIPLabels == True.|
123+
| <ul><li>EnableMIPLabels<li>Type: Boolean<li>Default: “False” |The flag indicating whether sensitivity labels published in Microsoft 365 Compliance Center can be applied to Office 365 Groups. For more information, see [Assign Sensitivity Labels for Office 365 groups](groups-assign-sensitivity-labels.md). |
123124

124125
## Example: Configure Guest policy for groups at the directory level
125126
1. Get all the setting templates:
93 KB
Loading
76.5 KB
Loading

0 commit comments

Comments
 (0)