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 / User unable to read en...
Power Apps
Unanswered

User unable to read environmental variables

(0) ShareShare
ReportReport
Posted on by 223 Season of Giving Solutions 2025

I have a new project for a canvas app and trying to implemented environments and a better SDLC.  The app is open to all users in the organisation.  It will be a standard licenses app and so I have incorporated a flow withing the app to read environmental variables .  In the environment I have security group set to "not assigned" so that everyone has access; 

 

CiaranCampbell_0-1718888205314.png

The test users are getting an error that they cannot read the environmental variables when the flow runs on start.

I understand this is a security role issue in the environment and the users should be give a role that includes read to the environmental  however my issue is the app is open to all users, is there a way around this?

CiaranCampbell_1-1718888376511.png

 

 

Categories:
  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @CiaranCampbell ,

     

    If you do not want to elevate the security role and assign it to all users, try sharing specific environment variables records to users.

    vxiaochenmsft_0-1718935567167.png

    https://<org>.<crm*>.dynamics.com/main.aspx?appid=<model driven app id>&pagetype=entitylist&etn=environmentvariabledefinition
    https://<org>.<crm*>.dynamics.com/main.aspx?appid=<model driven app id>&pagetype=entitylist&etn=environmentvariablevalue

     

    Best Regards,

    Wearsky

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 226 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 191 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 167

Last 30 days Overall leaderboard