Recurring sign-out from Outlook and Teams

Matea Boban 21 Reputation points

Initially, the issue started with Visual Studio and inability to publish due to constantly being asked to re-enter credentials. Once the credentials were entered, the authenticator prompt would not appear. Afterward it was noticed that there are several non-existing organisations and directories of which the account in question was a member. The option for leaving the organisations didn't work because it would trigger the same prompt on authenticator app which would never show on the phone. After VS update there is an option to filter accounts and exclude directories which solved the problem with the VS.
But at the same time, Outlook and Teams started to perform automatic sign out and request a password, but after trying to sign in it would just sign out again, until a complete sign out of Windows was performed.
The Outlook and Teams issue still persists. Any advice or help would be greatly appreciated.

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
5,966 questions
Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
3,767 questions
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
3,145 questions
No comments
{count} votes

Accepted answer
  1. Faery Fu-MSFT 8,031 Reputation points Microsoft Vendor

    Hi @Matea Boban ,
    Welcome to Microsoft Q&A forum and posting your question here.

    What version of Outlook are you currently using?(File > Office Account > About Outlook) Check your version and upgrade it to the latest.

    Based on my search, it is recommended you use the following troubleshooting:
    From Control Panel on the computer, search for Credential Manager, choose Windows Credentials, select the Microsoft account and remove credential.

    If the issue persists, please try to Repair Office from the Control Panel.

    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

1 additional answer

Sort by: Newest
  1. Ofugocho Joseph Ichedi 21 Reputation points

    Do you have modern authentication turned on?

    You can do that from the admin portal or set some registry keys.