When you use two or more organizations that are linked to Azure AD, such as organizations created in the Azure portal, the sign-out function might not work as expected.
For example, you can't switch between different organizations to connect to multiple organizations that are linked to directory tenants.
To resolve this issue, apply Visual Studio 2013.2 or install a later version from the Visual Studio download website.
Another solution is to delete your browser cookies.
Hope this helps!
Ready to Build the Future of IT? Start with Our DevOps Engineer Course!