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 ...
VasilMichev
Dec 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
Anonymous
Dec 05, 2017Hi 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.
- AnonymousDec 06, 2017Hi Vasil,
I have created a new VM in Azure and retested with the same account and still received the same error message.
Kind Regards,
Jordan- Corey Van AllenJan 10, 2018Copper Contributor
Did you ever get this resolved? I'm encountering the same issue.