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 Apps / Environment variable d...
Power Apps
Unanswered

Environment variable does not return current value for some users

(0) ShareShare
ReportReport
Posted on by 66

I have a canvas app that is inside a solution and I needed to set some configuration values, which I create two environment variables, one of type "Yes/No" and the other of type string, in the canvas app for the source of data I included "Environment variable definitions" and "Environment variable values", I use the LookUp function to extract the value through the "Schema name" and that is how the first variable works well and returns the value that I modified in the current value, but the The second variable does not return anything, but exclusively for some users who use the app in "Play" mode, but as a developer, it is displayed, but I do not understand why it does not return anything for the other users.

 

I didn't define a default value for this second variable, it remains blank but I don't think it's because of this, so I don't know why it returns the current value for me but not for other users; I want to mention that I had a fellow developer open the canvas app in edit mode to see if the same thing happened to him as the other users and it turns out that he does not return the current value of that environment variable either.

 

By the way, not only does it return to me, it also returns to my boss that he is the owner of the canvas app, I am a co-owner and the canvas app has version control activated to work collaboratively; On the other hand, I was the one who created both the "Yes/No" environment variable and the String, only the String doesn't work.

Categories:
I have the same question (0)
  • SBax Profile Picture
    1,348 on at

    Check the security roles assigned to the users who are not getting the current value.

     

    Make sure they have permission to read from the "Environment Variable Definition" and "Environment Variable Value" tables, at organisation level 

  • MasterRA Profile Picture
    66 on at

    I understand but the thing is that users do have those permissions since the first environment variable that I create works but the second doesn't load data and I don't understand why that happens

  • SBax Profile Picture
    1,348 on at

    I would suggest raising a ticket to Microsoft, if you are sure that they have permissions to view, and based on what your are saying - this sounds like a bug to me 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

#2
11manish Profile Picture

11manish 193

#3
Valantis Profile Picture

Valantis 138

Last 30 days Overall leaderboard