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 / I CAN NOT DELETE FILE ...
Power Automate
Answered

I CAN NOT DELETE FILE IN ONEDRIVE

(0) ShareShare
ReportReport
Posted on by 296

From the automated flow, you cannot delete files created and saved in OneDrive.

 

StatusCode 400.

fgonzalez515_0-1626299684536.png

 

My flow is,

fgonzalez515_1-1626299762983.png

fgonzalez515_2-1626299792096.png

fgonzalez515_3-1626299879420.png

 

The file is still on OneDrive

fgonzalez515_4-1626299910525.png

 

I request help from the community

 

 

 

 

 

Categories:
  • abm abm Profile Picture
    33,004 Most Valuable Professional on at

    Hi @fgonzalez515 

     

    What error you getting?

     

    Thanks

  • fgonzalez515 Profile Picture
    296 on at

    The file id '/Power Automate/OC/Serviu RM PP4_OC139.docx' is not valid.

  • Verified answer
    abm abm Profile Picture
    33,004 Most Valuable Professional on at

    Hi @fgonzalez515 

     

    Use the file id from create file action step.

     

    See below.

     

    image.png

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
Mohsin Ali Profile Picture

Mohsin Ali 330

#2
11manish Profile Picture

11manish 282 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 123

Last 30 days Overall leaderboard