I am trying to re-deploy into a container app, It worked perfectly until last night even with the github actions.
Today as I am doing again updates I can see that something has changed somewhere, which has rendered my github actions deployment to (fail during deployment) and also now the docker push to container registry and manual deployment doesnt work neither.
error from github:
ERROR: (FailedIdentityOperation) Identity operation for resource '/subscriptions/SUB_ID/resourceGroups/NAME/providers/Microsoft.App/containerApps/backend-prod-app' failed with error 'Failed to perform resource identity operation. Status: 'BadRequest'. Response: '{"error":{"code":"BadRequest","message":"DelegatedResources dictionary cannot be empty unless resource has existing delegations."}}'.'.
The error message that is displayed on while I try to re-deploy new revision
Failed to deploy new revision: Identity operation for resource '/subscriptions/SUBS_ID/resourceGroups/NAME/prov….. prod-app' failed with error 'Failed to perform resource identity operation. Status: 'BadRequest'. Response: '["error":("code" :"BadRequest", "message". "Client not permitted to perform resource delegation. Requests containing delegated Resources must be made with a valid Microsoft 1st-party app credential."))'.