I am unable to connect to SPO from SharePoint online management shell using my account. MFA is enabled.
I'm executing the following command:
Connect-SPOService -url https://[URL].sharepoint.com
And I get the following response:
Connect-SPOService : Could not authenticate to SharePoint Online
https://[URL].sharepoint.com/ using OAuth 2.0
At line:1 char:1
+ Connect-SPOService -url https://[URL].sharepoint.com
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Connect-SPOService], AuthenticationException
+ FullyQualifiedErrorId : Microsoft.Online.SharePoint.PowerShell.AuthenticationException,Microsoft.Online.SharePoi
nt.PowerShell.ConnectSPOService
Can anyone help with this?
Thanks.