Skip to content

Azure Cloud Shell error for AKS AAD integration #15477

Description

@sibendu

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.

  • Put any pre-requisite steps here...
  • az ad app create --display-name {} --identifier-uris {} --query {} -o {}

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Graph(doesn't work with label-triggered comments; use Graph.Microsoft instead) az adact-identity-squadfeature-request

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions