SharePoint setup
Creating Azure AD app for sharepoint access
Log into Azure portal and search for "Microsoft Entra ID"
Under "Manage -> App registrations" create a new registration
Name - choose an app name for integration with SelectZero
Supported account types - Choose "Accounts in this organizational directory only (YourCompany only - Single tenant)"
Redirect URI - can be left empty
Navigate to "Manage -> API Permissions"
Add a new permission
Choose "Sharepoint"
Choose "Application permissions"
From permissions list all we need is "Sites.Read.All"
From "Configured permissions" view you also have to "Grant admin consent for YourCompany "
Navigate to "Overview"
Copy "Application (client) ID" and "Directory (tenant) ID" which we will need for SelectZero integration
Adding SharePoint connection
From connections page add a new SharePoint connection
Server - SharePoint URL with site reference
Folder - Folder reference (Starts with '/Shared documents')
Tenant id - Directory ID from previous step
Client id - Application ID from previous step
After connection is added, certificate key pair is automatically generated
Download connection public certificate from connection view
Uploading certificate to Azure
After we have downloaded our public certificate we will navigate back to Azure portal "Microsoft Entra ID"
Under "Manage -> App registrations" find your app registration
Navigate to "Certificates & secrets"
Select "Certificates" tab
Press "Upload certificate"
Upload the public certificate from SelectZero sharepoint connection
Description can be left empty
After certificate upload you can go back to your SharePoint connection and press "Test" button to check connection (Azure side certificate upload can take a bit of time before connection is reached)
If certificate is successfully added, you should see "Connection successful" message