29 Mar’19

D365 Customer ServiceSet up Gmail Authentication for D365 Portals


This blog explains How to set up Gmail Authentication for D365 Portals.


1.) Register D365 Portal with Google API
Go to Google API Console: https://console.developers.google.com/apis/dashboard?project=symmetric-axle-236007

2.) Create New Project or select the Project.

3.) Click on “+Enable APIS and Services

4.) Select “Social” under category.

5.) Select “Google+API”

6.) Click on Enable.

7.) Configure consent screen.

– Enter Application Name.
– Enter Authorized domains: “microsoftcrmportals.com”
– Enter Application Homepage link: “URL of D365 Portal”

8.) Click on credentials 🡪 Create Credentials and select OAuth Client ID.

9.) Enter the below details.

– Select the Application type as “Web Application”
– Enter Name.
– Authorized JavaScript origins: “Enter Portal URL”
– Authorized redirect URIs: “PortalURL/signin-google”

– Click on Create.
– Popup window will come copy the “client ID” and “client secret” values from that.

Step 2: Creating Site Settings in CRM.
1. Go to Portals 🡪 Site Settings.
2. Create new records as per below.

Name: Authentication/OpenAuth/Google/ClientId
Value: Copy and Paste the Client ID value.

Name: Authentication/OpenAuth/Google/ClientSecret
Value: Copy and Paste the Client Secret value.

Now you can see “Google” as sign in Option.




Written by

Vaishali Vyas

Software Engineer

Leave a Reply

Your email address will not be published. Required fields are marked *

Want to streamline your business processes?

  • This field is for validation purposes and should be left unchanged.

Recent Articles

  • Expenses in PSA for Fixed Bid and T&M contracts

    23 August’ 2019

    Problem Definition: One of my clients decided to use Expense module in PSA and to his surprise he could see the amount v...

    Read more
  • Setup Dockers

    23 August’ 2019

    Docker is an independent container platform that enables organizations to seamlessly build, share and run any applicatio...

    Read more
  • Qualify Lead in D365 CE: Select which entity records should be created

    20 August’ 2019

    Wave 2019 Updates brought some really sought-after features. Another one which I would like to bring up is the Lead Qual...

    Read more
  • Early Opt-in for October 2019 Wave 2 Updates

    20 August’ 2019

    August 2, 2019 was when the Wave 2 Updates were to be out. And here we are! By now, you should have gotten the option to...

    Read more
  • Setting Unified Interface App Icons

    20 August’ 2019

    Default App Icons for typical D365 environment look like these.But here’s what you can do to change these to put...

    Read more
  • We respect your privacy.
  • This field is for validation purposes and should be left unchanged.