---
title: "Microsoft 365"
description: "Access Microsoft 365 services (Outlook, Calendar, Teams, SharePoint, OneDrive) in MeinGPT"
canonical_url: "https://meingpt.com/en/docs/integrations/connectors/microsoft365"
language: en
---

# Microsoft 365

"Microsoft 365" on this page bundles four separate connectors that you activate independently: **Microsoft Outlook** (email and calendar in one connector), **Microsoft Teams**, **SharePoint**, and **OneDrive**. There is no single "Microsoft 365" switch — you pick the connectors you need, per assistant or per chat. Outlook also supports write actions (sending emails, managing events); Teams, SharePoint, and OneDrive are read-only. Further Microsoft connectors (e.g. Planner, To Do, OneNote, Entra ID, Power BI, Dynamics 365) have their own pages – see [Other Microsoft connectors](#other-microsoft-connectors).

Looking for the Outlook **Add-in** (runs directly in Outlook, not in MeinGPT)? See [Outlook Add-in](/en/docs/integrations/connectors/outlook-addin).

## Overview

Execution runs in user context: tool calls use the permissions of the authenticated user. This keeps tenant, group, and resource permissions from Microsoft 365 intact.

Each of the four connectors connects to your Microsoft account via its own OAuth flow and shows up separately under **Connections**. With the connectors you activate, you can:

**Microsoft Outlook (email and calendar):**
- List and read emails from different folders
- Get full email content
- Search emails
- Create and edit drafts, send and delete emails
- Attach files to drafts and emails (up to 3 MB in total per call)
- List calendar events for any date range
- Get detailed information about specific events
- View meeting organizers and attendees
- Create, update, and cancel events
- Invite attendees (this sends notifications)

**Microsoft Teams:**
- List your chat conversations
- Read and search messages from specific chats and channels
- See who participated in conversations

**SharePoint:**
- List SharePoint sites
- List files and folders in SharePoint document libraries
- List SharePoint pages and get their full content
- Search content via the Microsoft Graph Search API
- Load selected files into the chat

**OneDrive:**
- List files and folders in your personal OneDrive for Business
- Search for files
- Load selected files into the chat

## Other Microsoft connectors

Besides the four connectors on this page, there are further Microsoft connectors with their own pages. They are activated and connected individually, like the ones above:

- **[Microsoft Planner](/en/docs/integrations/connectors/microsoft-planner)** - Read, create, and update tasks and plans
- **[Microsoft To Do](/en/docs/integrations/connectors/microsoft-todo)** - Read, create, update, and complete task lists and tasks
- **[Microsoft OneNote](/en/docs/integrations/connectors/microsoft-onenote)** - Browse and read notebooks, sections, and pages; write functions are optional and off by default
- **[Microsoft Entra ID](/en/docs/integrations/connectors/microsoft-entra)** - Read users, groups, and organizational structure (permanently read-only)
- **[Microsoft Power BI](/en/docs/integrations/connectors/microsoft-powerbi)** - Query semantic models with natural language, run DAX (read-only)
- **[Microsoft Dynamics 365](/en/docs/integrations/connectors/microsoft-dynamics365)** - Search Dynamics 365 and Dataverse data and run read queries against it (read-only)

The full list is under [All connectors](/en/docs/integrations/connectors).

## Setup

Each of the four connectors uses OAuth authentication, so no manual API key configuration is required.

Before a connector can even be selected in the assistant editor or the chat's "+" menu, it must be enabled at the organization level. If "Which tools are available?" in the organization's Connectors settings is set to **Only enabled**, an admin must first switch on the relevant Microsoft 365 connector there (Outlook, Teams, SharePoint, and OneDrive each separately) – new connectors are never enabled automatically. Only then does the connector appear in step 1 below. See [Tool Access Policy](/en/docs/admin-guide/tool-access-policy) for details.

### Steps to activate:

1. **Activate connector(s)**: In the assistant editor, select the Microsoft 365 tools you need under the connectors — Outlook, Teams, SharePoint, and OneDrive can each be activated independently, so enable only the ones you actually use. Alternatively, enable a single connector directly in a chat via the "+" menu.
2. **Authentication**: On first use of a connector, you'll be automatically redirected to Microsoft. Since each connector is its own connection, you authorize Outlook, Teams, SharePoint, and OneDrive separately, the first time you use each one.
3. **Select account**: Choose your work, school, or university account (personal Microsoft accounts are not supported).
4. **Confirm permissions**: Review and accept the permissions requested for that connector, for example:
   - Outlook: read, send, and manage emails; view and manage calendars and events
   - Teams: read Teams chats and channel messages
   - SharePoint: access SharePoint files and pages (read-only)
   - OneDrive: access OneDrive files (read-only)
5. **Done**: After successful authentication of a connector, you can start working with that service immediately

### Adding a shared or delegated mailbox

You do **not** set up a shared or delegated mailbox through the Microsoft 365 tool inside an assistant. It's configured once, in your own account settings:

1. Open **Account settings → Connectors**.
2. Find the **Microsoft Outlook** entry and click **Configuration**. This entry only appears after your personal mailbox is connected, as described above.
3. Enter the shared mailbox's address in the **"Shared Mailbox Email"** field and click **Save**. MeinGPT confirms the save with a "Configuration saved" message in the top right.

The "Shared Mailbox Email" field is not part of an individual assistant's gear-icon menu (that only controls which actions an assistant may use — see "Checking write permissions" below) and it is not part of the Microsoft sign-in screen itself. Don't enter the shared mailbox's address at the Microsoft account picker — always sign in there with your own account. Shared mailboxes usually have no interactive sign-in of their own, so attempting that fails silently, with no error message.

This setting applies to every assistant that uses your connected Microsoft Outlook connection — not just a single assistant. If several colleagues need access to the same mailbox through a shared assistant, each person must set up their own Microsoft connection with the same details. Which actions (reading, drafts, deleting) the assistant may use for that mailbox is still configured in its function settings (see below).

### Admin Consent (Tenant Admin)

Some Microsoft tenants require **admin consent** before employees can use this integration. That's expected, not an error. By default, Microsoft does not let users approve, among other things, write access to mailbox and calendar or chat, file, and SharePoint permissions themselves.

Important: this consent can happen in **two separate rounds**:

1. **Base consent** (sign-in, basic profile access) — often already granted when the MeinGPT app was first set up in your tenant.
2. **Additional consent for the permissions of each connector** (for example mailbox and calendar for Outlook, files for SharePoint and OneDrive) — MeinGPT only requests these permissions **the first time** someone connects the connector and goes through the Microsoft sign-in screen. If a user sees "Admin approval required," a tenant admin needs to approve this second round.

To grant consent for the whole organization: sign in to MeinGPT, connect the relevant connector, and choose an account with the **Global Administrator** or **Privileged Role Administrator** role in Entra ID in the Microsoft dialog. On the permission screen, check **"Consent on behalf of your organization"** before accepting. Repeat this for every Microsoft connector your organization uses. After that, other users can usually connect without admin approval.

#### The checkbox is missing, or the approval only applies to your own account

Microsoft only shows the **"Consent on behalf of your organization"** checkbox to accounts with the **Privileged Role Administrator** role or higher, for example **Global Administrator**. With the **Application Administrator** or **Cloud Application Administrator** role it is missing: the consent then applies only to that account, and everyone else still sees "Admin approval required". Check in this order:

1. **Role:** Sign in with an account that has one of the first two roles, in your own tenant and not as a guest account. Other admin roles, such as Exchange-only or user-management-only roles, are not enough.
2. **Activate the role:** If the role must be activated before use in your tenant (Privileged Identity Management), activate it first, sign out of Microsoft, and start the connection again.
3. **Correct account:** In the Microsoft account picker, explicitly choose the admin account, not an account that is already signed in by default.
4. **Checkbox ticked:** The checkbox is not ticked by default. Tick it before accepting.
5. **Approval workflow:** If your IT has set up a workflow for consent requests, users can request the approval. The request goes to the reviewers defined there.

If Microsoft shows no checkbox even with the right role, note the error message and the code starting with "AADSTS" and contact support.

## Requested Microsoft Graph permissions

All permissions are **delegated**: MeinGPT only acts on behalf of the signed-in person, never with app-level access to all mailboxes. In addition to `openid`, `profile`, `email`, `offline_access` and `User.Read`:

- **Outlook (mail, calendar):** `Mail.Read`, `Mail.ReadWrite`, `Mail.Send`, `Calendars.Read`, `Calendars.ReadWrite`
- **Outlook, only on demand** (shared mailbox, contacts, directory): `Mail.Read.Shared`, `Mail.ReadWrite.Shared`, `Mail.Send.Shared`, `Contacts.Read`, `Contacts.ReadWrite`, `People.Read`, `User.ReadBasic.All`, `MailboxSettings.Read`
- **Teams:** `Chat.Read`, `Team.ReadBasic.All`, `Channel.ReadBasic.All`, `ChannelMessage.Read.All`, `Files.Read.All`
- **SharePoint:** `Sites.Read.All`, `Files.Read.All`
- **OneDrive:** `Files.Read.All`

For Outlook, MeinGPT requests only the permissions the enabled actions need, capped by the [tool access policy](/en/docs/admin-guide/tool-access-policy). If only reading is allowed, `Mail.Send` is not requested, for example. Shared-mailbox permissions are only requested once a shared-mailbox function is enabled.

## Checking write permissions (drafts, sending)

Write actions like **creating drafts** or **sending emails** exist only in the Outlook connector among the four connectors on this page (Teams, SharePoint, and OneDrive are read-only). Other Microsoft connectors such as Planner, To Do, or OneNote have their own write functions - see [Other Microsoft connectors](#other-microsoft-connectors). The permissions from step 4 define what Microsoft allows in principle. Whether your assistant can actually perform these write actions is additionally controlled in two places:

- **Connector configuration**: Outlook → gear icon → **Functions** tab. Enable the needed methods in the **Write** group (e.g. create draft, send email) and save the assistant.
- **Settings → Knowledge & integrations → Connectors** (admin): The global method policy must be set to "Read & modify" or "Full access" (or, under "Per-tool settings," the specific method must be enabled individually) — with "Read only," write actions stay blocked for everyone in the organization, regardless of the assistant-level selection.

If either setting is missing, MeinGPT still shows the connection as "active" - but the write action then fails with an error.

## Attaching files to drafts and emails

The Outlook connector can attach files when creating or editing a draft and when sending, replying and forwarding, up to 3 MB in total per call. This needs **no separate permission**: it uses the same write permission as "create draft" or "send email". Drafts need `Mail.ReadWrite`, sending needs `Mail.Send`, and replying or forwarding need both (Microsoft Graph permissions). You confirm them in step 4 of setup and enable them under **Checking write permissions** above.

A file can be attached if you uploaded it into the chat yourself (give the assistant the exact file name), or if it is a text file the assistant writes itself, for example CSV or Excel-readable XML. Files the assistant created or edited in the [code sandbox](/en/docs/platform/code-sandbox), and files it has only read from SharePoint or OneDrive, cannot be attached directly. In a normal chat, download the file and upload it into the chat again. In workflows without an upload, only the text file works.

**Important distinction:** loading attachments from received emails into the chat (read only, `Mail.Read`) is a separate function in the opposite direction. It has no effect on whether a file can be attached to a new draft or an outgoing email.

## Available Features

### Outlook Features

#### List Emails
Display emails from various folders:
```
"Show me the last 10 emails from my inbox"
"List all emails from the sent items folder"
"Find emails in the deleted items"
"Show archived emails"
```

Available folders:
- `inbox` - Inbox
- `sentitems` - Sent Items
- `drafts` - Drafts
- `deleteditems` - Deleted Items
- `junkemail` - Junk Email
- `outbox` - Outbox
- `archive` - Archive

**Note:** `archive` refers to the **Archive folder inside your primary mailbox** (the folder you reach via *Archive* actions in Outlook), not the separate **Online Archive (In-Place Archive) mailbox** that some organizations provision for older mail. The Outlook connector cannot access the Online Archive mailbox — see Limitations below.

#### Email Search
Search for specific emails:
```
"Search for emails with 'project report' in the subject"
"Find all emails from my manager"
"Show emails with attachments"
```

#### Email Details
Access complete email content:
```
"Show me the content of email with ID xyz123"
"Read the details of the latest email"
```

This shows the message body and metadata, but not the content of any attachments — to read an attachment's content, load it explicitly into the chat (see Limitations below).

#### View Events
Overview your appointments and meetings:
```
"What's on my calendar today?"
"What are my appointments between March 15th and 20th?"
```

Limitation: A request like "Show me all appointments for next week" doesn't yet work reliably, because the models still struggle with relative date math. For now, use exact dates. The exception is always today's date, which is passed to the model automatically.

#### Event Details
Get detailed information about events:
```
"Show details for the meeting with ID abc456"
"Who's attending the project meeting?"
```

### Teams Features

#### List Chats
Show your Teams conversations:
```
"List my Teams chats"
"Show me the last 20 chat conversations"
"What Teams chats do I have?"
```

#### Read Chat Messages
Access messages in specific chats:
```
"Show messages from chat with ID xyz789"
"What was discussed in the project chat?"
"Read the last 30 messages from the team chat"
```

### SharePoint Features

#### Browse Files
Navigate through your SharePoint document libraries:
```
"List all files in the root folder"
"Show me files in the folder /Projects/2024"
"What's in the Marketing folder?"
"List files with details like size and modification date"
```

#### SharePoint Pages
Find and browse SharePoint pages:
```
"Show me all SharePoint pages"
"List the latest 10 SharePoint pages"
"Find SharePoint pages with content preview"
```

### OneDrive Features

#### Browse Files
Search your personal OneDrive for Business:
```
"List all files in my OneDrive"
"Find the file 'Offer.docx' in my OneDrive"
"Show me recently changed files with details like size and modification date"
```

SharePoint and OneDrive are read-only - they find files and read metadata, but cannot create or change files. There is no "save to SharePoint/OneDrive" step inside MeinGPT itself. For automatic write-back you need an automation platform such as [Make](/en/docs/integrations/make-integration): build a MeinGPT workflow that produces the output, and have a Make scenario call that workflow via the Workflow API, retrieve the result, and drop it into SharePoint or OneDrive - Make performs the write, not MeinGPT.

## Usage Examples

You get the most value when several activated connectors work together:

```
"Show me details for the 2 PM meeting including the attendee list and find the related emails about the client meeting"
"Summarize today's inbox emails and draft replies to the unanswered ones"
"What was discussed in the project chat, and which files in the folder /Projects/Q1-2024 belong to it?"
```

## Skills

Outlook ships [skills](/en/docs/platform/skills#built-in-skills) – instructions the AI loads automatically when a request matches:

- **`outlook-reply-drafting`**: answers an email as a draft, also from a shared mailbox. It is only sent when you explicitly confirm.
- **`outlook-inbox-triage`**: sorts your mailbox or a team mailbox into "needs action", "waiting on others" and "for information".
- **`outlook-meeting-scheduling`**: finds free time in your calendar and creates meetings only after your confirmation, since attendees receive an invitation.

Which actions a skill uses depends on the enabled functions: if replying to a message is switched off, for example, the skill creates a new draft and says so. The skills are available as long as the plugin is active in the chat. You find them in the library under **Skills** in the **Plugins** tab.

## Advanced Features

### Detailed File Information
When searching for files in SharePoint or OneDrive, you can request additional details:
- File size
- Creation and modification dates
- Creator and last modifier
- Number of items in folders
- MIME type and file extension

### Folder Navigation
Navigate through SharePoint or OneDrive folder structures:
- Give folder paths from the top level of the document library or your OneDrive, for example `/Projects/2024`. The path starts below the library root, so the library name (for example "Documents") does not belong in it.
- Browse subfolders systematically
- Get web links to files for direct access

### Finding the right file in a folder

The SharePoint connector has two ways to find a file. Both have limits you should know about when you instruct your assistant:

- **Listing a folder:** The assistant sees only the contents of that one folder, sorted alphabetically by name. Subfolders appear as an entry, their contents do not. By default these are the first 50 entries, at most 100 on instruction. It cannot page further, and the assistant gets no hint that more entries exist. Without a named document library, it uses the site's default library.
- **Searching:** Search runs through Microsoft's search service and covers everything the signed-in user can access in SharePoint and OneDrive, with no folder filter. It finds files by name and content and returns 10 results by default and at most 50, sorted by relevance. Newly uploaded files only show up once Microsoft has indexed them. If "Restrict to Sites" is set, results are filtered to the allowed sites after the search, so fewer may remain.

The assistant itself chooses among several matching files. To make finding reliable:

- Restrict the connector to the site with "Restrict to Sites" and give the folder path inside the library in the prompt, without the library name in front.
- Use unique, consistent file names (for example with an article or customer number) and tell the assistant the key.
- Spell out the steps: search for the key first and check the hits against the name pattern and the folder (for example via the hit's web link), then open the file. Because search has no folder filter, a file with the same name from another folder can show up. Listing the folder as a fallback only works in the site's default library when there is no search hit. If there is no single clear match, the assistant should name the candidates and ask instead of guessing.
- Keep folders under 50 entries, or instruct the assistant to fetch 100 entries when listing.

For very many files, or if the assistant should choose by content, a [data source with SharePoint as the source](/en/docs/integrations/data-pools-rag) is a better fit. Note the [Permissions from the source](/en/docs/integrations/data-pool-search-settings#permissions-from-the-source) setting there.

## Restricting access to specific SharePoint sites

By default, the SharePoint connector can access every SharePoint site the signed-in user has access to in Microsoft 365. If you want to narrow an assistant down — for example so it only uses one specific SharePoint site and no other site in the same tenant — you can restrict it via the **"Restrict to Sites"** scope setting:

1. Open the assistant → **Configure tool** for the SharePoint connector → **Scope** tab
2. Under **"Restrict to Sites"**, select one or more SharePoint sites. If the field is empty in the assistant, your personal connection's restriction still applies. Full access within the user's permissions is available only when that connection has no restriction either
3. Save the assistant

**"Default Site" is not an assistant-level setting**: you set it once, in your own account settings under **Connectors → SharePoint → Configuration**. That site is used when no site is named explicitly in chat, and applies to every assistant that uses your SharePoint connection — not just a single assistant.

**The restriction operates at the SharePoint site level, not at the folder level.** A site typically bundles several document libraries, lists, and pages — "Restrict to Sites" limits the assistant to the selected site(s), but does not further restrict a single folder or library within a site. If you actually need to give an assistant only one specific subdirectory and guarantee that no other content from the same SharePoint gets pulled in, use a [data source with SharePoint as its source](/en/docs/integrations/data-pools-rag) instead and pick the target folder there — subfolders are included automatically, everything outside it stays out.

This restriction applies **per assistant** (**Scope** tab) and narrows the connector in addition to your personal connection-level setting - the latter always remains the upper bound. The OneDrive connector has an equivalent, independent scope setting "Restrict to Folders" on the same tab. A "Default Folder" for OneDrive, like "Default Site" for SharePoint, is not set per assistant either — you set it once, in your own account settings under Connectors → OneDrive → Configuration, and it then applies to every assistant that uses your OneDrive connection. More on the general scope model: [Scope configuration for tools](/en/docs/platform/tool-scope-policy).

The **"Restrict to Folders"** selection lists only the top-level folders of your OneDrive. You can't expand a folder there, and selecting a folder always includes all of its subfolders. If an assistant should only use one specific subfolder, move that folder to the top level of your OneDrive so it appears as its own entry in the selection.

Older saved OneDrive folder selections may need to be selected again, especially in shared assistants. Select the affected folders again and save the assistant. New selections include the associated drive. Also check the personal restriction under **Connections** if it contains older folder selections.

## Large-scale search via data pools

In addition to the native connectors, Microsoft 365 content can be indexed into data pools for large-scale retrieval (for example large SharePoint estates).

- Strong fit for broad knowledge retrieval and RAG
- Better scalability on very large data volumes
- Important: native user-level permissions from the connectors do not carry over automatically

Learn more under [Data Pools (RAG)](/en/docs/integrations/data-pools-rag).

## Limitations

- **Teams, SharePoint, and OneDrive are read-only**: There you can search and read, but not create or change anything. Of the four connectors on this page, write actions exist only in the Outlook connector; "Load selected files into the chat" only copies a file into the chat and does not change it in SharePoint/OneDrive.
- **Shared/delegated mailboxes**: In addition to your personal mailbox, the Outlook connector supports one shared or delegated mailbox, which you set once in your own account settings under Connectors → Microsoft Outlook → Configuration and which applies to every assistant that uses your connected Microsoft Outlook connection — not just a single assistant. If several colleagues need access to the same mailbox through a shared assistant, each person must set up their own Microsoft connection with the same details. The Microsoft account connected to MeinGPT needs delegated access to the target mailbox, granted by your IT/Exchange administration: **Full Access** (Graph `Mail.Read.Shared` / `Mail.ReadWrite.Shared`) for reading, drafting, and deleting - it does not permit sending. Sending requires **Send As** or **Send on Behalf** in addition to Full Access (Graph `Mail.Send.Shared`). Have your Exchange administrator confirm the minimum combination needed. Deleting emails from the shared mailbox is a separate setting that must be enabled on top of the base connection. Assistant runs via the external API use the Outlook connection of the account owning the API key, including its configured shared mailbox.
- **Teams Limitations**: The assistant can search and read messages in chats and channels, in a single channel or across all channels of a team. New messages can take a few minutes to become searchable. It cannot post messages into a channel and cannot automatically react to new channel messages.
- **Business Account Required**: Personal Microsoft accounts are not supported
- **Online Archive (In-Place Archive) not supported**: If your organization has Exchange Online Archiving enabled, mail that has moved to the separate Online Archive mailbox is not reachable through the Outlook connector. This is a limitation of the interface Microsoft provides to connected applications, and applies to any application connecting this way. Only your primary mailbox — including its own `archive` folder — is accessible.
- **Permissions**: Access only to authorized resources
- **File Contents**: Search and list results expose file metadata only, not file contents — to read a file's actual content, load it explicitly into the chat (see file size limit below)
- **Email Attachments**: On explicit request, the assistant can load an attachment's content into the chat (e.g. "Load the attachment from email xyz123 into the chat", "Open the attachment on that email and summarize it", or "What does the PDF attached to this email say?") — but only for one already-identified email and the attachments selected from it. There is currently no capability to automatically search multiple emails for attachments and load their contents, and links or documents merely referenced in the email body text (rather than attached) are not automatically followed or loaded. Supported formats include Office documents (Word, Excel, PowerPoint, including legacy formats), PDF, and text files (TXT, Markdown, CSV, JSON, HTML, RTF); image files and attachments that only contain a cloud link (e.g. files shared via SharePoint/OneDrive) are not loaded automatically.
- **File size when loading into chat**: Loading a SharePoint/OneDrive file directly into a chat is limited to 20 MB. For larger files, set up the relevant library as a [data source](/en/docs/integrations/data-pools-rag) instead - this supports much larger files and makes them searchable in chat. A loaded file then appears as an attachment above the input field (see [Input field](/en/docs/platform/chats/eingabefeld#files-loaded-by-the-assistant-appear-in-the-input-field)).
- **SharePoint Lists are not supported**: The SharePoint connector reads only files and folders from **document libraries** and the content of **SharePoint pages**. Structured **SharePoint Lists** (list items and their columns) cannot be read or searched - not even when you add SharePoint as a [data source](/en/docs/integrations/data-pools-rag): it indexes files and skips list items without any notice. To use list data in MeinGPT, export the list (for example to Excel/CSV) into a document library and add that file to a data pool.
- **Custom Metadata**: Only standard file properties are available (size, creation/modification date, creator/editor, MIME type, file extension). Custom SharePoint columns or content-type metadata fields cannot be queried or filtered.
- **Large mailbox tasks and the context window**: Email lists, search results and email contents that are read all count toward the chat's context window. Processing many emails at once (e.g. sorting several hundred) can trigger the ["Chat too large for the model"](/en/docs/platform/chat-errors#context-length-exceeded) error. Work in smaller stages (one folder or a narrow time range per chat) and start a new chat for each stage.
- **Time range for emails**: The Outlook connector has no time limit. It can search emails from any period in the primary mailbox, and there is no setting that lets admins or users define a history or date range. Each search returns at most 50 results, sorted by recency or relevance, so a broad request on a large mailbox often surfaces only newer emails. State the period you want with concrete dates in your prompt (for example "emails from Max Mustermann between January and June 2023"), ideally together with sender or subject.
- **Rate Limits**: According to Microsoft Graph API restrictions

## Privacy and Security

- Authentication is secure via OAuth 2.0
- **Live retrieval, no index:** MeinGPT reads content from Outlook, Teams, SharePoint and OneDrive only when a request needs it, through the Microsoft Graph API in the context of your account. No persistent index of your mailboxes or files is created. SharePoint and OneDrive are only indexed if you set them up as a [data source](/en/docs/integrations/data-pools-rag).
- **Processing:** The retrieved content is sent as part of the chat to the AI model the chat runs on. That model's hosting region applies; models that process outside the EU are flagged in the model selection (see [Data flow in MeinGPT chats](/en/docs/privacy-security/faq-chats-datenfluss)).
- **What is stored:** the chat history including tool results (for example the text of an email that was read), plus files and attachments that are loaded into the chat. **Delete chat** archives the chat; messages, tool results and loaded files stay stored and are not permanently deleted.
- **Credentials:** MeinGPT never sees your Microsoft password. Only the connection's OAuth tokens are stored, encrypted.
- All data is transmitted encrypted
- The assistant performs write actions (sending email, changing events) once the method is enabled and your prompt triggers it. MeinGPT shows no additional per-action confirmation; admins decide which methods are enabled in the [Tool access policy](/en/docs/admin-guide/tool-access-policy)
- You can revoke each connection at any time in your Microsoft account settings
- More on data protection and data flow: [Is my data secure?](/en/docs/privacy-security/faq-data-security)

## Troubleshooting

### "Access Denied"
- Ensure you're using a work or school account
- Check if your administrator has granted required permissions (see [Admin Consent](#admin-consent-tenant-admin) above — a second approval for the permissions of the relevant connector may be needed)
- If only the admin account itself gets access but others do not, the organization-wide checkbox is usually missing, see [The checkbox is missing](#the-checkbox-is-missing-or-the-approval-only-applies-to-your-own-account)
- Contact your IT administrator for persistent issues

### "Draft creation fails even though the connector shows as active"

- In the Outlook connector settings check the **Functions** tab, and confirm the draft-creation method is enabled in the **Write** group.
- Check **Settings → Knowledge & integrations → Connectors**: make sure the global method policy isn't set to "Read only."
- An "active" connector status only means the Microsoft sign-in succeeded - it does not confirm that the write action is allowed by the two settings above.
- Save the assistant again after each change.

### "The assistant does not attach a file to the draft or email"

- Loading attachments from received emails into the chat only covers reading. It has no effect on whether a file can be attached to a new draft.
- Attaching a file needs no additional permission - it uses the permission of the action itself: `Mail.ReadWrite` for drafts, `Mail.Send` for sending, both for replying and forwarding (see **Attaching files to drafts and emails** above).
- Only files you uploaded into the chat yourself (with the exact file name) and text files the assistant writes itself can be attached. Files from the code sandbox or from SharePoint/OneDrive cannot be attached directly. In workflows without an upload, only the text file works.
- Attachments are limited to 3 MB in total per call; larger files fail.

### "The assistant says it cannot access an attachment's content"

- For supported formats (Office documents, PDF, text), the assistant can read the attachment, but must be explicitly told to **load it into the chat** — general phrasing like "read the attachment" isn't always recognized as that instruction.
- Rephrase the request more explicitly, e.g. "Load the attachment from the email [subject/ID] into the chat" or "Open the PDF attachment on this email and summarize it".
- Make sure the email was clearly identified first (e.g. by ID or subject) — the assistant only loads attachments from an already-identified email.
- Image files and attachments that only contain a cloud link (e.g. files shared via SharePoint/OneDrive) are not loaded automatically — a manual upload is still needed for those.

### "I entered a shared mailbox address, but nothing happened"

- The shared-mailbox field is called **"Shared Mailbox Email"** and lives under **Account settings → Connectors → Microsoft Outlook → Configuration** — not on the Microsoft sign-in screen, and not in an individual assistant's gear-icon menu (see "Adding a shared or delegated mailbox" above).
- The **Configuration** entry only appears after your personal mailbox is already connected.
- After saving, MeinGPT shows a "Configuration saved" message in the top right. If that message doesn't appear, the form wasn't submitted — check that you actually clicked **Save**.
- The Microsoft account connected to MeinGPT also needs delegated access (at least Full Access) to the target mailbox, granted by your IT/Exchange administration — see Limitations above.

### "Admin already granted consent, but the connection still doesn't work"

- In the Entra admin center, under **Enterprise applications → MeinGPT → Permissions**, check whether the mailbox/calendar permissions (for example `Mail.Read`, `Calendars.Read`) or, for SharePoint, `Sites.Read.All` and `Files.Read.All` are listed as delegated permissions granted via admin consent. This page never shows green checkmarks, so their absence is not an error.
- Note the exact error message or code Microsoft shows on the failed connection attempt (often starting with "AADSTS") — this helps troubleshooting far more than "admin approval required" alone.
- Make sure the affected person selects the correct work account when signing in, not a personal Microsoft account or an account from a different organization.

Do **not** use the "Grant admin consent for '[Organization]'" button in the Entra admin center to grant or repair connector permissions. It only grants the base permissions fixed in the MeinGPT app registration and **replaces** the organization-wide consent, so connector permissions already granted, such as `User.Read`, `Mail.Read`, `Sites.Read.All`, or `Files.Read.All`, disappear afterward. If you use Entra group sync, **Authorize again** under **Settings → Access → Sync Entra ID** in MeinGPT can reset the consent the same way. Instead, grant admin consent as described under [Admin Consent](#admin-consent-tenant-admin), checking **"Consent on behalf of your organization"**. If the button was already used, repeat this for every Microsoft connector you use.

### "Admin already set all permissions, but individual users can't access SharePoint"

- Permissions you set as an admin in the Entra admin center or in a shared assistant's connector settings do not automatically connect your colleagues' Microsoft accounts. Each affected person must authorize the SharePoint connector themselves via OAuth, once (see "Setup" above) — without that step, the assistant shows no SharePoint results for them, regardless of which permissions you as admin have already granted.
- Even after authorizing successfully, each person only sees the SharePoint sites their own Microsoft 365 account has access to ("By default, the SharePoint connector can access every SharePoint site the signed-in user has access to" — see "Restricting access to specific SharePoint sites" above). Admin permissions in Entra do not substitute for a missing site- or library-level permission for that individual in SharePoint itself.
- For "it works for me but not for my colleagues" reports, check in this order: (1) has the affected person connected the SharePoint connector themselves under Connections? (2) does their Microsoft account have access to the relevant site/library in SharePoint itself? (3) does the assistant's "Restrict to Sites" setting exclude the affected person's site? (4) does that person's own SharePoint connection under Connections have a "Restrict to Sites" restriction that excludes the site? That personal restriction always remains the upper bound, even when the assistant's own restriction is empty (see "Restricting access to specific SharePoint sites" above).

### "No Chats Found"
- Teams must be enabled in your organization
- You must have active chat conversations
- Verify you're using the Teams app

### "SharePoint Errors"
- Ensure you have access to SharePoint sites
- Use correct folder paths (starting with /)
- Check your SharePoint permissions

### Authentication Errors
- Sign out of all Microsoft accounts and sign in again
- Clear browser cookies for Microsoft services
- Use a supported browser
