> ## Documentation Index
> Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
> Use this file to discover all available pages before exploring further.

# SharePoint Documents

> Browse and access organization SharePoint document libraries via the Microsoft Entra ID integration.

SharePoint document browser at `/documents/sharepoint` for accessing organization SharePoint libraries once the Microsoft Entra ID integration is configured.

## Overview

The SharePoint Documents page requires an active Microsoft Entra ID integration (`entra_tenant_id` configured). If Entra ID is not set up, the page displays a configuration notice directing the user to Settings > Integrations > Entra ID. When configured, the page reads `useSharePointConfig` to build a list of unique SharePoint sites (deduplicated by `site_id`). The user selects a site from a dropdown, then `SharePointDocumentBrowser` renders the file tree for that site.

## Who it's for

No explicit permission string determinable from the reviewed source. SME: confirm the required permission.

## Before you start

* Microsoft Entra ID integration must be configured under `/settings/integrations/entra`.
* SharePoint sites must be mapped in the SharePoint configuration.

## Steps

1. Navigate to `/documents/sharepoint`.
2. If prompted to configure Entra ID, go to `/settings/integrations/entra` and complete the setup first.
3. Select a SharePoint site from the dropdown.
4. Browse the document library. Click a file to open or download it.

## Key concepts

**Entra ID integration** — The Microsoft identity platform connection used to authenticate and authorize access to SharePoint. Configured at `/settings/integrations/entra`.

**SharePoint site** — An individual SharePoint site URL mapped in the platform configuration. Multiple sites can be configured.

**SharePointDocumentBrowser** — The file tree component that renders the contents of a selected SharePoint site.

## Related

<Columns cols={2}>
  <Card title="Platform Foundation" icon="layer-group" href="/pf/overview">
    Platform Foundation overview.
  </Card>

  <Card title="Governance & parity" icon="scale-balanced" href="/governance/index" />
</Columns>

<Note>
  This page documents shipped product behavior. It is not medical, legal, or
  billing advice. Verify against your organization's policies and applicable
  regulations before using it for clinical, compliance, or billing decisions.
  Protected health information (PHI) shown in the product is governed by your
  tenant's access controls and is never exposed in this documentation.
</Note>

<Accordion title="Documentation sources">
  * src/routes/platform.tsx
  * src/platform/documents/pages/SharePointDocumentsPage.tsx
  * src/platform/integrations/hooks/useEntraConfig.ts
  * src/platform/integrations/components/SharePointDocumentBrowser.tsx
</Accordion>
