Azure / azure-cli

Azure Command-Line Interface
MIT License
3.99k stars 2.97k forks source link

Azure Cloud Shell error for AKS AAD integration #15477

Open sibendu opened 4 years ago

sibendu commented 4 years ago

This is autogenerated. Please review and update as needed.

Describe the bug

Following AAD and AKS integration as per https://docs.microsoft.com/en-us/azure/aks/azure-ad-integration-cli#code-try-1

Command Name az ad app create

Errors: Following error displayed when running command - serverApplicationId=$(az ad app create \ --display-name "${aksname}Server" \ --identifier-uris "https://${aksname}Server" \ --query appId -o tsv)

Create the Azure AD application

serverApplicationId=$(az ad app create \ --display-name "${aksname}Server" \ --identifier-uris "https://${aksname}Server" \ --query appId -o tsv)

Update the application group membership claims

az ad app update --id $serverApplicationId --set groupMembershipClaims=All

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Expected Behavior

Environment Summary

Linux-4.15.0-1096-azure-x86_64-with-debian-stretch-sid (Cloud Shell)
Python 3.6.10
Installer: DEB

azure-cli 2.12.0 *

Extensions:
ai-examples 0.2.3

Additional Context

yonzhan commented 4 years ago

add to S177

jiasli commented 3 years ago

Following error displayed when running command

Could you share the error message you saw?