Skip to main content

O365-12

Issue​

  • The SharePoint app is missing Sites.Selected permissions for one or more site URLs listed in the connector's inclusion rules.

Resolution​

Grant the SharePoint crawler app FullControl on each affected site collection. Sign in as a SharePoint Administrator or higher who is also a member of the target site. For the full procedure, including the provisioning app's required delegated permission, see Provision site permissions.

  1. If needed, install PnP PowerShell.

  2. Connect to the site collection with your provisioning app. Replace the placeholders with that app's client ID and the site collection URL:

    Connect-PnPOnline -Url $SITE_COLLECTION_URL -Interactive -ClientId <provisioningClientId>
  3. Grant the crawler app access to the site collection. Set $CLIENT_ID to the SharePoint app client ID entered in Glean. Set the required -DisplayName to a descriptive label for the site permission:

    Grant-PnpAzureADAppSitePermission -AppId $CLIENT_ID -DisplayName "Glean SharePoint" -Site $SITE_COLLECTION_URL -Permissions FullControl

    The output should include the fullcontrol role:

    Id : <id>
    Roles : {fullcontrol}
    Apps : {Glean SharePoint, <clientId>}
  4. Repeat the grant for each affected site collection and for each additional SharePoint crawler app.

  5. In Glean, save the SharePoint connector with validation enabled and confirm the error no longer appears.

For additional assistance, contact Glean Support.

Was this page helpful?
On this page