Knowledge Center

17 Jun, 2020

Gmail Integration with Dynamics 365

Posted on 17 Jun, 2020 by Admin, Posted in Dynamics 365

Gmail Integration with Dynamics 365 Blogs

Gmail Integration with Dynamics 365

Configuring Gmail for the Integration

Firstly, we will have to look at taking a look at our settings in Gmail to permit external access to the mailbox using POP3 protocol.

  1. From, navigate to Settings > Forwarding and POP/IMAP
  2. Select Enable POP for mail that arrives from now on and for When messages are accessed with POP select archive Gmail’s copy.
  3. Click on Save Changes.

Gmail will at times block connections from third party apps. To enable this connection:

  1. Go to
  2. Toggle Allow less secure apps: ON
Creating a Gmail Email Server Profile in Dynamics

We must next configure the Email Server Profile in Dynamics 365 to connect to Gmail. Dynamics 365 will want to use Exchange Online by default, so we must create an entirely new profile so the mailboxes can connect to Google’s servers.

  1. Navigate to your Dynamics 365 instance using your custom URL.
  2. Go to Settings > Email Configuration > Email Server Profiles
  1. Click on + New> POP3/SMTP Server
  1. Type in a name, such as “Gmail”
  2. Input the following values:
    1. Incoming Server Location:
    2. Outgoing Server Location:
    3. Authenticate Using Credentials Specified by a User or Queue
    4. Use same settings for Outgoing Yes
  1. Expand the Advancedtab and enter the following values:
    1. Incoming Port: 995
    2. Outgoing Port: 465
  1. Click Save and Close.
Enabling Server-Side Synchronization in Dynamics

Server-side synchronization is the mechanism that provides the integration between Dynamics 365 and an email server. This is Microsoft’s preferred method of synchronization, with the other two options (Outlook and the Email Router) being gradually phased out. To ensure that this is enabled:

  1. Navigate to Settings > Email Configuration > Email Configuration Settings
  2. Verify that Process Email Using is set to Server-Side Synchronization
  3. Verify that the Server Profile is populated with the Gmail Server Profile you just created. If not, change it as such.
  4. Click OK.
Setting-up Mailboxes

Our final steps will be to approve our mailboxes to use the Email Server Profile we created to communicate with Google’s servers.

  1. Go to Settings > Email Configuration > Mailboxes
  2. Double-click on the mailbox you would like to configure.
  3. Modify the following values:
    • Allow to Use Credentials for Email Processing: Yes
    • Enter the Gmail account credentials in the username and password section.
    • Server Profile:
    • Incoming Email: Server-Side Synchronization or Email Router
    • Outgoing Email: Server-Side Synchronization or Email Router

4. Click on Save.

5. Click on Approve Email (note that this will only work if you are an Office 365 Global Admin)

6. Click OK.

7. Click on Test and Enable Mailbox

8. Note that, when you are prompted to “Sync items with Exchange from this Dynamics 365 Organization only,” leave the box unchecked and hit Ok.

9. You should be able to see the status of the mailbox in the alerts section.

10. You can now see the status of the mailbox you just configured in My Active Mailbox.


This is a Required Field


Recent Updates

02 Apr, 2024

Sales accelerator in D365 Sales

Introduction: In this blog we will see how Sales accelerator works and also how 'My work list' displays the work items.…

01 Apr, 2024

How to Create Entitlement in D365 Customer Service

In this blog we will learn about what is Entitlement and how to create it. 1)what is Entitlement? Entitlement is…

22 Mar, 2024

How to Create Product Catalog in Dynamics 365 for Sales - Part 1

In this blog series we will learn how to set up a product catalog in D365 Sales. The Product Catalog contains…