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 Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,177 questions
0 comments No comments
{count} votes

Accepted answer
  1. Vasil Michev 98,851 Reputation points MVP
    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