You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading to the latest azd version, azd version 1.2.0 (commit 99ea7577f0df0df2ba34b677da189fafba18c0f7), I'm experiencing failures that follow the following pattern:
Run azd <command>
Command fails with reauthentication required: run 'azd auth login' to login
Run azd auth login
Login reports successful
Run azd <command> again
Command still fails with reauthentication required: 'run azd auth login' to login
Solution
Run azd auth logout
Run azd auth login
We're currently investigating options for fixing this without manual intervention.
The text was updated successfully, but these errors were encountered:
weikanglim
changed the title
azd failing with "reauthentication required: run 'azd auth login'" even after logging in
reauthentication required: run 'azd auth login' even after logging in
Aug 24, 2023
When retrieving cache entries, automatically upgrade cache entries that were saved in msal cache v1.0 format to v1.1 format to avoid stale cache entries causing random auth failures.
For users that run both old and newer versions of azd (and consequently the msal libraries), both versions of the cli will work with the same cache file. In some corner cases where the old CLI has been most recently used to login, the refresh token may be ignored by the new cli with requires reauthentication. Otherwise, authentication is expected to work as normal without any unintentional side-effects.
Related to AzureAD/microsoft-authentication-library-for-go#453Fixes#2659
Problem
After upgrading to the latest
azd
version,azd version 1.2.0 (commit 99ea7577f0df0df2ba34b677da189fafba18c0f7)
, I'm experiencing failures that follow the following pattern:azd <command>
reauthentication required: run 'azd auth login' to login
azd auth login
azd <command>
againreauthentication required: 'run azd auth login' to login
Solution
azd auth logout
azd auth login
We're currently investigating options for fixing this without manual intervention.
The text was updated successfully, but these errors were encountered: