Skip to main content

RefreshTokenNotFoundError

No refresh token was found where one was looked for.

Usage

Source

RefreshTokenNotFoundError()

Raised by refresh_token_from_az_cli() (no profile, no default subscription, no token cache or no matching token), by the interactive credentials’ get_refresh_token() (nothing in the persisted cache), and wherever a refresh token defaults to $AZURE_REFRESH_TOKEN and that is unset. The message names the file and the username looked for, never a token.