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 / I need an automated fl...
Power Automate
Answered

I need an automated flow to trigger when a file in OneDrive for Business is deleted.

(0) ShareShare
ReportReport
Posted on by 3

There's an automated flow that does exactly what I need, but it only applies to OneDrive Personal Folders.

monts001_0-1674161622543.png

I need the same trigger for OneDrive for Business.  I just need to be notified when a file is deleted from a shared folder in OneDrive for Business.

Categories:
I have the same question (0)
  • Verified answer
    Rhiassuring Profile Picture
    8,690 Moderator on at

    You can use the "When a file is deleted" for SharePoint, but use the URL to the OneDrive in question. 

     

    For example, my OneDrive is https://rhiassuring-my.sharepoint.com/personal/rhia_rhiassuring_com

     

    So it looks like this:

     

    Rhiassuring_1-1674172142219.png

     


    Even though it's OneDrive, it's really still SharePoint, so that trigger works.

     

    Rhiassuring_0-1674172124030.png

     

  • Suggested answer
    CU10061029-0 Profile Picture
    4 on at

    However, using this approach, the trigger activates whenever any file is deleted anywhere in OneDrive, not just within a specific folder. What I actually need is a way to trigger the flow only when a file is deleted from a particular folder, so I can be notified accordingly.
     

    Additionally, I’m unable to retrieve the file path or folder name from the trigger’s dynamic content, which means I can’t set up a condition in my flow based on the folder where the deletion happened. This makes it difficult to target specific folders for notifications or further actions.

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 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard