web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Power Automate to Upda...
Power Automate
Unanswered

Power Automate to Update Sensitivity Labels

(1) ShareShare
ReportReport
Posted on by 9

Trying to expand on this idea - https://www.linkedin.com/pulse/programatic-way-apply-sensitivity-label-file-sanjoyan-mustafi
Instead of reacting when user posts a file, I want to label files not already labeled.

I'm obtain all files in the SharePoint Site and loop through each file and perform the "send an http request to sharepoint" for each file to get the drive ID guid and file etag guid for the update method.

First question - Do I have to use GUIDs for this update?  (thought I'd post before trying)

This is the post method - "https://<foo_domain>.sharepoint.com/_api/v2.1/drives/<driveID>/items/<docID>/setsensitivityLabel"

The article shows using GUIDS instead of numeric IDs that I could probably obtain via get file properties.

Categories:
I have the same question (14)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard