So I am trying to configure Sensitivity labels according to the documentation here - https://learn.microsoft.com/en-us/azure/active-directory/enterprise-users/groups-assign-sensitivity-labels
I currently am using a M365 GCC High tenant and according the the roadmap sensitivity labels are rolled out.
Following the directions it asked me to connect to Azure-AD and run this command - $Setting = Get-AzureADDirectorySetting -Id (Get-AzureADDirectorySetting | where -Property DisplayName -Value "Group.Unified" -EQ).id
I log in find but when I try and run the command I get the following error -
Get-AzureADDirectorySetting : Error occurred while executing GetDirectorySettings
Code: InvalidAuthenticationToken
Message: Access token validation failure. Invalid audience.
InnerError:
RequestId: 88c2acdd........
DateTimeStamp: Fri, 04 Jun 2021 18:07:50 GMT
HttpStatusCode: Unauthorized
HttpStatusDescription: Unauthorized
HttpResponseStatus: Completed
........