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 / Delete files from SP d...
Power Automate
Unanswered

Delete files from SP doc library

(0) ShareShare
ReportReport
Posted on by 443

Hello,

i have an app that uploads attachments to SP  library (Documents)

In my app, i create a file, name and a RecordID .

On add attachment of a data card i run the first  Flow that creates the files (i build the url in that flow (initialize & set variable))

On remove file from the app's attachment control, i want to Run another flow that deletes the files based on their link.

I added a hyperlink column in the library.

How can i do that?

Categories:
I have the same question (0)
  • a-ovbord Profile Picture
    Microsoft Employee on at

    Hi @marial16,

     

    What I'm thinking you could do is after you create the file with that specific URL then capture the URL in a variable inside the app.

    Then pass that variable to a flow with a Delete File action card to delete it from SP.

     

    Thank you,

    Ovidiu Bordea

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 459

#3
11manish Profile Picture

11manish 382

Last 30 days Overall leaderboard