- 1 year ago
az cli logging into wrong account
Comment
1 / 1
To log in to the correct account using the Azure CLI, you can use the following command:
cssaz login --tenant <tenant-id-or-name>
Replace <tenant-id-or-name>
with either the tenant ID or the name of the tenant that corresponds to the account you want to log in to.
If you are still having issues logging in to the correct account, you can also try clearing the Azure CLI cache by running the following command:
arduinoaz account clear
This will clear the cache and prompt you to log in again.