In the top right corner of Visual Studio, you will find a colored box with your name or your initials inside. Click the down arrow and then Account Settings.
In the opening window, please click “Sign out” in the upper left part of the window.
After a restart of Visual Studio and signing back in, the error should be gone.