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
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
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.