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

Error reading environment variables in Power Apps

(0) ShareShare
ReportReport
Posted on by 69
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)
  • TP18 Profile Picture
    165 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

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 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard