Cannot obtain permission to edit container App

Facundo Sosa-Rey 0 Reputation points
2025-02-07T14:24:39.2833333+00:00

My administrator has given me all the roles that seem remotely relevant to editing Container Apps, such as

Container Apps ConnectedEnvironments Contributor

Container Apps Contributor

Container Apps ManagedEnvironments Contributor

Container Apps Operator

Container Registry Repository Catalog Lister

Container Registry Repository Writer

Reader

Regardless, when I try to "Edit and deploy" a container, I get the following error:

`The client

Azure Container Apps
Azure Container Apps
An Azure service that provides a general-purpose, serverless container platform.
583 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sam Cogan 10,802 Reputation points MVP
    2025-02-17T13:55:22.62+00:00

    The issue you are having is not permissions on the container app, it is permissions on the container registry you are trying to pull the image from. This error:

    The client '******@anyonsys.com' with object id '6764a3b4-0c48-4b23-9bdd-d4e62af3c3f6' does not have authorization to perform action 'Microsoft.ContainerRegistry/registries/listCredentials/action' over scope '/subscriptions/7e0adb77-2026-4e91-84eb-99bd94f80983/resourceGroups/rg-thunderhead/providers/Microsoft.ContainerRegistry/registries/thunderhead' or the scope is invalid. If access was recently granted, please refresh your credentials.

    States that you do not have permission to get credentials to access the container registry called "thunderhead"


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.