azure-docs-cli
azure-docs-cli copied to clipboard
allow_broker config is deprecated and replaced with enable_broker_on_windows in 2.58.0
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 I'm going to assign this to the document author so they can take a look at it accordingly.
@chunderbolt, This update has been completed in the March 2024 release of the Azure CLI.