Sign into the Azure Portal (portal.azure.com) with your Microsoft 365 Admin account. Navigate to Microsoft Entra ID → App registrations → New registration.
Name the application UniSearch Cloud Indexer and select "Accounts in this organizational directory only".
In the app registration menu, click API permissions → Add a permission → Microsoft Graph → Application permissions.
Search for and check the following permission:
Files.Read.All
Go to Certificates & secrets → Client secrets → New client secret. Set description to UniSearch Sync and expiry to 24 months. Copy the Value immediately (it will be masked after leaving the page).
From the app Overview blade, copy the Application (client) ID and Directory (tenant) ID.
In UniSearch, navigate to Settings → Cloud Connectors, click Add Cloud Account, select Microsoft OneDrive, and paste your Tenant ID, Client ID, Client Secret, and User Email (e.g. user@yourcompany.com).
Click Save & Test Connection. Once verified, click Sync Now. UniSearch will retrieve all documents, index full text, and update live delta changes automatically every 15 minutes.