Set Up SharePoint Online and OneDrive
Prerequisites
Before starting, ensure you have completed the Azure AD Application setup.
Configure SharePoint Online Access
1. Request Graph API Application Permissions
Go to API permissions in your Azure AD application
Click Add a permission
Choose Microsoft Graph, then Application Permissions

Request permissions for the following resources:
Sites.Read.All
2. Request SharePoint API Application Permissions
Go to API permissions
Click Add a permission
Choose SharePoint, then Application Permissions

Request permissions for the following resource:
User.Read.All
Sites.Read.All
3. Grant Admin Consent
Grant admin consent for all requested permissions
If the application is registered with the admin account, you can grant the consent directly
Otherwise, the admin needs to login, go to App Registrations and accept the permissions requested by the amberSearch application
Certificate Setup
4. Generate or Upload Certificate in Amber Admin Settings
Navigate to Amber Admin Settings > Data Sources > SharePoint Online (https://customerName.ambersearch.de/settings/data-sources/sharepoint_online)
Choose one of the following options:
Option A: Generate Certificate (Recommended)
Click "Generate Certificate" - Amber will automatically create a self-signed certificate for you.
Option B: Upload Your Own Certificate
If you prefer to use your own certificate:
Prepare a
.pemor.pfxbundle file containing both Private Key and CertificateSelect your file and click "Upload Certificate"
5. Download Public Key
After generating or uploading your certificate:
In the Amber Admin Settings, locate the section "Update Certificate in Azure AD App Registration"
Click "Download Public Key (.cer)"
Save the
amber_sharepoint.cerfile
6. Upload Certificate to Azure Portal
Select your Azure AD Application for amberSearch
Navigate to Manage > Certificates & secrets
Go to the "Certificates" tab
Click "Upload certificate"
Upload the
amber_sharepoint.cerfile you downloadedCopy the Thumbprint of the newly uploaded certificate
7. Validate Connection in Amber Admin Settings
Return to the Amber Admin Settings:
In the "3. Validate Connection" section, paste the Thumbprint you copied from Azure
Click "Validate"
You should see a success message: "Connection validated successfully! The certificate is active and working."
Final Checks
After completing the steps above, verify that:
Graph API application permissions requested and admin consent granted
SharePoint application permissions requested and admin consent granted
Certificate uploaded to Azure AD and connection validated in Amber Admin Settings
That's it! Your SharePoint Online and OneDrive connection is now configured and ready to use.
If you need assistance, please reach out to us via IT@ambersearch.de