|
| 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 | +  |
| 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 | +  |
| 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) |
0 commit comments