Microsoft Lists Setup Guide
Prerequisites
- A Microsoft 365 account with access to SharePoint Online.
- A SharePoint site that contains the lists you want to sync, and read access to that site (or its Hub site) for the account you authorize with.
- A Microsoft Entra ID administrator:
- For OAuth, an administrator may need to approve Matia's access to your organization the first time you authorize.
- For App Registration, an administrator must grant admin consent to the app, and a SharePoint Administrator must grant the app access to the site.
Note: Each connection syncs all lists in a single SharePoint site. To sync lists from several sites, set up a separate connection for each site.
Setup Guide
Choose one authentication method. If you use OAuth and pick your site from the list in Matia, skip to Step 4.
-
OAuth — sign in with your Microsoft account. Fastest to set up.
-
App Registration — use an app registration that you create in Microsoft Entra ID. Gives you finer control: the app can read only the sites you grant it.
-
Step 1: Create an app registration in Microsoft Entra ID (App Registration only)
- Sign in to the Microsoft Entra admin center or the Azure portal.
- Go to Identity > Applications > App registrations and click New registration.
- Enter a Name, for example
Matia. - Under Supported account types, select Accounts in this organizational directory only.
- Click Register.
- On the app's Overview page, copy the Application (client) ID and the Directory (tenant) ID — you'll need them to configure Matia.
- Go to Certificates & secrets > Client secrets and click New client secret.
- Enter a description and an expiry, then click Add.
- Copy the secret Value right away. Microsoft shows it only once. This is your Client Secret — you'll need it to configure Matia.
- Go to API permissions > Add a permission > Microsoft Graph > Application permissions.
- Select
Sites.Selectedand click Add permissions. - Click Grant admin consent for
and confirm.
-
Step 2: Grant the app read access to your site (App Registration only)
Sites.Selectedgives the app no access until you grant it access to a specific site. A SharePoint Administrator (or higher) must do this once per site.-
Find your Site ID as described in Step 3.
-
Open Graph Explorer and sign in as a SharePoint Administrator.
-
Consent Graph Explorer to the
Sites.FullControl.Allpermission. -
Send a
POSTrequest tohttps://graph.microsoft.com/v1.0/sites/{site-id}/permissionswith this body, replacing the placeholders with your values:{
"roles": ["read"],
"grantedToIdentities": [
{
"application": {
"id": "<your Client ID>",
"displayName": "Matia"
}
}
]
} -
Wait about a minute for the permission to take effect.
-
-
Step 3: Find your Site ID (App Registration, or OAuth with manual site entry)
- In your browser, open
https://<your-tenant>.sharepoint.com/sites/<site-name>/_api/site/id. The value returned is the site collection ID. - In Graph Explorer, send
GET https://graph.microsoft.com/v1.0/sites/<site collection ID>. - Copy the
idfrom the response. It has the formathostname,siteCollectionId,siteId, for examplecontoso.sharepoint.com,1a2b...,3c4d.... This is your Site ID — you'll need it to configure Matia.
Note: To sync a subsite, you must use the full three-part
idof the subsite. - In your browser, open
-
Step 4: Connect Microsoft Lists in Matia
- Select the Authentication Method: OAuth or App Registration.
- If you selected OAuth:
- Click Authorize and sign in with your Microsoft account, then approve the connection.
- Select the site from Sync Lists from Site, or check Use Input Field for Site and enter the Site ID you found in Step 3.
- If you selected App Registration:
- Enter the Tenant ID, Client ID and Client Secret you copied in Step 1.
- Enter the Site ID you found in Step 3.
- Enter an Asset Name.
- (Optional) Enter a Description.
- (Optional) Assign Tags.
- Select an Owner.
- Verify that your Microsoft Lists account is successfully connected by clicking on Test Connection.
- Click Connect.