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:

Create and configure a new application
1
Log in to Microsoft Azure
Log in to your Microsoft Azure portal.

2
Navigate to App registrations
Go to your Microsoft Entra admin center.In the left navigation bar, click Applications > App registrations.

3
Register a new application
Under App registrations, click the + New registration button.

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

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

6
Obtain the application client secret
Under Client credentials on the right, click Add a certificate or secret.
Under Client secrets, click the + New client secret button.
Under Add a client secret, enter a description and select your desired expiration date for this secret.Click Add to proceed.
The new client secret will be displayed. Copy the Value and store it safely to be used in a later step.


Please keep in mind that a new secret will need to be generated when this one expires.


7
Set the application API permissions
Click API permissions near the left navigation.
Under Configured permissions, click Add a permission.
Under Request API permissions, click Microsoft Graph.
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

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 Grant admin consent to approve all of the listed permissions.Click Yes to confirm admin approval.

9
Add a 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 Add a platform.
Under Configure Platforms on the right, click Single-page application.
Enter the following Redirect URI:

Press Configure to continue, then Save in the Authorization screen you are returned to.


https://app.stackone.com
Get your SharePoint base URL
Your SharePoint base URL follows this format:- Opening your Microsoft SharePoint site
- Copying the base URL from your browser’s address bar
Available data
This integration has the following Documents resources available from the provider:- Drives
- Files
- Folders