2016-12-13 111 views
0

我的客戶正試圖使用​​IMAP在Outlook的Web中使用「連接帳戶」來連接一個Office 365電子郵件帳戶。執行此操作時,會失敗,並顯示無法連接到帳戶的錯誤。該帳戶無法通過「不安全」方法連接,也無法在手動輸入IMAP設置時使用。 Office 365電子郵件帳戶位於單獨的Office 365帳戶上,但我懷疑這也發生在同一Office 365帳戶上時。使用IMAP將一個Office 365電子郵件帳戶連接到使用已連接帳戶的另一個人

我發佈這個作爲一個問題,然後回答我自己的問題,努力幫助其他人有同樣的問題。

回答

0

這似乎是Microsoft Outlook for Web中的一個錯誤。您可以使用Powershell手動創建「連接的帳戶」來解決此問題。

通過在Powershell上單擊鼠標右鍵,以管理員身份運行Powershell。

set-ExecutionPolicy remotesigned 

$LiveCred = Get-Credential 

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $LiveCred -Authentication Basic -AllowRedirection 

Import-PSSession $Session 

然後執行以下命令:那麼下面

New-ImapSubscription -Name "Connected account" -Mailbox "Email address of the target mailbox" -EmailAddress "Email address of the source mailbox" -IncomingUserName "Email address of the source mailbox" -IncomingPassword (ConvertTo-SecureString -String 'Password of the source mailbox' -AsPlainText -Force) -IncomingServer Outlook.office365.com -IncomingSecurity Ssl -IncomingPort 993 

是你需要替換的字符串

您可以使用下面的命令逐個連接Powershell的到Exchange Online值: 目標郵箱的電子郵件地址 源郵箱的電子郵件地址 源郵箱的密碼

相關問題