![]() ![]() + FullyQualifiedErrorId : -2144108477,PSSessionOpenFailed ![]() + CategoryInfo : OpenError: (:RemoteRunspace), PSRemotingTransportException $Session = New-PSSession -ConfigurationName Microsoft.Exchange -Auth. Access Denied For more information, see the about_Remote_Troubleshooting Help topic. This worked great until we enabled MFA / TFA on our global administrator accounts which then caused the above BAT file to fail with the following errors: New-PSSession : Connecting to remote server ps. failed with the following error message : $Session = New-PSSession -ConfigurationName Microsoft.Exchange -Authentication Basic -ConnectionUri -AllowRedirection:$true -Credential $Credentials Ĭonnect-MsolService -Credential $Credentials Previously, I used to connect PowerShell to Windows Azure Active Directory and Exchange Online using the following BAT file: off ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |