2016-04-05 13 views
0

O365 Exchange Online'a bağlanmaya çalışırken WinRM hata iletileri alıyorum. Office 365 - PowerShell WinRM sorunlarını kullanarak Exchange'e bağlanma

$user = "[email protected]" 
$cred = Get-Credential -Credential $user 

$exchangeSession = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri "https://outlook.office365.com/powershell-liveid/" -Credential $cred -Authentication "Basic" -AllowRedirection 

aşağıdaki hata iletisi almak çalıştıran:

> 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. At line:1 char:20 
> + $exchangeSession = New-PSSession -ConfigurationName Microsoft.Exchange -Connecti ... 
> + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
>  + CategoryInfo   : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], 
> PSRemotingTransportException 
>  + FullyQualifiedErrorId : -2144108321,PSSessionOpenFailed 

Ben WinRM'nin ve temel kimlik doğrulaması çerçevesinde çevrimiçi baktık. GPO ile temel kimlik doğrulamayı etkinleştirdim, ancak bu pek bir şey yapmadı.

Herhangi bir bilgi harika olurdu. Eğer MFA Yönetici hesabının etkin hale getirdiği gibi

+0

O365 yönetici portalına ve Powershell üzerinden SharePoint'e bağlayabileceğim hiçbir şeye değmez. – Dansc91

cevap

0

bana görünüyor

Teşekkürler - O devre dışı bırakın. Şerefe.

+0

Azure MFA'nın etkin olması durumunda: bir uygulama şifresi kullanabilirsiniz. – bluuf

İlgili konular