Error registering resource provider

subhash.kalicharan 21 Reputation points
2021-03-30T07:41:48.717+00:00

I have a access of contributer. When I want to register "container registry" it show "The client "xxxxxxlabs.net' with object id 'e4xxxxxx2528' does not have authorization to perform action '84codes.cloudamqp/register/action' over scope '/subscriptions/axxxxxxxxx' or the scope is invalid. If access was recently granted, please refresh your credentials"

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
384 questions
{count} votes

Accepted answer
  1. AmanpreetSingh-MSFT 56,306 Reputation points
    2021-03-31T12:59:06.657+00:00

    Hi @subhash.kalicharan · Thank you for reaching out.

    I tested it out by creating a new user account and assigned with Contributor role on the subscription. After signing in to Azure Portal, I was successfully able to register the Microsoft.ContainerRegistry provider.

    Please make sure that you are connected to correct directory and subscription while performing this action. If you are using Guest user account, you might be getting connected to different directory and subscription. You may also consider using Member user account created in the directory to which the subscription is associated.

    If you still face the issue, could you please let me know if you are:

    1. Registering the provider under application context?
    2. Are you registering the provider using REST API instead of Azure Portal?

    Free free to tag me in you reply if you have any question.

    -----------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


0 additional answers

Sort by: Most helpful