Hi Anthony Richard,
Thanks for reaching out to Microsoft Q&A.
The error code AADSTS50139
typically indicates an issue with missing or expired refresh tokens, which are used to maintain an authenticated session without requiring the user to log in repeatedly. Here are a few steps to resolve this issue:
- Clear your browser cache and cookies: Sometimes, cached session data in your browser can cause issues. Try clearing your browser cache and cookies, then attempt to sign in again.
- Use an Incognito browsing session: Open a private browsing window (Incognito/InPrivate) to ensure that no session or cookie information from previous logins interferes with the authentication process.
- Log out and log back in: If you're using multiple Azure accounts or have had several sessions open, fully log out from all Azure sessions and log in again.
- Check conditional access policies: If your organization uses conditional access policies, ensure that your login attempt meets all the requirements. Sometimes, an expired or invalid session can result from failing to meet such policy conditions (ex: MFA requirements).
- Update or re-authenticate external tokens: If you're using an external authentication provider (like Google or Facebook for single sign-on), you may need to re-authenticate or reconnect that account to Azure to refresh the token.
- Try a different device or network: Sometimes network or device-specific issues can prevent token refresh. Switching to another device or network can help isolate the problem.
Please 'Upvote'(Thumbs-up) and 'Accept' as an answer if the reply was helpful. This will benefit other community members who face the same issue.