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

# SharePoint troubleshooting

> Fix SharePoint connection errors and files missing from the index. Start at the SharePoint source row in Data Sources, then check the file in AI Instructions.

Start at the **SharePoint** source row in [**Data Sources**](https://platform.open.cx/data-sources). Recent sync errors show there. If a sync finished but a file is missing, look for it under **Imported from SharePoint** in AI Instructions.

## Common scenarios

| Symptom | Likely cause | Fix |
| - | - | - |
| **"Microsoft rejected these credentials"** | Wrong tenant ID or client ID, the secret's ID was entered instead of its **Value**, or the secret expired | Create a new client secret if needed, then update the source. |
| **"The app cannot read this site"** | `Sites.Read.All` or `Files.Read.All` is missing, or admin consent wasn't granted | Add both as **Application** permissions and click **Grant admin consent**. |
| **"SharePoint site not found"** | The site URL is mistyped, or the site was removed | Open the site in your browser and paste its address. |
| **"Paste the site’s home URL"** | The address is a OneDrive link, the bare `/sites` page, or a page that doesn't name a site | Use the site's home address, like `https://contoso.sharepoint.com/sites/support`, or a sharing link to a file in the site. |
| **"Microsoft is unavailable right now"** | Microsoft didn't answer or is limiting requests | Wait a moment and connect again. Your details were not the problem. |
| **"Folder not found in any document library"** | The folder path includes the library name, or has a typo | Enter the path from the top of the library, for example `Customer FAQs/Public` rather than `Shared Documents/Customer FAQs/Public`. |
| **Syncs stopped after working** | The client secret expired | Create a new client secret and update the source. |
| **A file is missing** | The type isn't supported, it's in another site or folder, it has no extractable text, or it's a workbook over 10 MB | Check the [limits](https://docs.open.cx/knowledge/sources/sharepoint/connect.md#limits). Scanned PDFs need text recognition applied before upload. |
| **Site pages are missing** | Only files in document libraries are synced | Export the page to PDF into a library, or use the [website crawler](https://docs.open.cx/knowledge/sources/website/overview.md) if the page is public. |
| **An Excel sheet is missing** | The sheet is hidden, or the workbook passed the text limit | Unhide the sheet, or split the workbook. |
| **The AI answers from a file you want hidden** | New files are public by default | Use the eye icon on the item, or **Hide all from AI** on the folder. |
| **None of the above** | — | Contact support with the site URL and a sample file name. |

***

## Related Documentation

> [card] [Connect SharePoint](https://docs.open.cx/knowledge/sources/sharepoint/connect.md)
>
> Re-check the app and its permissions.

> [card] [SharePoint overview](https://docs.open.cx/knowledge/sources/sharepoint/overview.md)
>
> What this source does.

> [card] [Website crawler](https://docs.open.cx/knowledge/sources/website/overview.md)
>
> For content reachable at a public URL.

> [card] [Connect a knowledge source](https://docs.open.cx/knowledge/sources/overview.md)
>
> All sources.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.