[SPO] Enable default sensitivity labels in SharePoint online

So, here goes:

Create and publish your label, then wait around 24h to have everything propagated.

If you get any error with the following cmdlet: $grpUnifiedSetting = (Get-AzureADDirectorySetting | where -Property DisplayName -Value “Group.Unified” -EQ) follow the steps in this article: Configure group settings using PowerShell – Microsoft Entra ID | Microsoft Learn

Hint:

Connect-MgGraph -TenantId 0f2434f0-d209-4e5f-9536-2bfb2dd9c2b7 -Scopes Directory.ReadWrite.All

You can get the tenantID from Entra

 

Enjoy!