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

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / delete file if it exis...
Power Automate
Unanswered

delete file if it exist in sharepoint

(0) ShareShare
ReportReport
Posted on by 4

How do I delete a file from sharepoint if it is there?

 

/Shared Documents/subfolder/file.csv

Categories:
I have the same question (0)
  • v-yetonggu-msft Profile Picture
    Microsoft Employee on at

    Hi @Yeji_Lee ,

    Please use 'Delete file' control and select you want to delete file.

    vyetonggumsft_1-1712196886290.png

    best regards,

    Sunshine Gu

     

     

  • Yeji_Lee Profile Picture
    4 on at

    How can I  make the flow run evenif it fails because the file isn't there?

    Sometimes file is there and sometimes file isn't there

  • Yeji_Lee Profile Picture
    4 on at

    @v-yetonggu-msft  could you help?

  • v-yetonggu-msft Profile Picture
    Microsoft Employee on at

    Hi @Yeji_Lee ï¼Œ

    Please check this test:

    vyetonggumsft_0-1712199531152.png

    length(body('Filter_array'))
    items('Apply_to_each')?['{identifier}']

    Best Regards,

    Sunshine Gu

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 239 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 177 Super User 2026 Season 1

#3
Kalathiya Profile Picture

Kalathiya 97 Super User 2026 Season 1

Last 30 days Overall leaderboard