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
O365 yönetici portalına ve Powershell üzerinden SharePoint'e bağlayabileceğim hiçbir şeye değmez. – Dansc91