Why I am getting below error on PowerShell while running this command: >Get-CsHostingProvider -Identity Global?
Error:
Get-CsHostingProvider : Connecting to remote server api.interfaces.records.teams.microsoft.com failed with the following error message : TheGet-CsHostingProvider -Identity Global
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
+ Get-CsHostingProvider -Identity Global
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (:) [Get-CsHostingProvider], PSRemotingTransportException
+ FullyQualifiedErrorId : System.Management.Automation.Remoting.PSRemotingDataStructureException,Microsoft.Teams.ConfigApi.Cmdlets.GetCsHos
tingProvider