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.

PWREduCon768x460.png

Join us at PWR EduCon - A Power Platform Conference

Learn from the top Power BI, Power Apps, Power Automate & Power Virtual Agents experts!

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Top Kudoed Authors
Users online (3,132)