Skip to main content

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)

    1. Sign in to the Microsoft Entra admin center or the Azure portal.
    2. Go to Identity > Applications > App registrations and click New registration.
    3. Enter a Name, for example Matia.
    4. Under Supported account types, select Accounts in this organizational directory only.
    5. Click Register.
    6. On the app's Overview page, copy the Application (client) ID and the Directory (tenant) ID — you'll need them to configure Matia.
    7. Go to Certificates & secrets > Client secrets and click New client secret.
    8. Enter a description and an expiry, then click Add.
    9. Copy the secret Value right away. Microsoft shows it only once. This is your Client Secret — you'll need it to configure Matia.
    10. Go to API permissions > Add a permission > Microsoft Graph > Application permissions.
    11. Select Sites.Selected and click Add permissions.
    12. Click Grant admin consent for and confirm.
  • Step 2: Grant the app read access to your site (App Registration only)

    Sites.Selected gives the app no access until you grant it access to a specific site. A SharePoint Administrator (or higher) must do this once per site.

    1. Find your Site ID as described in Step 3.

    2. Open Graph Explorer and sign in as a SharePoint Administrator.

    3. Consent Graph Explorer to the Sites.FullControl.All permission.

    4. Send a POST request to https://graph.microsoft.com/v1.0/sites/{site-id}/permissions with this body, replacing the placeholders with your values:

      {
      "roles": ["read"],
      "grantedToIdentities": [
      {
      "application": {
      "id": "<your Client ID>",
      "displayName": "Matia"
      }
      }
      ]
      }
    5. Wait about a minute for the permission to take effect.

  • Step 3: Find your Site ID (App Registration, or OAuth with manual site entry)

    1. In your browser, open https://<your-tenant>.sharepoint.com/sites/<site-name>/_api/site/id. The value returned is the site collection ID.
    2. In Graph Explorer, send GET https://graph.microsoft.com/v1.0/sites/<site collection ID>.
    3. Copy the id from the response. It has the format hostname,siteCollectionId,siteId, for example contoso.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 id of the subsite.

  • Step 4: Connect Microsoft Lists in Matia

    1. Select the Authentication Method: OAuth or App Registration.
    2. If you selected OAuth:
      1. Click Authorize and sign in with your Microsoft account, then approve the connection.
      2. 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.
    3. If you selected App Registration:
      1. Enter the Tenant ID, Client ID and Client Secret you copied in Step 1.
      2. Enter the Site ID you found in Step 3.
    4. Enter an Asset Name.
    5. (Optional) Enter a Description.
    6. (Optional) Assign Tags.
    7. Select an Owner.
    8. Verify that your Microsoft Lists account is successfully connected by clicking on Test Connection.
    9. Click Connect.

ON THIS PAGE

Need Help?

Get help and support on all things Matia.

Contact Us