web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : d73dbkNdyq/R1rZ1TyRJLm
Power Automate - Building Flows
Unanswered

Can i Delete file from OneDrive and also remove it from recycle bin

Like (0) ShareShare
ReportReport
Posted on 21 Oct 2022 08:57:41 by 3,502

I have the following part of a larger flow:-

 

johnjohn123_0-1666342299696.png

 

where i need to convert a SharePoint word file into PDF, so i used the OneDrive appraoch, which require creating the file inside onedrive >> convert it to PDF >> Delete the oneDrive file. but the issue is that the "Delete file 3", will keep a copy of the file inside the one drive recycle bin, so is there a way to permanently remove the file from one drive?

Thanks

 

  • johnjohn123 Profile Picture
    3,502 on 21 Oct 2022 at 10:14:37
    Re: Can i Delete file from OneDrive and also remove it from recycle bin

    @CraigStewart this flow is run from power apps, so it will run based on the power apps users context, so the address will vary based on the user

     

  • Craig Stewart ABZ Profile Picture
    957 Super User 2024 Season 1 on 21 Oct 2022 at 10:02:19
    Re: Can i Delete file from OneDrive and also remove it from recycle bin

    The site address is added as a custom value, or a variable in the example on that page  - it's whatever the site address is of your one drive.
    Sign in to Sign in - Microsoft OneDrive (live.com) and copy the url from the browser.

  • johnjohn123 Profile Picture
    3,502 on 21 Oct 2022 at 09:29:33
    Re: Can i Delete file from OneDrive and also remove it from recycle bin

    @CraigStewart  the example uses Send Http request to SharePoint to remove the one drive file from recycle bin,, but what will be the site address for the action?

  • Craig Stewart ABZ Profile Picture
    957 Super User 2024 Season 1 on 21 Oct 2022 at 09:03:07
    Re: Can i Delete file from OneDrive and also remove it from recycle bin

    Hi

     

    Coincidentally this was asked earlier in the week and @Expiscornovus provided a solution here:

     https://powerusers.microsoft.com/t5/Building-Flows/Use-Power-Automate-to-permanently-delete-files-from-a-folder-or/m-p/1825071/highlight/true#M201308

     

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2