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

# Microsoft 365

> Connect Microsoft 365 so Agentwork learns from your SharePoint sites, and connect your own Microsoft account for Outlook Mail and Outlook Calendar.

Microsoft 365 has two kinds of connection. A Global Administrator connects your organization's SharePoint, and each member can connect their own Microsoft account for their own email and calendar.

## Install

### Connect your organization's SharePoint

**Before you start:** you need to sign in to Microsoft as a Global Administrator of your Microsoft 365 organization. No other account can connect it. Agentwork reads your Microsoft 365 roles only to confirm this.

1. Go to **Connections**, select **Microsoft 365**, and choose **Workspace**.
2. Choose what Agentwork should import: **Build memory from SharePoint** and **Build memory from SharePoint files**. You can change this later.
3. Sign in to Microsoft and approve SharePoint access for Agentwork.

Agentwork starts importing once SharePoint access is approved in Microsoft. Follow the import under **Connections** → **Sources**.

### Connect your own Microsoft account

**Before you start:** use a work or school Microsoft account. Personal accounts, such as Outlook.com, can't connect.

1. Go to **Connections**, select **Microsoft 365**, and choose **Your account**.
2. Choose whether to turn on **Build memory from Microsoft Outlook**. It's on by default.
3. Sign in to Microsoft and allow access.

## Products

* [Outlook Mail](https://docs.agentwork.com/connectors/microsoft-365/outlook-mail.md): your email, through your own account.
* [Outlook Calendar](https://docs.agentwork.com/connectors/microsoft-365/outlook-calendar.md): your calendar, through your own account.
* [SharePoint](https://docs.agentwork.com/connectors/microsoft-365/sharepoint.md): pages, news posts and files from your organization's sites.
* [Microsoft Teams](https://docs.agentwork.com/connectors/microsoft-365/microsoft-teams.md): coming soon.

## Disconnect or reconnect

Open **Connections** → **Microsoft 365** to reconnect or disconnect either connection. Disconnecting removes what Agentwork imported through that connection.

## Related

* [Connect your tools](https://docs.agentwork.com/connections.md)
* [Approvals for actions in your tools](https://docs.agentwork.com/approvals.md)


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