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 / Getting "Unauthorized"...
Power Automate
Answered

Getting "Unauthorized" message on flow's trigger

(0) ShareShare
ReportReport
Posted on by 86

Hi folks,

Suddently one of my flows have been getting the error message "Unauthorised" on deleting items trigger from SharePoint list.

1.PNG

 I have tried the following without success.

  1. Copy the flow with the save as button, deleting the original one and activate the new one. (failed same issue)
  2. Turn of the flow with the issue. Then recreate that flow from zero. (failed same issue)
  3. Turn of the flow with the issue. Then recreate that flow from zero. Delete the original one. (failed same issue)

Could anyone please help me with this?

Regards,

 

Categories:
  • Verified answer
    Pstork1 Profile Picture
    69,661 Most Valuable Professional on at

    Are you a global admin in your tenant or a site collection admin for the site?  There was some discussion with the Product team earlier this summer that the Deleted Item trigger in Flow had some security vulnerabilities.  To fix those MS removed some of the metadata returned by the trigger. At the time they discussed adding that metadata back, but restricting the use of the trigger to admins only.  I suspect they've now made that change and that's why you are getting the unauthorized error message.  I just tried it and the trigger still works for me as a global admin.

  • ricardosanchezm Profile Picture
    86 on at

    Hi @Pstork1 ,

    Thanks  for the quick reponse. I'm a collection site Admin. The site we have been working with this flow is stopped by the moment bacause of this change. I have made a test according to your comments and the delete trigger works fine with other SharePoint Lists of other sites (than have been created a week ago). This is ocurring only  with this particular site and this particular trigger that have been in production 4 months ago. 

    Any ideas of how to solve this?

    Regards,

     

     

  • Pstork1 Profile Picture
    69,661 Most Valuable Professional on at

    If its only happening for that site and rebuilding the Flow still gives you "Unauthorized" then I think your only choice is to open a support ticket.  Sorry I couldn't be more help.

  • ricardosanchezm Profile Picture
    86 on at

    Hi@Pstork1 ,

    Don't worry I appreciate your help. Do you know the link where I can open this support ticket?

    Regards,

  • Pstork1 Profile Picture
    69,661 Most Valuable Professional on at

    Here's the support site

    https://us.flow.microsoft.com/en-us/support/

    Scroll down to find the Contact Support graphic.  Click on that and follow the instructions.

  • ricardosanchezm Profile Picture
    86 on at

    Hi @Pstork1 ,

    There was no need to open a support ticket. According to your comments about MS did to solve the vulnerabilities I checked again the connection of the trigger and found that the account that is being used was not in the Admin Collection  members of the SharePoint site. I added this account as Admin Collection member of the site and now the issue is no more and the flow is working again perfectly.

    Thanks for your help!

    Regards,

  • Pstork1 Profile Picture
    69,661 Most Valuable Professional on at

    I'm glad you were able to resolve your problem.  I wish these kinds of changes to the underlying Triggers and Actions were better publicized.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 237 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 227 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 194

Last 30 days Overall leaderboard