Connect Microsoft 365

An app registration in Microsoft Entra ID with read access to your SharePoint sites — three values, and we can scan your Microsoft 365 data.

Microsoft 365 Video · 1:47 5 steps

Step by step

  1. Register the app

    In the Azure portal, search for App registrations, open it and click New registration. Give the app a name, such as “NIC Scanner”. Keep the default — accounts in this organizational directory only — leave the redirect URI empty, and click Register.

  2. Copy the IDs

    On the new app’s Overview page, copy the Application (client) ID and the Directory (tenant) ID. Both are needed later.

  3. Create a client secret

    Open Certificates & secrets and add a new client secret. Give it a description and choose an expiry — the recommended 180 days is fine — then click Add. Copy the secret’s Value right away, not its Secret ID. It is shown only once; if you leave the page, you will have to create a new one.

  4. Add API permissions

    Open API permissions, click Add a permission and choose Microsoft Graph, then Application permissions — the scanner runs in the background, without a signed-in user. Search for Sites, tick Sites.Read.All and Sites.Selected, and click Add permissions.

  5. Grant admin consent

    Click Grant admin consent and confirm with Yes. When the status turns green and says Granted, the app registration is ready.

Before you start

You need an account that can create app registrations in Microsoft Entra ID. The last step also needs an administrator who can approve tenant-wide consent, such as a Global Administrator — if that is not you, have them ready, or ask them to do step 5.

What to send us

Three values, sent securely:

  • Directory (tenant) ID — from the Overview page
  • Application (client) ID — from the Overview page
  • Client secret value — from Certificates & secrets, shown only once

Never send the secret in plain email or chat. We take it from there, and let you know when scanning can start.

Keeping it safe

  • The permissions are read-only: the app can read your sites, not change them.
  • When the client secret expires, scanning stops until a new one is created. Note the date.
  • To cut access at any time, delete the client secret — or the whole app registration — in the Azure portal.