microsoft / CompliancePartnerWorkshops

Scripts and resources to support the Compliance Build-Intent engagements at https://aka.ms/mci/workshops
MIT License
20 stars 17 forks source link

Error Connecting to Remote Server #12

Closed pwhittin1 closed 2 months ago

pwhittin1 commented 1 year ago

HI, When attempting to run the script, we are getting the following error: Connecting to remote server nam10b.ps.compliance.protection.outlook.com failed with the following error message : For more information, see the about_Remote_Troubleshooting Help topic. At C:\Program Files\WindowsPowerShell\Modules\ExchangeOnlineManagement\3.1.0\netFramework\ExchangeOnlineManagement.psm1:733 char:21

We are correctly logging into the 0365 and authenticating with MFA. Can you verify that the code is still correct?

jimbanach commented 2 months ago

please make sure you have the most up to date version of the script AND do not have any legacy versions of the Exchange Online module on your machine. Versions older than 3.3 are no longer able to connect to exchange online.