This page describes how to set up and configure a third-party configuration before creating the Outlook data store.
Set up authentication and permissions
You need to set up authentication and permissions in Microsoft Entra admin center. This is crucial for allowing the connector to access and synchronize data.
Register Entra app for Microsoft Outlook connector
Before creating the Microsoft Outlook connector in Gemini Enterprise, register a Microsoft Entra application to enable secure access.
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 the Entra IDand 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 for data ingestion
If you are using Data ingestionas the connection mode and Federated credentialsas authentication method, then 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 Microsoft Outlook data store creation in the data section.
- In the Namefield, enter a unique label for the federated credential.
- Click Addto grant access.
Create an OAuth 2.0 configuration
To create a connection using the OAuth 2.0 authentication method, you need to obtain a client ID, client secret, and your Tenant ID from your Microsoft Entra application registration page.
Obtain client ID and client secret
-
To obtain the client ID, do the following:
- In the app navigation menu, select Overview.
- Copy the Application (client) ID.
-
To obtain the client secret for the app, do the following:
- In the app navigation menu, select Certificates & secrets.
- Click New client secret.
- In the client secret pane, do the following:
- In the Descriptionfield, enter a description for the secret.
- In the Expireslist, select an expiry duration.
- Click Add.
- Copy the client secret from the Valuecolumn.
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:
-
On the app page, select API permissions.
-
Click Add permissions.
-
In the Request API permissionspage, select Microsoft Graph.
-
Search for and select the following permissions based on your connection mode:
Connection modePermissionPurposeFederated searchMail.Read
Calendars.Read
Contacts.Read(Delegated) Allows the data store to read the signed-in user's mailbox, calendar events, and contacts.Data ingestionCalendars.Read(Application) Allows the data store to read events of all calendars.Calendars.ReadBasic.All(Application) Allows the data store to read events of all calendars, except for properties such as body, attachments, and extensions.Contacts.Read(Application) Allows the data store to read all contacts in all mailboxes.Mail.Read(Application) Allows the data store to read mail in all mailboxes.Mail.ReadBasic(Application) Allows the data store to read basic mail properties in all mailboxes. Includes all properties except body, previewBody, attachments and any extended properties.Mail.ReadBasic.All(Application) Allows the data store to read basic mail properties in all mailboxes. Includes all properties except body, previewBody, attachments and any extended properties.User.Read(Delegated) Allows the data store to read the profile of signed-in users.User.Read.All(Application) Allows the data store to read the full set of profile properties, reports, and managers of other users in your organization.User.ReadBasic.All(Application) Allows the data store to read a basic set of profile properties of other users in your organization.ActionsMail.Send(Delegated) Allows the data store to send mail as users in the organization.Calendars.ReadWrite(Delegated) Allows the data store to create, read, update, and delete events in user calendars and download attachments.Contacts.ReadWrite(Delegated) Allows the data store to create, read, update, and delete user contacts. -
Click Add Permissions.

