I have created a Flow with Dynamics and the Approvals connector.
I am the owner of the flow and it works if I send the approval to myself.
However it does not work if the Flow is sent to another user. I get this error:
The request failed. Error code: 'XrmApprovalsGeneralPermissionsError'. Error Message: 'Encountered a general permissions error trying to access the CDS database. This could be caused by modification of the approvals administrator or user roles, or by an incompatible plugin. Detailed message: 'The cache request to assign a role failed with status code 'Forbidden' and message: 'Message: RoleService::VerifyCallerPrivileges failed. ...
There are two solutions to solve it:
1. Add the user as the owner and make sure he has a valid license
2. Share a flow with Run only users
When you share a flow using Run only user, the flow owner can determine how connections will be used. If the flow owner specifies that connections should be Provided by run-only user, that means a user will have to create a connection before they can use the flow and when they run the flow they will use that connection. This is particularly beneficial when you want emails to be sent on behalf of the user that clicked the button.
Ref: https://www.serverlessnotes.com/docs/sharing-flows-as-owners-and-run-only-users
WarrenBelz
146,631
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,991
Most Valuable Professional