Hello
Please use
https://techcommunity.microsoft.com/t5/exchange-team-blog/deprecation-of-remote-powershell-in-exchange-online-re-enabling/ba-p/3779692
OR
Check if basic authentication is enabled
Run Command Prompt as administrator. Have a look if basic authentication is enabled. Make use of the command winrm get winrm/config/client/auth. In our example, the basic authentication is false and configured with a GPO (Group Policy Object).
C:\>winrm get winrm/config/client/auth
Auth
Basic = false [Source="GPO"]
Digest = false [Source="GPO"]
Kerberos = true
Negotiate = true
Certificate = true
CredSSP = false
Solution for the Hybrid Configuration Wizard error
You can edit the GPO and exclude the system for basic authentication. This way it will make a remote connection. What you also can do is to change the basic authentication manually with a registry key on the system. Let’s do the second.
Start Registry Editor as administrator and browse to the following path:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WinRM\Client
Edit AllowBasic value data to 1. Click OK.
There is no need to restart the system. Verify that the changes are applied by running the command in Command Prompt. It’s showing as Basic = true.
C:\>winrm get winrm/config/client/auth
Auth
Basic = true [Source="GPO"]
Digest = false [Source="GPO"]
Kerberos = true
Negotiate = true
Certificate = true
CredSSP = false
Close the Hybrid Configuration Wizard and try again. Go through the steps and HCW will connect to both the organizations. This time it will create a connection to Office 365 and showing the Succeeded text.
I hope this helps!
Kindly mark the answer as Accepted and Upvote in case it helped!
Regards