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

# List Sites

> List the SharePoint sites the connected account can access, including My OneDrive (the work account's OneDrive for Business)

List the SharePoint sites the connected account can access, including My OneDrive (the work account's OneDrive for Business). Personal Microsoft account OneDrive is not supported by this integration at all, only work/school accounts can connect.

|                      |                         |
| -------------------- | ----------------------- |
| **App**              | Microsoft SharePoint    |
| **Operation ID**     | `sharepoint_list_sites` |
| **Type**             | Action                  |
| **Connection**       | `sharepoint` (required) |
| **Credits per run**  | 1                       |
| **Agent / MCP tool** | Yes                     |

## Inputs

| Field    | Type   | Required | Default | Description                                                                                                       |
| -------- | ------ | -------- | ------- | ----------------------------------------------------------------------------------------------------------------- |
| `search` | string | No       | -       | Optional filter on site name, e.g. 'markifact'. Leave empty to return all sites the connected account can access. |

## Output

**Type**: `List[Dict]`

Returns the accessible sites. Use site\_id with list\_drives.

**Fields**: `site_id`, `name`, `url`
