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

# Microsoft 365

> Der Microsoft 365-Konnektor ermöglicht die Integration mit verschiedenen Microsoft 365-Diensten wie SharePoint, OneDrive und Office-Anwendungen. Mit diesem Konnektor können Sie auf Dokumente zugreifen, diese bearbeiten und Informationen aus Ihrer Microsoft 365-Umgebung abrufen.

<Warning>
  **Empfehlung für den Produktivbetrieb: DLP-Prüfung für den Microsoft-365-Assistenten ausschalten.**

  Die Anonymisierung ersetzt Namen, Adressen und weitere personenbezogene Angaben durch Pseudonyme — und damit genau die Begriffe, mit denen der Assistent in Postfach, Kalender und Dokumenten sucht. Suchen bleiben dann ohne Treffer oder liefern unvollständige Ergebnisse.

  Weil die abgerufenen Inhalte damit ungefiltert an das Sprachmodell gehen, empfehlen wir für diesen Assistenten ein Modell, das in Ihrem eigenen Microsoft-Tenant betrieben wird (Azure AI Foundry) und dessen Datenresidenz in Ihrer Region liegt.
</Warning>

<Note>
  Ein fertig eingerichteter Assistent, der diesen Konnektor viermal (E-Mails, OneDrive, SharePoint, Teams) zusammen mit dem Kalender nutzt, ist unter [Microsoft 365 Assistent](/de/monthly/admin/global-assistants/microsoft365assistant) beschrieben.
</Note>

## Optionen

<ParamField body="entitytypes" type="string" default="driveItem,listItem">
  Die zu durchsuchenden Entitätstypen. Mögliche Werte:

  * driveItem (OneDrive)
  * message (Outlook E-Mails)
  * listItem (Sharepoint)
  * chatMessage (Teams Nachrichten)

  Mehrere Werte können kommasepariert angegeben werden. Idealerweise ein Wert je Konnektor: Die Beschreibungen der Argumente unterscheiden sich je Entitätstyp, und ein Konnektor je Typ liefert dem Sprachmodell die passendere Anleitung.
</ParamField>

<ParamField body="excludeWebUrlPart" type="string">
  Ein optionaler String, der aus den Web-URLs der Ergebnisse ausgeschlossen
  werden soll.
</ParamField>

## Argumente

Die folgenden Texte sind die Beschreibungen, mit denen VARIOS AI ausgeliefert wird. Sie sind Anweisungen an das Sprachmodell und daher englisch. Übernehmen Sie sie unverändert.

<ParamField body="searchterm" type="string" required>
  Der Suchbegriff. Die Anleitung unterscheidet sich je Entitätstyp:

  **Outlook E-Mails** (`entitytypes: message`)

  ```text theme={null}
  Search words for subject and body. Use 1-2 concrete entities (project, product, person, organisation); put multi-word names in double quotes. KQL property filters are allowed and useful, e.g. from:"Max Mustermann", subject:"Projekt Orion", hasattachment:true, isread:false. Leave this empty when the user only asks for a time period (set startDate/endDate instead). Do not add generic words like status, update, bericht, mail, dokument. Max 100 characters.
  ```

  **OneDrive** (`entitytypes: driveItem`)

  ```text theme={null}
  Search words for OneDrive file names and contents. Use 1-2 concrete entities (project, product, organisation, person); put multi-word names in double quotes. When the user asks for a specific file type, add a KQL filetype filter, e.g. filetype:pptx (presentations), filetype:docx, filetype:xlsx, filetype:pdf. Do not add generic words like status, update, bericht, datei, dokument. Max 100 characters.
  ```

  **SharePoint** (`entitytypes: listItem`)

  ```text theme={null}
  Search words for SharePoint sites, pages and documents. Use 1-2 concrete entities (project, product, organisation, team); put multi-word names in double quotes. When the user asks for a specific file type, add a KQL filetype filter, e.g. filetype:pptx (presentations), filetype:docx, filetype:xlsx, filetype:pdf. Do not add generic words like status, update, bericht, datei, dokument. Max 100 characters.
  ```

  **Teams-Nachrichten** (`entitytypes: chatMessage`)

  ```text theme={null}
  Search words for Teams chats and channel messages. Use 1-2 concrete entities (topic, project, person, team/channel name); put multi-word names in double quotes. Leave this empty when the user only asks for a time period (e.g. 'who did I chat with today') - set startDate/endDate instead. Do not add generic words like nachricht, chat, thema. Max 100 characters.
  ```
</ParamField>

<ParamField body="startDate" type="string">
  Nur für E-Mails und Teams-Nachrichten. Bei OneDrive und SharePoint entfällt dieses Argument.

  **Outlook E-Mails**

  ```text theme={null}
  Only return emails received on or after this date, format yyyy-mm-dd. Always set this for time-based questions (yesterday, this week, last month).
  ```

  **Teams-Nachrichten**

  ```text theme={null}
  Only return Teams messages sent on or after this date, format yyyy-mm-dd. Always set this for time-based questions (today, yesterday, this week).
  ```
</ParamField>

<ParamField body="endDate" type="string">
  Nur für E-Mails und Teams-Nachrichten.

  **Outlook E-Mails**

  ```text theme={null}
  Only return emails received on or before this date, format yyyy-mm-dd. Always set this for time-based questions.
  ```

  **Teams-Nachrichten**

  ```text theme={null}
  Only return Teams messages sent on or before this date, format yyyy-mm-dd. Always set this for time-based questions.
  ```
</ParamField>

<ParamField body="maxResults" type="integer">
  Anzahl der Ergebnisse. Die Beschreibung nennt dem Modell auch, ab welcher Anzahl die Ergebnisse als kompakte Übersicht statt mit vollständigem Inhalt geliefert werden:

  **Outlook E-Mails**

  ```text theme={null}
  Number of emails to fetch (default 25, maximum 300). Up to 100: each email includes its full body text. Above 100: emails come as a compact overview (subject, sender, date, short preview) - use this to review a whole period completely, e.g. 'which emails this month are still unanswered'. After a compact overview you can re-query specific mails with a smaller maxResults and a narrower searchterm/date range to read full bodies.
  ```

  **OneDrive**

  ```text theme={null}
  Number of results (default 5 with extracted file content, maximum 300). Up to 20: each file's content is downloaded and included - slow, use only when the content matters. Above 20: fast compact listing (name, link, date, snippet) without file contents - ALWAYS use this (e.g. 100) for overview questions like 'which presentations about X exist'. Afterwards you can re-query single files with a small maxResults and a precise searchterm to read their content.
  ```

  **SharePoint**

  ```text theme={null}
  Number of results (default 5 with extracted content, maximum 300). Up to 20: full content per item - slow, use only when the content matters. Above 20: fast compact listing (title, link, date, snippet) without contents - ALWAYS use this (e.g. 100) for overview questions like 'which documents about X exist'. Afterwards you can re-query single items with a small maxResults and a precise searchterm to read their content.
  ```

  **Teams-Nachrichten**

  ```text theme={null}
  Number of messages to fetch (default 5, maximum 300). Up to 100: full message texts. Above 100: compact overview (sender, date, chat/channel, preview) - use this (e.g. 150) for review questions like 'who did I chat with today'. Afterwards you can re-query with a smaller maxResults and a precise searchterm to read full messages.
  ```
</ParamField>
