The Azure PowerShell module has a bug in the Az.Accounts module and cannot sign in correctly. Run the following command to workaround the bug.
|
Run the code blocks in one of the following sections to update or install the latest version of the Azure PowerShell modules from the PSGallery:
Update modules:
Define Azure PowerShell modules respecting dependency on Az.Accounts
Unload Azure PowerShell modules respecting dependency on Az.Accounts
Update Azure PowerShell modules
|
Reinstall modules
Define Azure PowerShell modules respecting dependency on Az.Accounts
Unload Azure PowerShell modules respecting dependency on Az.Accounts
Remove Azure PowerShell modules
Install Azure PowerShell modules
|