Been on this issue for the past 24hr, what I did to resolve mine finally, after signing out of my azure devops organization, I went to the portal and restarted by creating a new resource group, an app service plan, a container registry and a container web app then back to the azure DevOps pipeline and it built
Azure Pipelines Configuration Error: Failed to set Azure Permission
Hello, I am setting up an Azure Pipeline to build and push a docker container to ACR, however, I am getting the following issue:
Failed to set Azure permission 'RoleAssignmentId: axxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' for the service principal '6xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx5' on subscription ID '9xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2': error code: BadRequest, inner error code: RoleAssignmentUpdateNotPermitted, inner error message Tenant ID, application ID, principal ID, and scope are not allowed to be updated. Ensure that the user has 'Owner' or 'User Access Administrator' permissions on the Subscription.
I am the owner of Azure AD. It also seems that an ACR IAM Role Assignment is created when I attempt this. I don't know how to go about this so any help is appreciated. Thanks in advance.
2 answers
Sort by: Most helpful
-
-
MUNGARA SAI CHARAN 0 Reputation points
2023-03-15T19:53:39.98+00:00 try this : delete all the app registrations. clean every thing create kubernetes once with 1.23 versions dont try for 1.24 versions. it is working . because kubernets 1.24 s( CURRENT VERSION ) are unable to produce secret keys . just give a try it will work.