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

User unable to read environmental variables

(0) ShareShare
ReportReport
Posted on by 191

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:
I have the same question (0)
  • v-xiaochen-msft Profile Picture
    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

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard