Set Default Sensitivity label on library
How to set an existing Microsoft Purview sensitivity label as the default label on a SharePoint Online library using a Power Automate flow.
URI
Headers
Body
Screenshot with example
Sample data
ListName – HR Policies
DefaultSensitivityLabelForLibrary – 67ace81e-bd8a-49fa-95f7-2959a84d4a6c
Copy/paste example
Resources
Add a sensitivity label to SharePoint document library
Configure a default sensitivity label for a SharePoint document library
That’s it, Happy testing!
Hi Dennis,
I was trying the method. However I am getting Bad Gateway error in HTTP request.
Can you please share insights over the same if you have any.
Hi Rituparna,
This comment section is a bit limited to troubleshoot. My suggestion would be to create a thread on the Power Users forum:
https://powerusers.microsoft.com/t5/Microsoft-Power-Automate/ct-p/MPACommunity
This way I or somebody else can help out. Over there it is easy to attach screenshots or place code snippets. That is probably the quickest way to solve your issue.
Also make sure you place the link to that thread over here in a new comment, to make me aware of your issue.
Hi Dennis,
Is it possible to remove and add a sensitivity label on a file in a custom library within a Microsoft 365-connected SharePoint site? Additionally, can you convert a Word document to a PDF using standard or premium connectors when the Word document already has a sensitivity label assigned to it?
Thank you!