cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Rilsina
Resolver II
Resolver II

Does When a file is deleted in SharePoint trigger run only if user has site owner rights?

Hi,

 

I have written a flow to run on " When a file is deleted", trigger of SharePoint.

However i got the below error

"Only Site Collection Admins are allowed to use this trigger."

 
I made myself (the SharePoint member) as an owner of SharePoint site and it worked. 
 
Is this a limitation where only delete by site admins, can run this trigger.
Is it possible that when a SharePoint user deletes a file, the flow trigger will work. 
2 ACCEPTED SOLUTIONS

Accepted Solutions
manuelstgomes
Super User
Super User

Hi @Rilsina 

 

Yes, there's indeed a limitation. Please check this other post for a description:

https://powerusers.microsoft.com/t5/Using-Flows/When-an-item-is-deleted-in-sharepoint-trigger-error/...

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

View solution in original post

v-bacao-msft
Community Support
Community Support

 

Hi @Rilsina ,

 

This trigger is really only available in the Site Collection Admins, but this is an Automated trigger, which is triggered automatically, as long as someone deletes the items in the specified list.

 

So if a user with corresponding permissions creates a Flow using this trigger, once an item is deleted, the Flow will trigger. The user who deleted the item does not matter whether it is Site Collection Admins.

 

Hope this makes sense.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
manuelstgomes
Super User
Super User

Hi @Rilsina 

 

Yes, there's indeed a limitation. Please check this other post for a description:

https://powerusers.microsoft.com/t5/Using-Flows/When-an-item-is-deleted-in-sharepoint-trigger-error/...

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

v-bacao-msft
Community Support
Community Support

 

Hi @Rilsina ,

 

This trigger is really only available in the Site Collection Admins, but this is an Automated trigger, which is triggered automatically, as long as someone deletes the items in the specified list.

 

So if a user with corresponding permissions creates a Flow using this trigger, once an item is deleted, the Flow will trigger. The user who deleted the item does not matter whether it is Site Collection Admins.

 

Hope this makes sense.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

AI Builder AMA June 7th carousel (up on May 25th, take down June 8th) (1).png

'Ask Microsoft Anything' about AI Builder!

The AI Builder team invite you to ask questions and provide helpful answers at our next AMA.

Top Kudoed Authors
Users online (1,528)