Is https://graph.microsoft.com/beta/security/informationProtection/sensitivityLabels beta Graph API use to create sensitivity labels or just to update existing one.

sunil jakhar 20 Reputation points
2024-06-21T10:18:16.9066667+00:00

I am trying to use the https://graph.microsoft.com/beta/security/informationProtection/sensitivityLabels beta Graph API to create sensitivity labels, but it seems it only updates existing labels. Please help me understand how to create sensitivity labels and policies using the Graph API, including any beta APIs.

Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

Accepted answer
  1. Vasil Michev 119.5K Reputation points MVP Volunteer Moderator
    2024-06-21T16:43:30.37+00:00

    You cannot currently create sensitivity labels via the Graph API. If you need to do this programmatically, your only option are the cmdlets from the SCC PowerShell module: https://learn.microsoft.com/en-us/powershell/exchange/connect-to-scc-powershell?view=exchange-ps


0 additional answers

Sort by: Most helpful

Your answer

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