Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
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

 

  • Verified answer
    abm abm Profile Picture
    32,464 Most Valuable Professional on at
    Re: Verify if a file exist in onedrive

    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,537 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,908 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow