|
1 | 1 | --- |
2 | | -title: Mailbox fails to be tested and enabled |
3 | | -description: This article provides a resolution for the problem that occurs when a Dynamics 365 mailbox is configured to use Server-Side Synchronization with Gmail. |
| 2 | +title: Mailbox set up with Gmail fails to be tested and enabled |
| 3 | +description: This article provides a resolution for the problem that occurs when a Dynamics 365 mailbox is configured to use server-side synchronization with Gmail. |
4 | 4 | ms.reviewer: |
5 | 5 | ms.date: 12/11/2024 |
6 | 6 | ms.custom: sap:Email and Exchange Synchronization |
7 | 7 | --- |
8 | | -# Troubleshooting Server-Side Synchronization with Gmail |
| 8 | +# Troubleshooting server-side synchronization with Gmail |
9 | 9 |
|
10 | 10 | > [!IMPORTANT] |
11 | 11 | > As documented [here](https://support.google.com/accounts/answer/6010255), starting May 30th of 2022, Gmail is ending support for apps that are configured to only use your username and password. To use server-side synchronization with Gmail, follow the steps in [Connect Gmail accounts by using OAuth 2.0](/power-platform/admin/connect-gmail-oauth2). |
12 | 12 |
|
13 | | -This article helps you resolve the problem that occurs when a Dynamics 365 mailbox is configured to use Server-Side Synchronization with Gmail. |
| 13 | +This article helps you resolve the problem that occurs when a Dynamics 365 mailbox is configured to use server-side synchronization with Gmail. |
14 | 14 |
|
15 | 15 | _Applies to:_ Microsoft Dynamics 365 |
16 | 16 | _Original KB number:_ 4493342 |
17 | 17 |
|
18 | 18 | ## Symptoms |
19 | 19 |
|
20 | | -When a Dynamics 365 mailbox is configured to use Server-Side Synchronization with Gmail, the mailbox may fail to be tested and enabled successfully or incoming emails are not received in Dynamics 365. |
| 20 | +When a Dynamics 365 mailbox is configured to use [server-side synchronization](/power-platform/admin/server-side-synchronization) with Gmail, the mailbox might fail to be [tested and enabled]((/power-platform/admin/connect-exchange-online#test-the-configuration-of-mailboxes)) successfully or incoming emails aren't received in Dynamics 365. |
21 | 21 |
|
22 | | -## Cause |
| 22 | +## Cause 1:Incorrect port configuration |
23 | 23 |
|
24 | | -If the mailbox fails to be tested and enabled, this can be caused by the incoming or outgoing ports not being configured correctly. A Dynamics 365 email server profile for Gmail should be configured to use port 995 for incoming and port 587 for outgoing. |
25 | | -If the mailbox was tested and enabled successfully but emails are not being created in Dynamics 365, this can occur if you are not using **recent mode**. |
| 24 | +If your mailbox fails to be tested and enabled, it might be due to incorrect configuration of incoming or outgoing ports. A Gmail email server profile in Dynamics 365 should use port 995 for incoming mail and port 587 for outgoing mail. |
26 | 25 |
|
27 | | -## Resolution |
| 26 | +To solve this issue, verify that your email server profile is set up with port 995 for incoming emails and port 587 for outgoing emails. Enable settings from [Less secure apps & your Google Account](https://support.google.com/accounts/answer/6010255), if necessary. |
28 | 27 |
|
29 | | -Verify the email server profile is configured to use port 995 for incoming and port 587 for outgoing. You may also need to enable the following setting: |
| 28 | +## Cause 2: Absence of "recent mode" |
30 | 29 |
|
31 | | -[Less secure apps & your Google Account](https://support.google.com/accounts/answer/6010255) |
| 30 | +If the mailbox is tested and enabled successfully but emails aren't received in Dynamics 365, it could be because "recent mode" isn't being used. |
32 | 31 |
|
33 | | -If the mailbox is tested and enabled successfully but incoming email is not created in Dynamics 365, try using **recent mode**. Refer to the following article and expand the section: **Emails aren't downloading correctly**. |
| 32 | +Update the Gmail email address within Dynamics 365 by including `recent:` at the beginning of the address. For example, change `[email protected]` to `recent:[email protected]`. For more information, see [Emails aren't downloading correctly ](https://support.google.com/mail/answer/7104828#zippy=%2Cemails-arent-downloading-correctly). |
34 | 33 |
|
35 | | -[Read Gmail messages on other email clients using POP](https://support.google.com/mail/answer/7104828) |
36 | | - |
37 | | -You can follow the steps mentioned in the article above to update the Gmail email address in Dynamics 365 to include `recent:` at the beginning. Example: `recent:[email protected]`. |
| 34 | +[!INCLUDE [Third-party disclaimer](../../../includes/third-party-disclaimer.md)] |
0 commit comments