azure-docs-cli icon indicating copy to clipboard operation
azure-docs-cli copied to clipboard

allow_broker config is deprecated and replaced with enable_broker_on_windows in 2.58.0

Open chunderbolt opened this issue 11 months ago • 1 comments

Prerequisites

  • [X] Write a descriptive title.
  • [X] Search the existing issues.
  • [X] I am reporting the documentation problem for the current version of Azure CLI.

Azure CLI version being used

2.58.0

Link to affected document

https://learn.microsoft.com/en-us/cli/azure/authenticate-azure-cli-web-account-manager

Description of the documentation error

Documentation suggests doing the following to enable WAM:

az config set core.allow_broker=true
az account clear
az login

As of 2.58.0, allow_broker has been deprecated and replaced with enable_broker_on_windows.

Suggested fix

The documentation should suggest using enable_broker_on_windows instead, and probably have a note regarding the breaking change and versions involved.

chunderbolt avatar Mar 07 '24 11:03 chunderbolt

@chunderbolt I'm going to assign this to the document author so they can take a look at it accordingly.

SaibabaBalapur-MSFT avatar Mar 07 '24 16:03 SaibabaBalapur-MSFT

@chunderbolt, This update has been completed in the March 2024 release of the Azure CLI.

dbradish-microsoft avatar May 30 '24 20:05 dbradish-microsoft