MS-500 sensitivity labels
-
Hello all,
On my test O365 tenant I'm trying to enable sensitivity labels for Teams, Microsoft 365 Groups, and Sharepoint sites. I have followed the steps from this article https://docs.microsoft.com/en-us/azure/active-directory/enterprise-users/groups-assign-sensitivity-labels
But I am getting stuck at step 7. with the error below. Does anyone have any idea what I am doing wrong? Or what have you done to enable it for your tenant?
Set-AzureADDirectorySetting : Cannot bind argument to parameter 'Id' because it is null at line:1 char:33
- Set-AzureADDirectorySetting -Id $grpUnifiedSetting.Id -DirectorySetti ... + ~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidData: (:) [Set-AzureADDirectorySetting], ParameterBindingValidationException + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.Open.MSGraphBeta.PowerShell.Set DirectorySetting
-
All good. I had to run these commands first https://docs.microsoft.com/en-us/azure/active-directory/enterprise-users/groups-settings-cmdlets#create-settings-at-the-directory-level. Then I was able to continue to step 7 without issues.