I am trying to deploy a solution to my test environment that contains a desktop flow. My pipelines uses delegated deployments with a Service Principal account. I get the following error message when I try to deploy it.
Request failed with: Forbidden and error: {"error":{"code":"ConnectionAuthorizationFailed","message":"The caller with object id '2c6af4e0-196c-4fda-ad9a-e5463e864937' does not have the minimum required permission to perform the requested operation on connection 'shared-uiflow-7d9c3b22-adcf-428f-9028-fe5bba6f207b' under API 'shared_uiflow'."}} and request url https://api.powerapps.com/providers/Microsoft.PowerApps/scopes/service/apis/shared_uiflow/connections/shared-uiflow-7d9c3b22-adcf-428f-9028-fe5bba6f207b?api-version=2018-10-01&$expand=permissions($filter=maxAssignedTo('2c6af4e0-196c-4fda-ad9a-e5463e864937')&$filter=environment eq '9b5c15ca-0b27-eca9-9863-a06c5141c109'
I use Pipelines for other projects that promote fine. This is the first project that contains a Desktop Flow.