無法收到 Email,因為授權無效,因為 Microsoft Dynamics 365

本文提供無法收到錯誤 Email 的解決方法,因為當您在 Microsoft Dynamics 365 中選取 [測試 & 啟用信箱] 按鈕時所發生的信箱授權無效

適用於:Microsoft Dynamics 365
原始 KB 編號: 4459027

徵狀

選取 Microsoft Dynamics 365 中的 [測試 & 啟用信箱] 按鈕之後,[傳入 Email 狀態] 會顯示為 [失敗],並記錄具有下列詳細數據的警示:

無法接收 Email,因為信箱<的授權無效信箱名稱>。
Email 伺服器錯誤碼:ErrorInvalidLicense

原因

如果您嘗試連線到 Microsoft Exchange Online 使用者信箱,而且該使用者/信箱沒有指派 Exchange Online 授權,就會發生此錯誤。

解決方案

將 Exchange Online 授權指派給使用者/信箱。 如需如何在 Office 365 中指派授權的詳細資訊,請參閱新增用戶並同時指派授權

注意事項

如果信箱的目的是做為佇列而非用戶,建議您在 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-instanceq1:MessageText>發生內部伺服器錯誤。 作業失敗。信箱 「<信箱標識碼>」沒有有效的授權。</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>