Clear Azure CLI cache
This script deletes cached Azure CLI objects. Cleaning cache does not remove your credentials, so you'll keep your session and be logged in.
This script deletes cached Azure CLI objects. Cleaning cache does not remove your credentials, so you'll keep your session and be logged in.
Azure CLI saves logs in the "logs" directory.
The Azure CLI stores telemetry in the "telemetry" directory and "telemetry.txt", "logs/telemetry.txt" files.
This script cleans the login data in three steps: 1. "az logout": It deletes the current authentication token and subscription ID. It only logs out the selected/current user. 2. "az account clear": It clears all other subscriptions from the CLI's local cache. It also logs out all users. 3. Clear all access tokens: It removes the ADAL token cache file. These are stored tokens from the Active Directory OAuth 2.0 code flow.