Hi BlytheGroupAdmin,
I understand that you received an error message when trying to run the commands in PowerShell.
Please perform the following steps and troubleshoot this issue:
Open the Windows PowerShell, run these commands:
1. $LiveCred = Get-Credential
In the Windows PowerShell Credential Request window, type the credentials of an account in your cloud-based organization. Then, click OK.
2. $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection
3. Import-PSSession $Session
After that, check to see if the issue persists.
Here is the detailed information:
Install and Configure Windows PowerShell
Connect Windows PowerShell to the Service
Thanks,
Bourne Zhang