Commands az account clear. Edit. Clear all subscriptions from the CLI's local cache. Azure CLI. az account clear [--subscription] .