Preparing to use SharePoint Online Connector (Modern Auth)
This article provides steps to follow to ensure a successful set-up of the SharePoint Online Connector (SPOC).
Important: You cannot configure the SharePoint Online Connector app to work with two different instances of Gimmal Records. You must provide distinct Microsoft 365 tenants to accomplish this requirement.
For example,
https://test-company.sharepoint.com registered to https://records.gimmal.build
https://company.sharepoint.com registered to https://records.gimmal.cloud
Configure the Azure AD (Entra ID) App Registration
Overview
To connect the SharePoint Online Connector to your Microsoft 365 environment, you need to create an application registration in Azure AD (Entra ID) and grant it permissions to access SharePoint sites.
These instructions are provided for convenience. Please contact your Microsoft 365 Azure Administrator or SharePoint Online administrator for assistance with completing these tasks.
The screenshots below are provided as a guide for your convenience. Microsoft may have made changes to the administrative portal since publication.
Prerequisites
Global Administrator or Application Administrator role in Azure AD
Access to the Azure Portal (https://portal.azure.com)
Step 1: Obtain an X.509 Certificate
Gimmal Records SharePoint Online Connector only supports certificate authentication. A valid x.509 certificate is required. The certificate must allow for an exportable private key.
Export the certificate in both .CER and .PFX formats, including the private key.
Step 2: Register the application in Microsoft Entra
An application registration for the Gimmal Records SharePoint Online Connector must be created in the Entra ID portal.
2.1 Open Entra (formerly Azure AD) Portal
Navigate to https://entra.microsoft.com
Sign in with your administrator account
Click App registrations in the left menu under Entra ID

Click + New registration at the top of the application list

2.2 Create the application
Fill in the registration form:
Field | Value | ||||||||||||
Name | SharePoint Online Connector | ||||||||||||
Supported account types | Accounts in this organizational directory only | ||||||||||||
Redirect URI | ![]()
|
Click Register.

The App Registration Overview screen will appear.
2.3 Save application details

After registration, from the overview screen, copy and save the following values. They will be needed in future steps:
Application (client) ID (A)
Directory (tenant) ID (B)
Note: Keep these values in a secure location - you’ll enter them in the SharePoint Online Connector configuration.
Step 3: Configure Permissions
Continuing in Entra Portal, this step will configure the permissions required by the application registration.

3.1 Add API permissions
Click API permissions under Manage (C)
Click + Add a permission
Select Microsoft Graph
Select Application permissions
3.2 Select required permissions
Search for and add each of these permissions:
✅ Sites.ReadWrite.All
✅ Files.ReadWrite.All
Click the Add permissions button after selecting both options
3.3 Add SharePoint permissions
Click API permissions under Manage
Click + Add a permission
Select SharePoint
Select Application permissions
3.4 Select required permissions
Search for and add each of these permissions:
✅ Sites.FullControl.All
Click Add permissions after selecting.
3.5 Grant admin consent
Click Grant admin consent for [Your Organization]
Click Yes to confirm
Verify: You should see green checkmarks in the Status column for the selected permissions.

3.6 Upload certificate
Click Certificates & secrets under Manage
Click the Certificates tab
Click Upload certificate.
In the right panel, click Select a file.
Select the .CER file that was obtained in Step 1.
Click Add.
Verify the Thumbprint, Start date, and Expires.
Security reminders
🔒 Keep your Client Certificate secure - treat it like a password
📅 Set a calendar reminder to renew the certificate before it expires
Ensure a SharePoint App Catalog has been created
If using the Manage Records options in SharePoint, you will need to deploy an App Package to each site. To enable the deployment of an App Package to SharePoint Online, an App Catalog must exist to host the App Packages. If an app catalog does not exist for your tenancy, follow the guidance from the Microsoft documentation.
Need help?
Please contact Morae Support for assistance.
