Allow Sensitivity Labels to be assigned to Groups using application-only permissions

Allow Sensitivity Labels to be assigned to Groups using application-only permissions
15

Upvotes

Upvote

 Aug 25 2022
1 Comments (1 New)
New

We want to generate Microsoft 365 Groups using an Azure Function. We want to assign a Sensitivity Label to the new group. However, Microsoft Graph does not support updating the "assignedLabels" property with application-only permissions.

 

Please add support for this scenario, or another way of automating the assignment of sensitivity labels to groups.

Comments
Copper Contributor

While using Beta Graph API for Sensitivity Label - (https://graph.microsoft.com/beta/drives/myDriveID/items/myItemID/microsoft.graph.assignSensitivityLabel),  I get the below error. I am using Delegated App Permission.

{
"error": {
"code": "notSupported",
"message": "AssignSensitivityLabel API is not yet available",
"innerError": {
"date": "2022-09-29T16:30:30",
"request-id": "edd756cc-12f2-4781-ba07-004d601f42a0",
"client-request-id": "edd756cc-12f2-4781-ba07-004d601f42a0"
}

 

(https://graph.microsoft.com/beta/drives/DriveID/items/ItemID/microsoft.graph.extractSensitivityLabel) - This works very well using the same token and other permission levels. 

 

Please help.