Forum Discussion
Deleted
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 ...
Deleted
Dec 05, 2017Note: I can access the Security and Compliance Center with the same account from the Office 365 Web Portal.
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
- DeletedDec 05, 2017
Hi Vasil,
No, I do not have 2FA set up for the account.
Thanks,
Jordan
- VasilMichevDec 05, 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.
- DeletedDec 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