Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run az account clear instead of az logout at the beginning #377

Merged
merged 3 commits into from
Dec 1, 2023

Conversation

MoChilia
Copy link
Member

Modify the code in #376.
As it described in Azure CLI, az account clear will clear all subscriptions from the CLI's local cache. And az logout will log out the current active account.
In automation, az account clear should be a better choice for a cleaner environment.

@MoChilia MoChilia merged commit 1b07ea9 into master Dec 1, 2023
24 checks passed
@MoChilia MoChilia deleted the account-clear branch December 1, 2023 02:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants