Forum Discussion
Michael Sodolak
Apr 11, 2018Copper Contributor
Unable to connect to PowerShell for Security and Compliance
I was able to previously connect to Powershell with my credentials. I am able to connect to the Web Portal with the same credentials and I am a Global Admin of my domain. $msolcred = get-creden...
VasilMichev
Apr 11, 2018MVP
Do you happen to have MFA configured for that account? You cannot bypass MFA when connecting to SCC using PowerShell anymore. This means that you need to use the new, ADAL-enabled module: https://www.michev.info/Blog/Post/1840/security-and-compliance-center-powershell-finally-supports-modern-authentication
- SocInABoxDec 05, 2021Iron ContributorI don't have mfa and I get the same error.
I'm on a mac os
Connecting to remote server ps.compliance.protection.outlook.com failed with the following
| error message : Basic Authorization failed