The script was working fine yesterday, however, today I'm getting the error below when trying to connect to the SCC service. I'll note "compliance.protection.outlook.com" without the ps. does resolve, I tried to find where this was in the module code to test, but couldn't seem to track it down for some reason.
connect-ms365 -Service SCC
Connect-SCC : Could not connect to SCC.
Connecting to remote server ps.compliance.protection.outlook.com failed with the following error message : The WinRM
client cannot process the request because the server name cannot be resolved. For more information, see the
about_Remote_Troubleshooting Help topic.
At C:\Program Files\WindowsPowerShell\Modules\Connect-MS365\1.3.9\Connect-MS365.psm1:138 char:17
The script was working fine yesterday, however, today I'm getting the error below when trying to connect to the SCC service. I'll note "compliance.protection.outlook.com" without the ps. does resolve, I tried to find where this was in the module code to test, but couldn't seem to track it down for some reason.
connect-ms365 -Service SCC Connect-SCC : Could not connect to SCC. Connecting to remote server ps.compliance.protection.outlook.com failed with the following error message : The WinRM client cannot process the request because the server name cannot be resolved. For more information, see the about_Remote_Troubleshooting Help topic. At C:\Program Files\WindowsPowerShell\Modules\Connect-MS365\1.3.9\Connect-MS365.psm1:138 char:17