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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / File not deleting from...
Power Automate
Suggested Answer

File not deleting from Onedrive

(0) ShareShare
ReportReport
Posted on by 6
Hi, 
 
I am trying to run a flow where when a file is created in one drive, it is then uploaded to sharepoint and then I want the original file that was created to be deleted. 
 
The flow (when its just the file identifier in the delete section) seems to say it runs successfully but then does not delete the file. 
 
I imagine I need some sort of combination of triggeroutputs and file identifier for it successfully delete the file? Any other suggestions are welcome
 
Kind regards
 
Tim
Categories:
I have the same question (0)
  • Suggested answer
    David_MA Profile Picture
    12,982 Super User 2025 Season 2 on at
    Why do you have the triggerOutputs() expression in the Id field of the Delete file action? Delete that as it is probably causing the problem.
  • TH-17101410-0 Profile Picture
    6 on at
    Hi David, 
     
    Apologies for the confusion. In the post I did mention that when I tried it with just File Identifier, it said it was successful but it still did not delete the original file that triggers the "When a file is created". I was making a suggestion for the solution that I might need to have some sort of combination of TriggerOutputs() and File Identifier so it locks on to the correct file? 
     
    Kind regards
     
    Tim
     
     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard