Cannot read properties of undefined (reading 'isAnonymousAccess') #31980
Labels
Client
This issue points to a problem in the data-plane of the library.
Container Registry
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-author-feedback
Workflow: More information is needed from author to address the issue.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Attention
Workflow: This issue is responsible by Azure service team.
Describe the bug
I am unable to authenticate with the container registry using the @azure/container-registry module, it occurs even when using the sample code provided in this repo.
To Reproduce
Steps to reproduce the behavior:
sdk/containerregistry/container-registry/samples/v1/typescript
npm install
npm run build
sdk/containerregistry/container-registry/samples/v1/javascript/containerRegistryClient.js
<endpoint>
on line 15 to a valid repo namenode dist/containerRegistryClient.js
This results in an error like this:
Expected behavior
That I can log in when providing a client.
Additional context
I have tested that I can reach the container registry, I have also tested that the credential could be used for other things, like listing all repos using the Az CLI.
The text was updated successfully, but these errors were encountered: