Share via

Cannot set sensitivity label with PowerShell

Tanmoy Das 806 Reputation points
2021-05-03T11:56:58.407+00:00

Hi,

I am trying to set the sensitivity label using PowerShell

PS C:\WINDOWS\system32> Set-unifiedgroup -Identity "Team 656" -SensitivityLabelId $label.Guid
Error:
We failed to update the unified group. Please try again later.
+ CategoryInfo : NotSpecified: (:) [Set-UnifiedGroup], TaskException

Any idea what I am doing wrong

Microsoft Teams | Microsoft Teams for business | Other
0 comments No comments

1 answer

Sort by: Most helpful
  1. JimmyYang-MSFT 58,781 Reputation points Moderator
    2021-05-04T07:56:01.307+00:00

    anonymous user

    Did you create multiple labels in Microsoft 365 compliance?

    To apply published labels to groups, you must first enable the feature. These steps enable the feature in Azure AD. You could check if you have enabled it.

    Then you can follow these tips to convert classifications for Microsoft 365 groups to sensitivity labels.


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.