How to enable Microsoft Sensitivity Label for SharePoint and OneDrive

This title was summarized by AI from the post below.

How to enable Microsoft Sensitivity Label for SharePoint and OneDrive # When to expect new labels and changes to take effect # =================================== # For labels and label policy settings, allow 24 hours for the changes to propagate through the services. Install-Module AzureADPreview Import-Module AzureADPreview AzureADPreview\Connect-AzureAD $grpUnifiedSetting = (Get-AzureADDirectorySetting | where -Property DisplayName -Value “Group.Unified” -EQ) $Setting = $grpUnifiedSetting $grpUnifiedSetting.Values $TemplateId = (Get-AzureADDirectorySettingTemplate | where { $_.DisplayName -eq “Group.Unified” }).Id $Template = Get-AzureADDirectorySettingTemplate | where -Property Id -Value $TemplateId -EQ $Setting = $Template.CreateDirectorySetting() $Setting[“EnableMIPLabels”] = “True” New-AzureADDirectorySetting -DirectorySetting $Setting Set-AzureADDirectorySetting -Id $grpUnifiedSetting.Id -DirectorySetting $Setting $Setting.Values Install-Module ExchangeOnlineManagement Import-Module ExchangeOnlineManagement Connect-IPPSSession Execute-AzureAdLabelSync Import-Module Microsoft.Online.Sharepoint.Powershell Connect-SPOService Set-SPOTenant -EnableAIPIntegration $true

To view or add a comment, sign in

Explore content categories