Ensure that your Microsoft account has the “Global Administrator” and “SharePoint Administrator” Roles assigned.
You can view and manage user role assignments in your Microsoft Admin center.
For users outside of your organization to connect with your Microsoft application, a Microsoft Partner Center account is required. Read moreYour Microsoft application must have your MPN ID assigned under Branding & Properties > Publisher Verification:
Sharepoint Mpn Pn
If you’ve been directed to StackOne to integrate with Sharepoint, the following steps will help you understand the process and any necessary actions to configure a successful integration.

Create and Configure a New Application

1

Log in to Microsoft Azure

Log in to your Microsoft Azure portal.
Azure Login Pn
2

Navigate to App Registrations

Go to your Microsoft Entra admin center.In the left navigation bar, click “Applications” > “App registrations”.
Ms Entra App Registrations Pn
3

Register a New Application

Under App Registrations, click the ”+ New registration” button.
Ms Entra New App Registration Btn Pn
4

Configure Application Details

Under Register an application, input the following details:
  • Name
  • Supported account types
    • Select “Accounts in any organizational directory (Any Microsoft Entra ID tenant - Multitenant) and personal Microsoft accounts
  • Redirect URI
    • Select “Web
    • Enter the URI: https://api.stackone.com/connect/oauth2/sharepoint/callback
Once complete, click “Register” to create the new application.
Ms Entra New App Docs Sharepoint Details Pn
5

Obtain the App Client ID and Tenant ID

After registration, you’ll be taken to the application overview page.Copy the following values and store them safely to be used in a later step:
  • Application (client) ID
  • Directory (tenant) ID
Ms Entra App Client Tenant Ids Sharepoint Pn
6

Obtain the Application Client Secret

Under Client credentials on the right, click “Add a certificate or secret”.
Ms Entra App Click Client Secret Pn
Under Client secrets, click the ”+ New client secret” button.
Ms Entra New App Client Secret Sharepoint Pn
Under Add a client secret, enter a description and select your desired expiration date for this secret.
Please keep in mind that a new secret will need to be generated when this one expires.
Click the “Add” button to proceed.
Ms Entra New Client Secret Details Sharepoint Pn
The new client secret will be displayed. Copy the Value and store it safely to be used in a later step.
Make sure to copy this value now. It will not be displayed again.
Ms Entra Copy Client Secret Value Pn
7

Set the Application API Permissions

Click “API permissions” near the left navigation.
Ms Entra App Api Permissions Pn
Under Configured permissions, click the “Add a permission” button.
Ms Entra Add App Api Permission Sharepoint Pn
Under Request API permissions, click “Microsoft Graph”.
Ms Entra App Api Permissions Microsoft Gro Pn
The application requires the following permissions.Delegated Permissions
  • Files.Read - Read user files
  • Files.Read.All - Read all files that user can access
  • Files.ReadWrite - Read and upload user files
  • offline_access - Maintain access to data you have given it access to
  • Sites.Read.All - Read items in all site collections
  • Sites.ReadWrite.All - Edit or delete items in all site collections
  • User.Read - Sign in and read user profile
  • User.ReadBasic.All - Read all users’ basic profiles
After selecting all of the listed permissions above, click the “Add permissions” button.
Ms Entra App Api Permissions Sharepoint Pn
8

Grant Admin Consent for Application Permissions

All of the added permissions will be listed under Configured permissions. Please ensure that all of the permissions above are listed.Click the “Grant admin consent” button to approve all of the listed permissions.Click the “Yes” button to confirm Admin approval.
Ms Entra Confirm Admin Consent Pn
9

Add Single-Page Application Redirect URI

To support the File Picker, an additional Redirect URI is required for the Single-Page Application platform configuration.Navigate to Authentication under Manage, and click the “Add a platform” button.
Share Point Auth Add Platform Btn Pn
Under Configure Platforms on the right, click Single-page application.
Sharepoint Spa Platform Pn
Enter the following Redirect URI:
https://app.stackone.com
Sharepoint Spa Redirect Pn
Press the “Configure” button to continue, then the “Save” button in the Authorization screen you are returned to.

Get your SharePoint Base URL

Your SharePoint base URL follows this format:
https://{your-domain}.sharepoint.com
You can find this URL by:
  1. Opening your Microsoft SharePoint site
  2. Copying the base URL from your browser’s address bar

Congratulations, you’re all set! If you face any issues with the steps mentioned above, please contact us by emailing integrations@stackone.com. We’re always here to assist you!

Available data

This integration has the following Documents Resources available from the provider:
  • Drives
  • Files
  • Folders