【发布时间】:2020-12-20 14:11:23
【问题描述】:
我正在尝试使用 power shell 连接到 Office 365 Exchange 服务器。我正在使用以下给出的命令进行连接
$cred=Get-Credential
$ses=New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $cred -Authentication Basic -AllowRedirection
但我收到如下错误
New-PSSession :
[outlook.office365.com] Connecting to remote server outlook.office365.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.
请帮帮我。
【问题讨论】:
-
如错误所述,端点不支持基本身份验证。请refer to the documentation获取有关如何获取远程会话的说明。
标签: powershell office365 exchange-server