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 / Usage of environment v...
Power Automate
Suggested Answer

Usage of environment variable in 'Create' & 'Get file properties' sharepoint actions

(0) ShareShare
ReportReport
Posted on by 85
Hi,
 
I have been trying to use environment variables to define in the 'File identifier' field of get file properties action. But it is throwing me an error saying route did not match. But it totally works when select the file from the folder in the action. Any idea why this is happening and how to resolve this as I will be exporting it to prod and need to use a different file in the get file properties action. Thanks.
 
Flow after run:
Categories:
I have the same question (0)
  • Suggested answer
    NsL Coder Profile Picture
    475 Super User 2025 Season 2 on at
    Looks like you did not properly encode the File Identifier, you simply using the "human" readable path.
     
    Try selecting from the file icon to the file you want, THEN run it. after run, check the run history on the action and copy the encoded path. not sure why, but looks like a / is encoded to %252f while a space character is $2b. 
     

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

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard