-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Description
Describe the bug
az cloud set --name AzureChinaCloud
az login --use-device-code
To sign in, use a web browser to open the page https://login.microsoftonline.cn/device and enter the code ECMGW7WGV to authenticate.
the returned url https://login.microsoftonline.cn/device is incorrect, the correct url should be https://login.partner.microsoftonline.cn/device
Related command
az cloud set --name AzureChinaCloud
az login --use-device-code
Errors
https://login.microsoftonline.cn/device is an incorrect url
Issue script & Debug output
na
Expected behavior
return https://login.partner.microsoftonline.cn/device or https://microsoft.com/deviceloginchina
Environment Summary
azure-cli 2.76.0 *
core 2.76.0 *
telemetry 1.1.0
Dependencies:
msal 1.33.0b1
azure-mgmt-resource 23.3.0
Additional context
No response