Setting Up a Microsoft Entra Application for Sharing Documents Via SharePoint

Prev Next

These steps are required to configure aSharePoint integration application in your Microsoft 365 tenant. This process involves registering a new application and granting it the necessary permissions to read site and file data.

Step 1: Register a new DataBee CCM Application in Microsoft Entra ID

This step creates a unique identity for your application, allowing it to authenticate with Microsoft Graph.

  • Log in to the Microsoft Entra Admin Center:

    • Go to https://entra.microsoft.com and sign in with a Global Administrator, Application Administrator, or Cloud Application Administrator account.

  • Navigate to App Registrations:

    • In the left-hand navigation pane, go to Identity > Applications > App registrations.

  • New Registration:

    • Click New registration.

  • Name: Enter a descriptive name for your application (e.g., "DataBee CCM for SharePoint").

  • Supported account types: Select "Accounts in this organizational directory only (Default Directory only - Single tenant)."

  • Redirect URI: You can leave this blank for a script that does not involve user sign-in.

  • Click Register.

  • Once the application is registered, you will be taken to its overview page.

  • Copy the "Application (Client) ID" and save it. This is a crucial value for your application's configuration and will be needed to set up connectivity with DataBee.

Step 2: Create an OAuth2 Client Secret

Your application needs a credential to prove its identity to Microsoft Entra ID.

Client Secret

  • On your application's page, navigate to Certificates & secrets.

  • Under "Client secrets," click New client secret.

  • Description: Enter a description (e.g., "DataBee SharePoint Secret").

  • Expires: Choose an expiration period (e.g., 24 months).

  • Click Add.

  • Copy the "Value" of the secret. This is the only time you can copy this value. Save it securely.

Step 3: Grant API Permissions

This step grants your application the specific permissions it needs to read data from SharePoint. Since DataBee needs to read all files across all sites, you will use Application Permissions.

  • On your application's page, navigate to API permissions.

  • Click Add a permission.

  • In the "Microsoft APIs" tab, select Microsoft Graph.

  • Choose Application permissions. This is critical for background services.

  • Search for and select the following permissions:

    • Sites.Read.All: Required to read the metadata of all site collections, lists, and list items.

    • Files.Read.All: Required to read the files and folders (drive items) in all site collections.

  • Click Add permissions.

  • Grant Admin Consent:

    • The permissions you've added are initially in a "Not granted" state.

    • As an administrator, click the "Grant admin consent for <Your Tenant>" button.

    • Confirm the action. The status for both permissions should now show a green checkmark with "Granted for <Your Tenant>."

Provide the Following Values for Integration as a DataBee SharePoint Connector

When creating a new sub-metric using SharePoint you will need to enter the following values. Once you’ve created a SharePoint connector in DataBee you can reuse it for additional sub-metrics and reference different files or folders.

  • Tenant ID: You can find this on the "Overview" page of the app registration. It's also known as the "Directory (tenant) ID."

  • Client ID: The "Application (Client) ID" from Step 1.

  • Client Secret Value : The credential value you obtained in Step 2.

  • Site URL: URL of the Site

  • Region: Region of Microsoft tenant

Copyright © 2026 DataBee®, A Comcast Company.
DataBee® is a registered trademark of Comcast.