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 / How to use dynamic fil...
Power Automate
Unanswered

How to use dynamic file name to get file content

(0) ShareShare
ReportReport
Posted on by 190

Hi,

I am trying to get the content of a csv-file. The name of the file is stored in a variable. Unfortunately I get a "Bad Request"-message.

 

I tried to include the variable in the file-path:

Unbenannt.JPG

 

I also tried to use "concat" to get this done:

Unbenannt2.JPG

 

Any help is appreciated. Thanks!

 

Categories:
I have the same question (0)
  • Verified answer
    yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Lukas1 

     

    The Get file content action needs you to point to the file or the file identifier. In your case while referring to the file name using variable, you can use the get file content using path action: ffd.PNG

    Hope this Helps!

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • ELAISA12345 Profile Picture
    5 on at

    Thanks, your suggestion solved my problem.

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard