Azure cloud switched to China region
AZ command line switch domestic
az cloud set --name AzureChinaCloud
AZ command line embedded device login
az login --use-device-code
The system will generate a code, and then follow the prompts to log in to the Microsoft Azure device on other computers that can open the browser for verification , and then follow the prompts to enter the code generated above to log in the embedded device to the Azure cloud.