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 / Use Environment Variab...
Power Automate
Answered

Use Environment Variables with List Rows present in a table

(0) ShareShare
ReportReport
Posted on by 545
Can someone help me with an issue I'm having with the List rows present in a table action.
 
I want to be able to use environment variables for each of the inputs however it won't let me?
 
My Location is a Group as the excel file is the MS Forms response file.
 
I get this error when I swap out static values for the variables. What am I doing wrong?
 
Flow save failed with code 'DynamicOperationRequestClientFailure' and message 'The dynamic operation request to API 'excelonlinebusiness' operation 'GetTable' failed with status code 'BadRequest'. This may indicate invalid input parameters. Error response: { "status": 400, "message": "Graph API request failed. Error code is 'invalidRequest'. Error message is 'The provided drive id appears to be malformed, or does not represent a valid drive.'
 
EDIT: This the flow with static values which works absolutely fine. When I swap out Location, Document Library, File and Table for environment variables I get the above error.
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,978 Moderator on at
     
    Looking at that I do not see any environment variables.
     
    What does this mean exactly
     
    Can someone help me with an issue I'm having with the List rows present in a table action.
     
    I want to be able to use environment variables for each of the inputs however it won't let me?
     
    There is no reason it cannot let you use environment variables, however you are not showing us a screen / errors with that, you have typed stuff in. Please share what you mean by you cannot use environment variables.
     
    Did you add everything to a solution? Did you publish all customizations and then reload the flow so it can see them?
     
     

    If these suggestions help resolve your issue, Please consider Marking the answer as such and also maybe a like.

    Thank you!
    Sincerely, Michael Gernaey
  • RM-30040732-0 Profile Picture
    545 on at
     
    These are the fields I have swapped out for environment variables. It works with static values populated as per my screenshot. It does not work when I swap those values out for environment variables. 
     
    Everything is in a solution.
  • Verified answer
    RM-30040732-0 Profile Picture
    545 on at
    Found the solution!
     
    I just used the file ID's from the Code View instead of their actual names within the environment variables and it worked no 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

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 976

#2
Valantis Profile Picture

Valantis 863

#3
Haque Profile Picture

Haque 547

Last 30 days Overall leaderboard