You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you select **Test Connection**on an email server profile record in Dynamics 365, the test fails and you might see one of the following errors:
17
+
When you [test connection on an email server profile record](/power-platform/admin/connect-exchange-server-on-premises#create-an-email-server-profile) in Dynamics 365, the test fails and you might see one of the following errors:
18
18
19
19
> Remote server error: (401) Unauthorized. Make sure the user name and password you entered are correct and try again.
20
20
@@ -33,11 +33,17 @@ To solve this issue, verify the username and password are correct.
33
33
34
34
## Cause 2: Firewall blocking connectivity
35
35
36
-
If you use Dynamics 365 (online) with Exchange on-premises, ensure your firewall allows connectivity from the list of IP ranges documented in [Microsoft Dynamics CRM Online IP Address Ranges](https://support.microsoft.com/help/2728473) including the referenced [Azure IP Ranges](https://support.microsoft.com/topic/microsoft-dynamics-crm-online-ip-address-ranges-0b22a844-e61d-443b-482f-945de79f764d).
36
+
If you use Dynamics 365 (online) with Exchange on-premises, ensure your firewall allows connectivity from the list of IP ranges documented in [Power Platform URLs and IP address ranges](/power-platform/admin/online-requirements#ip-addresses-and-urls) including the referenced [Azure IP ranges](/power-platform/admin/online-requirements#ip-addresses-required).
37
37
38
38
## Cause 3: Unreliable test connection results
39
39
40
-
The test connection results aren't always reliable. If the same username and password works when [testing connection with Microsoft Remote Connectivity Analyzer](/power-platform/admin/test-connection-exchange-server-onpremises#test-connection-with-the-microsoft-remote-connectivity-analyzer), use the **Test & Enable Mailboxes** option in Dynamics 365 instead of the **Test Connection** option. If the **Test & Enable Mailboxes** is successful for your mailboxes, you can disregard the results from the **Test Connection** dialog.
40
+
The test connection results aren't always reliable. If the same username and password works when [testing connection with Microsoft Remote Connectivity Analyzer](/power-platform/admin/test-connection-exchange-server-onpremises#test-connection-with-the-microsoft-remote-connectivity-analyzer), use the [Test & Enable Mailboxes](/power-platform/admin/connect-exchange-online#test-the-configuration-of-mailboxes) option in Dynamics 365 instead of the **Test Connection** option. If the **Test & Enable Mailboxes** is successful for your mailboxes, you can disregard the results from the **Test Connection** dialog.
41
41
42
42
> [!NOTE]
43
43
> If any failures occur using the **Test & Enable Mailboxes** button, see the **Alerts** tab in the mailbox record and review any help links that are included.
44
+
45
+
## More information
46
+
47
+
-[Connect to Exchange Server (on-premises)](/power-platform/admin/connect-exchange-server-on-premises)
48
+
-[Test connection to Exchange Server (on-premises)](/power-platform/admin/test-connection-exchange-server-onpremises)
49
+
-[Connect Customer Engagement (on-premises) to Exchange Online](/dynamics365/customerengagement/on-premises/admin/connect-dynamics-365-on-premises-exchange-online?view=op-9-1)
0 commit comments