cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Cannot delete one drive file

I have a flow that creates a HTML file then converts this to a pdf. This all works, afetr i have converted the file i would likle to delete the html file to save space and keep the directory tidy.

 

The flow briefly

theflow.JPG

 

This is the create file part

 

create.JPG 

 

When the file is created in changes the format to

 

file.JPG

 

 

 

Therefore i have to use name or displayname in the delete file part of the flow and the filename matches exactly.

 

delete.JPG

 

The error is as below

 

error.JPG

 

I have tried almost every variation of choice in the delete file part

 

try2.JPGtry1.JPG

 

and many more....

 

What am I missing please?

 

thanks

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User III
Super User III

Re: Cannot delete one drive file

like this @CYT_Dev 

 

likets.PNG



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

View solution in original post

3 REPLIES 3
Highlighted
Super User III
Super User III

Re: Cannot delete one drive file

hi @CYT_Dev  please try to add the Identifier propertie not the path



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA
Highlighted
Community Support
Community Support

Re: Cannot delete one drive file

Hi @CYT_Dev ,

 

As @ChristianAbata  said, the File field in the Delete file action would require a file identifier, if you want to delete the file with the file path, you could only choose the file from the file Picker, the dynamic path is not supported in this action currently.

 

Best Regards,

Alice

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Highlighted
Super User III
Super User III

Re: Cannot delete one drive file

like this @CYT_Dev 

 

likets.PNG



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

View solution in original post

Helpful resources

Announcements
Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Top Solution Authors
Top Kudoed Authors
Users online (6,078)