What Flow indexes from SharePoint Online
SharePoint Online syncs documents from sites and libraries you choose for Flow knowledge search. New connections use All sites access by default. You can limit a new connection to selected sites under Advanced.Prerequisites
- A Microsoft Entra Privileged Role Administrator or Global Administrator who can grant consent in the Microsoft organization you connect.
- A Microsoft Entra app registration for Flow, with a Client ID and Client Secret. See Register an application in Microsoft Entra ID.
- A Flow admin or knowledge manager who can manage knowledge sources under Integrations.
- The SharePoint sites and libraries the team needs.
Prepare the provider
Flow uses Microsoft Graph application permissions to sync content without a signed-in user. Microsoft requires a Privileged Role Administrator or Global Administrator to approve these permissions. The app registration needs two Microsoft Graph application permissions:Sites.Read.All: Reads sites, libraries, files, and pages.Group.Read.All: Reads group membership, so Flow can match SharePoint permissions to people.
Connect in Flow
Open Integrations and choose SharePoint Online. The setup has three steps: Teams, Permissions, and Connect.- On Teams, set Connection available to, then select Continue.
- On Permissions, review the access summary, then select Continue. All sites is the default.
- On Connect, complete the connection.
Capabilities
- Select sites, document libraries, folders, single files, Site pages, or single site pages for one team.
- Search sites by name at the top level, and search files by name inside an open library or folder. Microsoft Graph has no search for a site’s library list or for the site pages collection, so the search box hides at those levels; browse instead. Each level loads one page of items at a time with Load more.
- Run scheduled or on-demand sync.
- Search the synced documents in Flow.