Skip to content

Commit 32d8d37

Browse files
(AzureCXP) fixes MicrosoftDocs/azure-docs#105781
Changes has been inmade in line no 149 From az ad sp list --display-name $SERVICE_PRINCIPAL_NAME --query "[].appId" --output tsv To az identity show -n $SERVICE_PRINCIPAL_NAME -g $RESOURCE_GROUP_NAME --subscription $SUBSCRIPTION_ID --query "clientId" -o tsv
1 parent 93566bc commit 32d8d37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/container-registry/container-registry-helm-repos.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ Run `helm registry login` to authenticate with the registry. You may pass [regi
146146
--scopes $(az acr show --name $ACR_NAME --query id --output tsv) \
147147
--role acrpush \
148148
--query "password" --output tsv)
149-
USER_NAME=$(az ad sp list --display-name $SERVICE_PRINCIPAL_NAME --query "[].appId" --output tsv)
149+
USER_NAME=$(az identity show -n $SERVICE_PRINCIPAL_NAME -g $RESOURCE_GROUP_NAME --subscription $SUBSCRIPTION_ID --query "clientId" -o tsv)
150150
```
151151
- Authenticate with your [individual Azure AD identity](container-registry-authentication.md?tabs=azure-cli#individual-login-with-azure-ad) to push and pull Helm charts using an AD token.
152152
```azurecli

0 commit comments

Comments
 (0)