This page describes how to set up and configure a third-party application before creating the Dynamics 365 data store.
Register Microsoft Entra app for Dynamics 365 connector
You must set up an Entra application registration to enable secure access to Dynamics 365 before you can create the connector in Gemini Enterprise.
To register Gemini Enterprise as an OAuth 2.0 application in Entra, do the following:
-
Navigate to Microsoft Entra admin center .
-
In the navigation menu, expand Identityand select App registrations.
-
On the App registrationspage, click New registration.
-
On the Register an applicationpage, do the following:
- In the Namefield, enter a name for your app.
- In the Supported account typessection, select Accounts in this organizational directory only.
- In the Redirect URIsection, do the following:
- In the platform list, select
Web. - In the redirect URI field, enter
https://vertexaisearch.cloud.google.com/console/oauth/default_oauth.html.
- In the platform list, select
- Click Register. Microsoft Entra creates your app and displays the overview page of your app.
-
In the app navigation menu, click Authentication.
-
Click Add redirect URI.
-
In the platform selection pane, do the following:
- Select Web.
- In the Redirect URIfield, enter
https://vertexaisearch.cloud.google.com/oauth-redirect. - Click Configure.
Add federated credential
To enable access to your Dynamics 365 instance using federated credentials, do the following:
-
In the app navigation menu, click Certificates & secrets.
-
Select the Federated credentialstab.
-
Click Add credential.
-
Select Other issuerfrom the Federated credential scenariolist.
-
In the Issuerfield, enter
https://accounts.google.com. -
In the Subject identifierfield, enter the value that you get from the Google Cloud console. This value is generated during the Dynamics 365 datastore creation in the data section.
-
In the Namefield, enter a unique label for the federated credential.
-
Click Addto grant access.
Obtain client credentials
To connect the Dynamics 365 data store, obtain the application's Client ID and your Tenant ID:
Obtain client ID
- In the app navigation menu, select Overview.
- Copy the Application (client) ID.
Obtain Tenant ID
Your tenant ID can be found in the Tenant IDbox on the overview page in the Microsoft Entra admin center.
Configure Microsoft API permissions
To configure the required API permissions for the app, do the following:
-
Navigate to the app page.
-
In the app navigation menu, select API permissions.
-
Click Add permissions.
-
In the Request API permissionspane, select Dynamics CRM.
-
Search for and select the following delegated permission:
- user_impersonation(Access Dynamics 365 as organization users)
-
Click Add Permissions.

