question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`az aks update` - unrecognized arguments: --enable-oidc-issuer

See original GitHub issue

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command az aks update --resource-group <rg> --name <name> --subscription <subid> --enable-oidc-issuer

Describe the bug

unrecognized arguments: --enable-oidc-issuer

To Reproduce Above command

Expected behavior It to enable the OIDC URL

Environment summary Windows 10, Cygwin, az 2.40.0

$ az version
{
  "azure-cli": "2.40.0",
  "azure-cli-core": "2.40.0",
  "azure-cli-telemetry": "1.0.8",
  "extensions": {
    "resource-graph": "1.1.0"
  }
}

Additional context This Microsoft document states you need version 2.42.0 of the CLI tool which doesn’t even exist as 2.40.0 is the latest version.

The Azure CLI version 2.42.0 or higher. Run az --version to find your version. If you need to install or upgrade, see Install Azure CLI.

https://learn.microsoft.com/en-us/azure/aks/cluster-configuration#upgrade-an-aks-cluster-with-oidc-issuer

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
giskoucommented, Oct 13, 2022

Running az extension add --name aks-preview before az aks update worked for me. Maybe add this to the documentation too?

1reaction
RakeshMohanMSFTcommented, Nov 2, 2022

@ElvenSpellmaker I got the document updated, next release should have the update.

Read more comments on GitHub >

github_iconTop Results From Across the Web

`az aks update` instead of upgrade for ... - GitHub
Error when running az aks upgrade with --enable-oidc-issuer ... --enable-oidc-issuer unrecognized arguments: --enable-oidc-issuer.
Read more >
Configure an AKS cluster - Azure Kubernetes Service
Update an AKS cluster using the az aks update command with the --enable-oidc-issuer parameter to use the OIDC Issuer (preview).
Read more >
creating AKS cluster with managed identity and associated ...
First, there is no parameter --aks-custom-headers of the CLI command az aks create , and the other two-parameter --enable-managed-identity ...
Read more >
Azure AD workload identity federation with Kubernetes
Explicitly opt-in by turning on the EnableOIDCIssuer feature flag on ... Install an update to the aks extension in Azure CLI az extension ......
Read more >
Getting Started with Workload Identity in AKS (An end-to-end ...
c:\> az aks update -g my-aks-group -n my-aks-cluster --enable-oidc-issuer ... In order to create the federated credential, you need a parameters file.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found