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 / Error reading environm...
Power Apps
Unanswered

Error reading environment variables in Power Apps

(0) ShareShare
ReportReport
Posted on by 73
Hi all!
 

I've a solution containing an app and a flow in a Dataverse environment of Power Apps. The app has a button for downloading a file and another button for uploading. The app is shared with two groups.

No individual roles were assigned to the group members, and they were able to use the app correctly. Currently, a user who does not have any role receives this error when trying to download:

Error when trying to retrieve data from the network: Principal user (Id=..., type=8, roleCount=0, privilegeCount=0, accessMode='0 Read-Write', AADObjectId='...', MetadataCachePrivilegesCount=4562, businessUnitId=...), is missing prvReadEnvironmentVariableDefinition privilege (Id=...) on OTC=380 for entity 'environmentvariabledefinition' (LocalizedName='Environment V...

To resolve this, the user needs to be assigned at least the basic user role. Why was there no need for roles before, but there is now?

Thanks

I have the same question (0)
  • PowerDeveloperTP Profile Picture
    269 on at
    Hello,
     
    Minimum a 'Basic user' security role should be present for any user to run the apps and flows. I think in you case, for entire group, there was security role assigned already and you are just adding users to that group, but if you are adding user outside the group, make sure minimum security role is assigned.
     
    Thanks
    Like my answer? - Hit that Thumbs Up. Resolved the Issue? - Hit Accept as Solution.
    This helps others find solutions to future issues!

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 542 Most Valuable Professional

#2
Haque Profile Picture

Haque 206

#3
Kalathiya Profile Picture

Kalathiya 201 Super User 2026 Season 1

Last 30 days Overall leaderboard