As the error message suggests, the WinRM basic auth endpoint seems to be disabled on your machine. Check via:
winrm get winrm/config/client/auth
If needed, update the value via:
winrm set winrm/config/client/auth @{Basic="true"}
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Why I am getting below error on PowerShell while running this command: >Get-CsHostingProvider -Identity Global?
Error:
Get-CsHostingProvider -Identity Global
Get-CsHostingProvider : Connecting to remote server api.interfaces.records.teams.microsoft.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.
At line:1 char:1
As the error message suggests, the WinRM basic auth endpoint seems to be disabled on your machine. Check via:
winrm get winrm/config/client/auth
If needed, update the value via:
winrm set winrm/config/client/auth @{Basic="true"}