Skip to main content

About this assistant

The Microsoft 365 assistant is a global assistant that combines five connectors: Outlook e-mails, Outlook calendar, OneDrive, SharePoint and Teams messages. It only ever reaches the data the signed-in user is allowed to see, and answers from actually retrieved results rather than from its own knowledge. New installations already ship with it. Instances installed before the connectors were reworked still carry the old system prompt and the old search term descriptions. This page contains the current texts verbatim so that you can adopt them.
Recommended for production use: turn the DLP check off for this assistant.Anonymisation replaces names, addresses and other personal details with pseudonyms — the very terms the assistant searches your mailbox, calendar and documents with. Searches then return no hits at all, or incomplete ones.Because the retrieved content reaches the language model unfiltered as a result, we recommend running this assistant on a model hosted in your own Microsoft tenant (Azure AI Foundry), with data residency in your region.
The connectors work in the user context. Every user has to sign in through Microsoft Entra ID once before the assistant can reach their mailbox, calendar and files.

What the assistant can do

E-mails
  • “Which e-mails from last week are still waiting for a reply?”
  • “Summarise the e-mail exchange with Example Ltd about project Orion.”
  • “Did I get an answer to the quote from 12 May?”
Calendar
  • “Which appointments do I have tomorrow?”
  • “Where do I have two hours free next week?”
  • “When did I last meet the sales team?”
Files in OneDrive and SharePoint
  • “Which presentations about project Orion exist?”
  • “What does the current quote for Example Ltd say?”
  • “Find the latest version of the security concept and summarise the changes.”
Teams messages
  • “Who did I chat with today?”
  • “What was discussed in the sales channel about the price list?”
Across all sources
  • “Find everything about project Orion.” The assistant searches e-mails, files and Teams messages in parallel.
Every answer names the source it used, with title, date and link.

Setup from the command line

The command is available from the Monthly Release onwards. In the Extended Support Release, create the assistant by hand as described below.
If the assistant does not exist on your instance yet, or still carries the old texts, this command creates it together with its connectors:
  • It creates the five connectors and the assistant, linked and in one step.
  • The assistant gets the default model for new assistants configured under Administration > Settings, and that model’s DLP setting.
  • Existing entries stay untouched. When a name is already taken, the new entry is created as “name (NEW)” next to it, so you can compare both and delete the old one afterwards.
  • Groups with an explicit permission list do not pick up new entries automatically. Grant the assistant and the connectors to them under Administration > Groups afterwards.

Manual setup

If you have no access to the command line, create the entries in the administration and adopt the following texts verbatim. They are deliberately English: they instruct the language model, not the user. The assistant still answers in the language of the question.

Create the connectors

Create five connectors under Administration > Connectors. The general procedure is described under Connectors; the options and arguments of the two connector types used here are documented under Microsoft 365 and Microsoft 365 Calendar.

Microsoft Outlook Emails

Title
Description
Connector type Code Function in the code Pick the entry Microsoft 365 from the dropdown. Options
string
message
string
leave empty
Arguments
string
string
string
integer
string

Microsoft Outlook Calender

Title
Description
Connector type Code Function in the code Pick the entry Microsoft 365 - Outlook Calendar from the dropdown. Options No options required Arguments
string
string
string

Microsoft OneDrive

Title
Description
Connector type Code Function in the code Pick the entry Microsoft 365 from the dropdown. Options
string
driveItem
string
leave empty
Arguments
string
required
integer

Microsoft Sharepoint

Title
Description
Connector type Code Function in the code Pick the entry Microsoft 365 from the dropdown. Options
string
listItem
string
leave empty
Arguments
string
required
integer

Microsoft Teams Messages

Title
Description
Connector type Code Function in the code Pick the entry Microsoft 365 from the dropdown. Options
string
chatMessage
string
leave empty
Arguments
string
string
string
integer

Create the assistant

Create an assistant under Administration > Global Assistants, assign the five connectors to it and adopt the following system prompt. Name
Description
System prompt
The placeholders in the system prompt are replaced at runtime: {currentDate} with today’s date, and {firstname}, {lastname} and {email} with the signed-in user’s name and email address. Copy them unchanged, including the curly braces.

Grant it to your groups

Grant the assistant and the five connectors to the groups that are supposed to use it, under Administration > Groups. Groups with an explicit permission list do not see newly created entries otherwise.