When visiting the desktop flows tab in My flows, the error "CheckPrivilege failed" for privilege prvReadEntity or "user has not been assigned any roles" is displayed:
1. 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
2. The use with id xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx has not been assigned any roles. They need a role with the prvReadEntity privilege.
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".
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.