-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve error message for not found #87
Comments
@sajayantony is this something we can fix in |
We fixed the scenario when
When |
@djyou - Do we even need to support -g . Is it for scoping? this is repository subgroup. |
|
Would really like to see this removed as these are nested resources, and ACR already has global uniqueness. I |
@djyou can we close this? |
Close as the fix has been merged in. |
I ran into this and found another issue. The service provider (SP) I was using only had the "Acr Push" role. I had to add the "Contributor" role to resolve the issue. So it appears "Acr Push" does not have enough permissions to see the ACR resource. Hope this helps someone else that sees this error and is confused knowing that the ACR is in the specified subscription. |
When
az acr repository list --name myreg
is run when myreg is not in the current subscription, the following error is returned:It would be more helpful if the error also mentioned the Subscription in question. For example:
This will help users much more quickly understand the source of the problem in cases where this is caused by an incorrect default subscription, a scenario mention on the troubleshooting guide.
The text was updated successfully, but these errors were encountered: