Hello! I am experiencing the same issue too! I am on windows. When I checked the comments some said it would be fixed if you went offline, so I just thought that I could go offline to access the launcher, start minecraft, and then join a server. It didn't work because it told me to restart my game. Is there any reason when without internet/wifi the launcher works? I think it should be the opposite, when offline, the account not being able to connect because of connection issues of the lack of wifi. I think it is an internal error from the launcher, I don't know. I'm just saying this to show that restarting your wifi to use servers wont work. Sorry if this isn't useful and is considered spam!
Hello!
I would like to say, that in the report, it says that this glitch is only on the MacOS versions. I am currently on a Windows 10, and the issue still pops up. I am in the same normal launcher, do I need to install the new launcher to fix the bug? I haven't tried deleting and re-adding the microsoft account just yet. Using third-party clients/launchers lets me play minecraft, so I think it is a minecraft launcher glitch more than a microsoft account glitch.