Microsoft Entra Suite Tech Accelerator
Aug 14 2024, 07:00 AM - 09:30 AM (PDT)
Microsoft Tech Community

Edit sensitivity labels in bulk

Brass Contributor

I have a user with dozens of files that are tagged with sensitivity label 'Private \ Internal' but now wishes to share them to an external user. Obviously with this label external users are blocked from viewing the files, is there any way to bulk change these files to another sensitivity label we have called 'Private \ External' which would enable the external viewers to view them? essentially I'm asking if there is a bulk method to change files sensitivity labels from their original ones to a new one?

1 Reply

@Kevin Egan 

 

You may want to explore the Microsoft Graph API as it offers certain functionality to programmatically apply sensitivity labels to SharePoint and OneDrive files, as a metered API, some charges might incur.

 

https://learn.microsoft.com/en-us/graph/metered-api-overview

https://learn.microsoft.com/en-us/graph/api/driveitem-assignsensitivitylabel?view=graph-rest-1.0&tab...

 

I hope this helps.