So we are trying to create a docker container image and upload it to an ACR with the devops pipelines, but wherever we try it fails and say i dont have permission even tho we have checked for months now and should have the right permissions to connect and use the ACR.
We tried following guides but seem to be outdated a lot so no luck there.
But each time we end up getting an nice error of this
Failed to set Azure permission 'RoleAssignmentId: ' for the service principal '' on subscription ID '': error code: Forbidden, inner error code: AuthorizationFailed, inner error message The client 'live.com#' with object id '' does not have authorization to perform action 'Microsoft.Authorization/roleAssignments/write' over scope '/subscriptions//resourceGroups//providers/Microsoft.ContainerRegistry/registries//providers/Microsoft.Authorization/roleAssignments/***' or the scope is invalid. If access was recently granted, please refresh your credentials. Ensure that the user has 'Owner' or 'User Access Administrator' permissions on the Subscription.
Which is weird... why would i need to be owner og an UAAdmin to create a pipeline and connection ?