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:
- Registering the provider under application context?
- 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.