--- title: Create a Microsoft OneDrive external content connector description: Create an external content connector to retrieve searchable content and security principals from your Microsoft OneDrive source system. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/platform-administration/search-administration/create-ext-cont-connector-microsoft-onedrive.html release: australia product: Search Administration classification: search-administration topic_type: task last_updated: "2026-09-15" reading_time_minutes: 10 keywords: [ServiceNow Otto, AI Agents, generative AI, agentic AI] breadcrumb: [Microsoft OneDrive external content connector, Configure, External Content Connectors, Search administration, Configure core features, Administer the ServiceNow AI Platform] --- # Create a Microsoft OneDrive external content connector Create an external content connector to retrieve searchable content and security principals from your Microsoft OneDrive source system. ## Before you begin A source system administrator must have already configured your Microsoft OneDrive source system to allow access by the Microsoft OneDrive external content connector. For the required source system configuration steps, see [Create a public/private key pair for the Microsoft OneDrive external content connector](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-administration/search-administration/gen-cert-msod-ext-cont-connector.md) and [Configure Microsoft OneDrive for external content indexing](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-administration/search-administration/configure-microsoft-onedrive-external-content-indexing.md). Role required: sn\_ext\_conn.xcc\_admin ## Procedure 1. Navigate to **All** > **External Content Connectors** > **External Content Admin Home**. 2. If prompted to switch scope, select **Switch scope** and select the application scope specified in the prompt. 3. In the Connectors section, select **New**. 4. On the Choose source page, select the **OneDrive** tile, then select **Next**. 5. On the Connection settings page, fill in the connection settings.
| Connection setting | Description |
|---|---|
| Connector name | Unique name for this Microsoft OneDrive external content connector. |
| Application \(client\) ID | Application \(client\) ID for the OAuth 2.0 application defined in the Microsoft Entra admin center that grants access to your Microsoft OneDrive instance. If you have access to the OAuth 2.0 application's registration record in the Microsoft Entra admin center, you can navigate to **Overview** and copy this ID from the **Application \(client\) ID** field in the Essentials section. If you can't access the OAuth 2.0 application's registration record in the Microsoft Entra admin center, ask your Microsoft Entra administrator for the application's **Application \(client\) ID** value. |
| Directory \(tenant\) ID | Directory \(tenant\) ID for the OAuth 2.0 application defined in the Microsoft Entra admin center that grants access to your Microsoft OneDrive instance. If you have access to the OAuth 2.0 application's registration record in the Microsoft Entra admin center, you can navigate to **Overview** and copy this ID from the **Directory \(tenant\) ID** field in the Essentials section. If you can't access the OAuth 2.0 application's registration record in the Microsoft Entra admin center, ask your Microsoft Entra administrator for the application's **Directory \(tenant\) ID** value. |
| JKS Certificate | Java KeyStore \(JKS\) file containing a public/private key pair generated with the Java keytool utility. These keys must match the public key from the DER-encoded binary X.509 format certificate uploaded to the OAuth 2.0 application defined in the Microsoft Entra admin center that allows the Microsoft OneDrive external content connector to access your source system data. If you don't have a copy of the JKS file, ask your security administrator for it. You can't download the JKS file from the OAuth 2.0 application's registration record in the Microsoft Entra admin center. |
| JKS certificate password | Password for the Java KeyStore \(JKS\) file specified in **JKS Certificate**. If you don't have the password for the JKS file, ask your security administrator for it. You can't retrieve the JKS certificate password from the registration record for the OAuth 2.0 application defined in the Microsoft Entra admin center that allows the Microsoft OneDrive external content connector to access your source system data. |
| JKS certificate thumbprint | Base64-encoded or hexadecimal SHA1 hash for the DER-encoded binary X.509 format public key certificate uploaded to the OAuth 2.0 application defined in the Microsoft Entra admin center that allows the Microsoft OneDrive external content connector to access your source system data. If you don't have this hash, ask your Microsoft Entra administrator for the SHA1 thumbprint hash for the application's DER-encoded binary X.509 format public key certificate, in either base64-encoded or hexadecimal format. |
| Settings for regulated markets | |
| Configure settings for regulated markets | Option to display **Authority endpoint** and **Graph API endpoint** settings fields. |
| Authority endpoint | URL for the Microsoft authorization server that you use to log in to your source system \(Microsoft tenant\). This field appears only when **Configure settings for regulated markets** is selected. Default value: `https://login.microsoftonline.com/` Cloud service endpoint URLs include: - `https://login.microsoftonline.com/`: Endpoint URL for the Microsoft 365 cloud - `https://login.microsoftonline.us/`: Endpoint URL for the Microsoft 365 GCC and GCC High cloud and the Microsoft 365 DoD cloud If you don't know the authority endpoint URL to use, ask your Microsoft administrator for it. **Important:** The authority endpoint URL must end with a trailing slash. |
| Graph API endpoint | Microsoft Graph API endpoint for your source system \(Microsoft tenant\). This field appears only when **Configure settings for regulated markets** is selected. Default value: `https://graph.microsoftonline.com/` Microsoft Graph API endpoint URLs include: - `https://graph.microsoftonline.com/`: Endpoint URL for the Microsoft Graph global service cloud - `https://graph.microsoftonline.us/`: Endpoint URL for the Microsoft Graph for US Government L4 cloud - `https://dod-graph.microsoftonline.us/`: Endpoint URL for Microsoft Graph for US Government L5 \(DOD\) cloud If you don't know the Microsoft Graph API endpoint URL to use, ask your Microsoft administrator for it. **Important:** The Microsoft Graph API endpoint URL must end with a trailing slash. |
| Validate connection settings with test crawl | Option to run a short test crawl to verify whether your connection settings and source system permissions are correctly set. For more details on validating connection settings and source system permissions with a test crawl, see [Verify your connection settings and source system permissions for an external content connector](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-administration/search-administration/verify-connection-settings-ext-cont-connector.md). **Important:** For connectors that support user permission crawls, all searchable content and metadata indexed by the validation test crawl is public until the connector completes its first user permission crawl. This means the test crawl's content will be visible to all users of portals and search applications that the connector is linked to. |