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 / 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 Moderator 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

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

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard