Forum Discussion
Anonymous
Dec 05, 2017Unable to connect to Security & Compliance center using PowerShell
Hi,
I unable to connect to the Security and Compliance Center using the following commands:
$UserCredential = Get-Credential$Session = New-PSSession -ConfigurationName Microsoft.Exchange ...
Anonymous
Dec 05, 2017Note: I can access the Security and Compliance Center with the same account from the Office 365 Web Portal.
- VasilMichevDec 05, 2017MVP
Do you happen to have Azure MFA enabled on that account? Or any other 2FA? If so, you need to use the ADAL-enabled module: https://technet.microsoft.com/en-us/library/mt811266(v=exchg.160).aspx
- AnonymousDec 05, 2017
Hi Vasil,
No, I do not have 2FA set up for the account.
Thanks,
Jordan
- VasilMichevDec 06, 2017MVP
How about any type of Conditional access? If possible, try to test this on a different machine, different network location, to make sure it's not something in the local environment.