When creating the connection to Office 365, the credentials fail with the following error:
Connection to Microsoft Office 365 cannot be established using the specified settings. Error: [ps.outlook.com] Connecting to remote server ps.outlook.com failed with the following error message : The WinRM client cannot process the request. Basic authentication is currently disabled in the client configuration. Change the client configuration and try the request again. For more information, see the about_Remote_Troubleshooting Help topic.
Open a PowerShell prompt as Administrator and run the following commands:
winrm set winrm/config/client/auth '@{Basic="true"}'
winrm set winrm/config/client '@{AllowUnencrypted="true"}'
If the following error occurs when changing the setting, then it would need to be modified via Group Policy:
“The config setting Basic cannot be changed because is controlled by policies. The policy would need to be set to ‘Not Configured’ or ‘Enabled’ in order to change the config setting.”
The policy can be found in GPMC
Administrative Templates / Windows Components / Windows Remote Management (WinRM) / WinRM Client
Allow Basic authentication: Enabled
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Términos de uso Privacidad Cookie Preference Center