Views:

Applies to Product – Microsoft Dataverse


What’s happening?
Users are experiencing issues with flow execution after deploying a solution from a sandbox environment to production. The flows fail to run entirely, displaying an error message indicating that the user does not have the necessary access rights for the workflow entity.


Reason:
The underlying cause of this is that the user attempting to run the flow does not have sufficient permissions to access the workflow (Process) entity in Dataverse. This is due to the flow being created in a lower environment and requiring specific Dataverse security privileges when imported into production.


Resolution:

  1. Verify the user roles assigned to the individuals attempting to run the flow.
  2. If the user has the "Basic User" role, this may not provide adequate permissions to read the workflow record.
  3. Assign the "App Opener" role to the user, as this role allows access to all workflows registered in the application.
  4. Alternatively, create a custom security role by copying the "App Opener" role and customizing it to meet the necessary access requirements.
  5. For further troubleshooting, utilize the Access Checker tool on the specific record to identify permission issues.