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 / SharePoine delete items
Power Automate
Answered

SharePoine delete items

(0) ShareShare
ReportReport
Posted on by 17

Hi,

I think delete file in Sharepoint actions in power automat desktop do not work with Variables

here is my code

nader123_0-1684499973496.png

and here is delete file action

nader123_1-1684500138078.png

and here is error

nader123_2-1684500203522.png

 

It works if i change %Moved% with actual filename which kept in %Moved%  or currentItem.name shows in picture above.

 

  

I have the same question (0)
  • Verified answer
    Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @nader123 

     

     

    The value you are passing to file identifier field is wrong. it is expecting unique ID not the file path of sharepoint file.

     

    Try the ID attribute in current item like below

    Nived_Nambiar_0-1684634812685.png

     

    you can save this value in moved variable and then use that variable here.

     

    It would helps !

     

    Mark it as solution if it resolves your query !

     

  • nader123 Profile Picture
    17 on at

    Hi, Nived. Thank you for quick response. It does not resolved the problem

    I still get an error "Current item does not have property Id ". However current item has the Id property as showing in Picture. Thanks in advance . Nader S

    sharepoint2.PNG

    sharepoint3.PNG

    Sharepoint4.PNG

     

     

     

     

    sharepoint1.PNG

  • nader123 Profile Picture
    17 on at

    Sorry Nived. It was my mistake. I have to remember to use Id not id. It is important to use Uppercase if there is.

    Thank you again. Nader S

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 229 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 227

#3
Haque Profile Picture

Haque 181

Last 30 days Overall leaderboard