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 / Verify if a file exist...
Power Automate
Answered

Verify if a file exist in onedrive

(0) ShareShare
ReportReport
Posted on by 7

I need to check if a file exists on OneDrive, the folder where the file should be searched can change depending on what input the user makes so I can't use the absolute path of the file.
I am using compose to create the file name and to create the path where the file should be searched.

If I use absolute path it worked, but thepath can change.

 

fernandobco_0-1678298404823.png

1) Get file name

2) Get file path

3) Works, but I can't use this way

I need to put the file path obtained in step 2 inside the List files in folder in step 3.

 

Error message:

fernandobco_0-1678383308528.png

 

Categories:
I have the same question (0)
  • Verified answer
    abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @fernandobco 

     

    Please have a look at video tutorial based on this.

     

    https://youtu.be/HVZeRQoDZ5Q

     

    Thanks

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 1,027

#2
Valantis Profile Picture

Valantis 815

#3
Haque Profile Picture

Haque 630

Last 30 days Overall leaderboard