Skip to main contentSharePoint OAuth Setup
Follow these steps to configure OAuth authentication for BonData.
Step 1: Register an App in Azure AD
- Go to Azure Portal
- Navigate to Azure Active Directory → App registrations
- Click New registration
- Configure:
- Name:
BonData SharePoint Integration
- Supported account types: Accounts in any organizational directory
- Redirect URI: Web -
https://app.bondata.ai/auth/oauth2/callback
- Click Register
- Go to API permissions → Add a permission
- Select Microsoft Graph
- Choose Delegated permissions and select:
Sites.Read.All - Read items in all site collections
Files.ReadWrite.All - Read and write files
- Click Add permissions
- Click Grant admin consent (requires admin)
Step 3: Create Client Secret
- Go to Certificates & secrets → Client secrets
- Click New client secret
- Add a description and select expiration
- Copy the secret value immediately - it won’t be shown again
Step 4: Note Your Credentials
- Client ID: Found on the Overview page (Application ID)
- Client Secret: The value you just copied
Step 5: Enter Credentials
Click Connect in BonData to authorize via OAuth using your Azure AD app credentials.
Required Fields
OAuth authentication is handled through the Azure AD app. No additional fields are required after setup.