Code Monkey home page Code Monkey logo

Comments (8)

rtaylor72 avatar rtaylor72 commented on August 17, 2024 1

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.

from acr.

SteveLasker avatar SteveLasker commented on August 17, 2024

@sajayantony is this something we can fix in az acr, or is this in the az cli?

from acr.

djyou avatar djyou commented on August 17, 2024

We fixed the scenario when -g is not specified and the printed message now is

The resource with name 'MyRegistry' and type 'Microsoft.ContainerRegistry/registries' could not be found in subscription 'My Subscription (00000000-0000-0000-0000-000000000000)'.

When -g is specified, the CLI prints message from ARM directly which we don't have control.

from acr.

sajayantony avatar sajayantony commented on August 17, 2024

@djyou - Do we even need to support -g . Is it for scoping? this is repository subgroup.

from acr.

djyou avatar djyou commented on August 17, 2024

-g is just to follow convention, all Azure resources belong to some resource group and ACR is a special case where resource group can be resolved due to it's unique name.

from acr.

SteveLasker avatar SteveLasker commented on August 17, 2024

Would really like to see this removed as these are nested resources, and ACR already has global uniqueness. I

from acr.

sajayantony avatar sajayantony commented on August 17, 2024

@djyou can we close this?

from acr.

djyou avatar djyou commented on August 17, 2024

Close as the fix has been merged in.

from acr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.