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 / Help for flow with SPO...
Power Automate
Unanswered

Help for flow with SPO site sensitivity label

(0) ShareShare
ReportReport
Posted on by 22

Hello All,

Could someone please help in creating a flow as per below requirement:

 

We have site that has a sensitivity label assigned to it. So, the document created there has the same sensitivity level.

However, if someone tries to upload a document without any sensitivity label, the document should either go to his personal library, or give him an error or send an alert to admin

 

Any ideas would be helpful

 

@sharepoint  @OFFICE365 @securit

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @thetechguru 

     

    When does the sensitivity label assign to it. This is after the upload or before as  a meta data in a list?

     

    Could you post a screenshot of this?

     

    Thanks

  • thetechguru Profile Picture
    22 on at

    @abmthank you for your response.

     

    I am talking about the document which are not labelled and are uploaded to site that already has a label assigned..

     

     

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @thetechguru 

     

    Sorry still its not clear to me. Could you please share some screenshots?

  • thetechguru Profile Picture
    22 on at

    no problem,

     

    let me put this as:

     

    if we have a SPO site that has been labeled with a sensitivity label: "Confidential" and the end user has a document that is labeled as: Normal.

     

    If that user is trying to upload the "Normal" labeled document to the "Confidential" labeled SPO site, we want to send a notification to the end user and to the admin that there has been a Label mismatch hence restricting the upload of the document

     

     

    @abm @v-bacao-msft 

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @thetechguru 

     

    Thanks for your reply. Could you please post a screen shot of your SharePoint list library or document library? 

     

    Thanks

  • thetechguru Profile Picture
    22 on at

    FLOW.jpgattached @abm 

     

  • thetechguru Profile Picture
    22 on at

    so @abm  as you see users have added the normal labled document in confidential SPO site library, I am looking for a way to use Power Automate to set up an alert mechanism if that happens.

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @thetechguru 

     

    Thanks for your reply. Really helpful. 

     

    Did you tried using the below action?

     

    image.png

     

    Next you could add an IF condition to check it's normal or confidential? You could then send an alert email or move to another document library. To find the personal document library you may need to look the createdby value from the file created properties.

    Sharepoint Power Automate steps allows dynamic URL mappings (if you looking to move the file to construct personal document folders)

     

    Thanks

  • thetechguru Profile Picture
    22 on at

    thanks @abm  I haven't tried that though. but as I understand, for every separate site, we will have to create a separate flow?

     

  • thetechguru Profile Picture
    22 on at

    @abm 

    check this https://aka.ms/MIPC/Webinars/SPOLabelPerSite

     

    watch it from 35:00 - 37: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