Is your account by chance enforced for per-user MFA? I run into a similar issue and had to reset the per-user MFA status, details are here: https://www.michev.info/blog/post/6242/the-strange-case-of-a-login-loop-caused-by-phantom-proofup-requirements
Connect-SPOService : No valid OAuth 2.0 authentication session exists ?
Matthias
20
Reputation points
I have not been able to connect using the command “Connect-SPOService -Url https://company-admin.sharepoint.com” for several months now.
I pick account
Enter password
click "Next"
And get this empty "working..." window then.
Then I get error: We couldn't sign you in. Please try again.
I get this error in powershell:
I tried out different devices. The last one was a newly installed computer with Windows 11.
I get the error with Powershell 5 and 7.
How to solve that problem?