CheckPrivilege failed error when viewing desktop flows in My flows

Work anywhere from any device with Microsoft 365

Upgrade to Microsoft 365 to work anywhere with the latest features and updates.

Upgrade now

Symptom

When visiting the desktop flows tab in My flows, one of the following errors may be displayed:

1. You need permissions to use Microsoft Dataverse

                                    alternate text

2. SecLib::CheckPrivilege failed. User: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx, PrivilegeName: prvReadEntity, PrivilegeId: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx, Required Depth: Basic, BusinessUnitId: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx, MetadataCache Privileges Count: xx, User Privileges Count: xx

alternate text

3. The use with id xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx has not been assigned any roles. They need a role with the prvReadEntity privilege. 

                          alternate text

Cause

In order to view the UI Flows list, the user needs to be assigned a role that has the 'prvReadEntity' permission. In the case of the first error message above, the user has roles assigned, but those roles do not have the 'prvReadEntity' permission. In the case of the second, the user does not have any roles assigned. In both cases the user must be assigned a role with the 'prvReadEntity' permission, such as 'Environment Maker'.

The user doesn't have permissions to view desktop flows in the selected environment. The user either does not have a role such as Environment Maker assigned to them for the environment, or their role does not have the permission "prvReadEntity".  

Resolution

To access the specific environment, contact your Power Platform administrator and ask them to grant the Environment Maker role, or another role with the 'prvReadEntity' permission.

If you don't need to use that specific environment, you can try selecting another environment from the "Environments" menu at the top right of the page, or visit the Power Platform Admin Center to create your own.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×