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

Notifications

Announcements

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 (10)

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard