29 Mar’19

D365 Customer Service

Set 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

  • How to enable Document ID in SharePoint Online

    16 May’ 2019

    Introduction: As you know that SharePoint Online can be used as a document management platform and with the help of Docu...

    Read more
  • Count Number of files in SharePoint folder

    15 May’ 2019

    Introduction: This blog explains how to Count No of files in SharePoint folder using MS Flow. Steps to be followed:Sel...

    Read more
  • Professional Services Automation (PSA) for CPA firms

    14 May’ 2019

    With the evolution of Technology, every industry is getting process oriented and so are CPA firms getting more organized...

    Read more
  • What if the Resource Requirement Still appears post the task is deleted from Schedule (WBS) in PSA V3?

    13 May’ 2019

    Problem Definition: I have observed a fact in PSA that when the task in PSA Schedule (WBS) is deleted, the corresponding...

    Read more
  • Discount Settings for D365 Sales Line Items – Line Items or Per Unit?

    10 May’ 2019

    For Line Item entities Opportunity Products, Quotes Products, Order Products or Invoice Products, you can chose what typ...

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