選取 [測試及啟用信箱] 時發生「無法收到電子郵件,因為信箱的授權無效」錯誤
本文提供在 Dynamics 365 Microsoft 中測試信箱組態時所發生錯誤的解決方案。
適用於: Microsoft Dynamics 365
原始 KB 編號: 4459027
徵兆
選取 [ 測試及啟用信箱 ] 以測試信箱之後, [內送電子郵件狀態 ] 會顯示 [ 失敗],並記錄下列詳細數據警示:
無法收到電子郵件,因為信箱信箱 <名稱>的授權無效。
電子郵件伺服器錯誤碼: ErrorInvalidLicense
原因
如果您嘗試連線到未指派 Exchange Online 授權的 Exchange Online 使用者信箱,就會發生此錯誤。
解決方法
若要解決此問題, 請將 Exchange Online 授權指派給使用者信箱。
注意
如果信箱的目的是要作為佇列運作,而不是供個人使用,建議您在 Exchange 中使用共用信箱。 共用信箱不需要 Exchange Online 授權。 若要檢查信箱是否共用,請開啟 Exchange 系統管理中心,選取 [收件者],然後選取 [共用]。 如果信箱出現在此清單中,則為共用信箱。 如果是一般信箱,您會看到將它轉換成共用信箱的選項。
其他相關資訊
如果您在警示中選取 [詳細數據 ],您會看到類似下列的詳細資料:
ActivityId: <GUID>
>錯誤: <ResponseMessageType xmlns:q1=“https://schemas.microsoft.com/exchange/services/2006/messages
” p2:type=“q1:FindItemResponseMessageType
” ResponseClass=“Error” xmlns:p2=“https://www.w3.org/2001/XMLSchema-instance
q1><:MessageText>發生內部伺服器錯誤。 作業失敗。信箱 '<Mailbox ID>' 沒有有效的授權。</q1:MessageText><q1:ResponseCode ErrorInternalServerError</q1:ResponseCode><>q1:DescriptiveLinkKey 0</q1:DescriptiveLinkKey><>q1:MessageXml><t:Value Name=“InnerErrorMessageText” xmlns:t=“https://schemas.microsoft.com/exchange/services/2006/types
>此信箱的授權無效。</t:Value t:Value><Name=“InnerErrorResponseCode” xmlns:t=“https://schemas.microsoft.com/exchange/services/2006/types
”>ErrorInvalidLicense</t:Value t:Value><Name=“InnerErrorDescriptiveLinkKey” xmlns:t=“https://schemas.microsoft.com/exchange/services/2006/types
>0</t:Value></q1:MessageXml></ResponseMessageType>