Recently deployed a solution but unable to turn flows on I am getting the error below. I am using the same account I use to deploy the solution.
"
(x) Flow client error returned with status code "BadRequest" and details "{"error":{"code":"lnvalidOpenApiFlow","message":"Flow save failed with code 'DynamicOperationRequestClientFailure' and message The dynamic operation request to API 'commondataserviceforapps' operation 'GetMetadataForGetEntityWithOrganization' failed with status code 'Forbidden'. This may indicate invalid input parameters. Error response: {\r\n "error": {\r\n "code": "0x80042f09",\r\n "message": "TryGetMaxPrivilegeDepthForUserAcrossBusinessUnits: The user with id ... has not been assigned any roles. They need a role with the prvReadEntity privilege."\r\n }\r\n}'."}}".X"
Thank you Andre for the quick response, flow saves fine when I check it. and it is not one flow there are three but they all are not turning on. All three flows only have three connectors Dataverse, Approvals and O365 Outlook, all three gets triggered when a field is modified in Dynamics.
Have you checked the permissions in relation to your user account? Is the Flow working for other users? Can you tell which action or connector raises this error? As you didn't provide any details about your Flow it is impossible to guess what might be wrong.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.