Thanks for the video.
Looks like a Microsoft / MS365 problem. The authentication flow is handled by Microsoft and it seems to have some kind of problem.
I can't debug it and it works fine with my personal Microsoft account, I don't have a MS 365 account to test with, sorry.