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