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

> ## Agent Instructions
> Mono is an AI platform for small and medium-sized firms in Switzerland, Germany, Austria and Italy. Answer in the reader's language. Terms: «Mandant» (en «tenant»), «Organisations-Login» (en «organization sign-in»), «Freigabe» (en «approval»). Reading needs no approval; every write waits for one. Never suggest pasting a key or token into a chat.

# Connect Microsoft 365 and ask about calendar and mail in the chat

> Muster AG connects Microsoft 365 to Mono, and Lea asks Claude about her appointments and has an Outlook mail prepared.

30 minutesBeginner to intermediateIT adminsAll industries

Anna Keller, admin of Muster AG, sets up the organization sign-in (The company's sign-in, for example with Microsoft Entra ID or Google Workspace.) with Microsoft Entra ID and then connects the Microsoft 365 services. Lea Meier asks Claude about her appointments and has an Outlook mail prepared that waits for her confirmation.

> [!NOTE]
>
> The companies, people and addresses in this tutorial are examples. Use the names and addresses of your own tenant.

## The goal

> [accordion] What you need
>
> * **In Mono:** Admin rights at Muster AG.
> * **At Microsoft:** An account that may register apps in the Entra admin center and consent for the whole Microsoft 365 tenant (Your company's tenant at Microsoft. It is not the same as the tenant in Mono.).
> * **For Lea:** Claude is connected to the tenant server (The MCP server for all employees, with the tenant's name.) “Muster AG”, and she signs in to Mono with her Microsoft 365 account.

> [accordion] Why the organization sign-in first?
>
> Mono always reads and writes in Microsoft 365 with the rights of the person who asks. For that, Mono uses the app registration of the organization sign-in. “Sign in with Mono” needs no app registration and therefore reaches no Microsoft 365 services.

## Step by step

> [tab] Microsoft 365
>
> **1. Set up the organization sign-in with Entra ID**
>
> 1. Open “Access” › “Sign-in” and choose “Add method”.
>
> 2. Choose “Microsoft 365”.
>
> 3. “Register the app at the provider”: In the Entra admin center, create a new registration under “App registrations”, “Accounts in this organizational directory only”.
>
> 4. “Enter this redirect URI”: Copy the redirect URI from Mono and enter it for the platform “Web”.
>
> 5. “Enter the details”: “Application (client) ID”, “Directory (tenant) ID” (for example `muster-ag.onmicrosoft.com`) and “Client secret”.
>
> 6. Choose “Save and test” and sign in in the new window.
>
> > [!TIP]
> >
> > You now see “Test passed. “Muster AG” is live” and, under “Details received”, your name, your verified address and your groups.
>
> > [accordion] The key in the chat?
> >
> > Never. In the chat with “Mono Admin” (“Set up the sign-in with our organization account.”), Mono only asks for what Entra ID needs. You enter the client secret through a one-time link.
>
> **2. Grant Microsoft 365**
>
> > [tab] In the Console
> >
> > 1. Open “Connectors”. The box “Microsoft 365” shows what Mono finds after the grant.
> > 2. Choose “Grant Microsoft 365”. The sheet names the permissions Mono asks for, and nothing beyond them.
> > 3. Choose “Grant Microsoft 365” again. Microsoft opens a window of its own.
> > 4. At Microsoft, consent for the whole Microsoft 365 tenant.
>
> > [tab] In the chat
> >
> > Ask “Mono Admin”:
> >
> > Show the Microsoft 365 services
> >
> > Show me the Microsoft 365 services and give me the link for the missing permissions.
> >
> > “Mono Admin” names exactly the missing permissions and gives you a link that is valid for 15 minutes. Open it and consent at Microsoft.
>
> > [!TIP]
> >
> > You now see “Microsoft 365 granted, 9 services found” or another number, depending on the licenses of your Microsoft 365 tenant.
>
> **3. Connect and test Outlook mail and calendar**
>
> > [tab] In the Console
> >
> > 1. Under “Found”, choose Outlook mail and calendar.
> > 2. Choose “Connect and test 2”. Mono reads one harmless item from each service with your rights and shows it in place. It is not stored.
>
> > [tab] In the chat
> >
> > Connect and test services
> >
> > Connect Outlook mail and calendar from Microsoft 365 and test them.
> >
> > “Mono Admin” shows “Please confirm” with before and after. Choose “Apply”.
>
> ![Sheet of the services with the groups “Found” and “Connected”: Outlook mail and calendar “connected” with “Read with your rights”, the tools “read” and “with approval”; tenant Muster AG (shown in German)](https://mintcdn.com/mono/5RnQocbG46juhcKu/images/microsoft-365/dienste-gefunden.png?fit=max\&auto=format\&n=5RnQocbG46juhcKu\&q=85\&s=d5d27d64f77fedb0c832b80c1cfce9c1)
>
> > [!TIP]
> >
> > You now see “2 services connected. Their tools are now on the tenant server”.
>
> **4. Allow writing for Outlook mail**
>
> Reading works now. For Mono to be allowed to send a mail, Outlook mail needs the permission to write.
>
> 1. For Outlook mail, choose “Allow writing”. Mono asks for exactly this one permission.
> 2. Consent at Microsoft.
>
> For appointments Mono should add, choose the same for the calendar.
>
> > [!TIP]
> >
> > You now see the tool “Send with Outlook” with “with approval” for Outlook mail.
>
> **5. Lea asks about her appointments**
>
> Lea writes in Claude:
>
> The week's appointments
>
> What appointments do I have this week?
>
> Claude calls “View appointments”. Mono reads with Lea's own rights and returns only what Lea herself may see.
>
> > [!TIP]
> >
> > You now see Lea's appointments of the next seven days in the chat.
>
> **6. Lea has a mail prepared**
>
> Prepare an Outlook mail
>
> Write to Mr. Huber at Beispiel GmbH that I would like to move Thursday's appointment to 14:00, and send the mail to [huber@beispiel-gmbh.example](mailto:huber@beispiel-gmbh.example).
>
> Claude submits the mail through “Send with Outlook”. Mono sends nothing yet: Claude shows the mail and asks “Just this once” or “Always allow for …”.
>
> * **In the chat:** Lea clicks “Confirm” (just this once) in the card. A “yes” typed in the chat never confirms.
>
> * **In the Inbox:** Lea checks the “Preview” and chooses “Send”.
>
> > [!TIP]
> >
> > You now see the message “Sent, just this once: …”. The mail is in Lea's “Sent Items” folder in Outlook.

> [tab] Google Workspace
>
> Beispiel GmbH works with Google Workspace. The way is the same, with one difference: Google has no consent for everyone. Each person confirms once for themselves.
>
> **1. Set up the organization sign-in with Google Workspace**
>
> 1. Open “Access” › “Sign-in” › “Add method” and choose Google under “Organization account”.
>
> 2. In the Google Cloud Console, under “APIs & Services” › “Credentials”, create an OAuth client ID of the type “Web application”, with the redirect URI from Mono. Set the consent screen to “Internal”.
>
> 3. Enter “Client ID”, “Client secret” and the “Workspace domain”, for example `beispiel-gmbh.example`.
>
> 4. Choose “Save and test”.
>
> > [!TIP]
> >
> > You now see “Test passed. “Beispiel GmbH” is live”.
>
> > [!WARNING]
> >
> > Without a Workspace domain, the sign-in applies to personal Google accounts. Then Mono finds no services.
>
> **2. Grant, connect and test Google Workspace**
>
> 1. Open “Connectors” and, in the box “Google Workspace”, “Grant Google Workspace”.
>
> 2. Confirm at Google for yourself.
>
> 3. Choose Gmail and Google Calendar and then “Connect and test 2”.
>
> > [!TIP]
> >
> > You now see “2 services connected. Their tools are now on the tenant server”.
>
> **3. Each person confirms once for themselves**
>
> When a person asks about their mail or appointments for the first time, Mono answers with the person’s own page on their server: “Please confirm once on your server’s page (you sign in there): … After that, Mono reads only with your own rights; then ask the question again.” The person opens the page (in Claude and ChatGPT the card’s button), signs in there, confirms at Google and asks the question again. Only this page makes the one-time link, after the sign-in; the AI model never sees it.
>
> > [!TIP]
> >
> > You now see the page “Connected” and then your own appointments in the chat.

> [accordion] Your Node runs in Mono Cloud?
>
> Then you add the organization sign-in on the Mono Cloud page: “Access” › “Sign-in” › “Connect” leads there. Signing in with Microsoft 365 then works. The Microsoft 365 and Google Workspace services in Mono Cloud: Coming soon. They need an app of Mono Cloud at Microsoft and Google that does not exist yet. That is why the “Microsoft 365” box is missing under “Connectors”, and the setup shows “Follows after the organization sign-in with Entra ID or Google Workspace”. Today you connect mail, calendar, files and Teams with a self-hosted Node.

## If something doesn't work

> [accordion] “The organization sign-in comes first”
>
> Mono only reaches Microsoft 365 through an organization sign-in that is live. The Node says: “First set up the organization sign-in with Microsoft Entra ID or Google Workspace and test it (Access › Sign-in).” Choose “Set up sign-in” and carry out step 1.

> [accordion] “The sign-in with Google names no Workspace domain. …”
>
> Enter the “Workspace domain” for the Google method and test again. Services only exist with Google Workspace.

> [accordion] “Not granted”: “The consent was declined or canceled. …”
>
> The Microsoft window was closed, or the consent was declined. Choose “Grant Microsoft 365” again in the Console.

> [accordion] “Another Microsoft 365 tenant”
>
> The consent came from a different Microsoft 365 tenant than that of the organization sign-in. Sign in at Microsoft with an account of the right tenant.

> [accordion] A service is listed under “Permission missing” or “Not in the tenant”
>
> * **“Permission missing”:** Choose “Grant missing permission”. Mono asks for exactly the missing one.
> * **“Not in the tenant”:** The Microsoft 365 tenant lacks the license, or the service is switched off. You change that in the Microsoft 365 admin center.

> [accordion] “Entra ID does not know the client ID, the secret or the certificate of the organization sign-in.”
>
> Check the application ID and the client secret under “Access” › “Sign-in”. An expired secret is the most common cause. Enter a new one and test again.

> [accordion] Lea gets: “Mono does not have your sign-in at Microsoft yet.”
>
> Lea has not yet signed in to Mono with her Microsoft 365 account. Mono answers with a personal link that is valid for 10 minutes. Lea opens it, confirms and asks the question again.

> [accordion] “Microsoft denies access: the permission is missing or the person has no rights for it.”
>
> Either a permission is missing, in which case an admin chooses “Grant missing permission”. Or Lea herself has no right for it in Microsoft 365. Mono never acts with more rights than the person.

> [accordion] “The result is “internal”; Claude may not receive it. …”
>
> Claude is approved at Muster AG without the data class “internal”. An admin changes that under “Gateway” › “Servers and clients” ([Approve AI clients](https://mono.mintlify.site/en/admins/approve-ai-clients.md)).

> [accordion] The mail is called “Only into the outbox, not sent (Microsoft 365 missing): …”
>
> Outlook mail may not write yet. Carry out step 4 (“Allow writing”). Until then, Mono only puts mails in the Node's outbox.

## Result

Muster AG signs in to Mono with Microsoft 365. Outlook mail and calendar are tested and deliver their tools to the tenant server. Each person reads with their own rights, and every mail waits for the person's confirmation before Mono sends it.

## Next

> [card] [Connect Microsoft 365 or Google Workspace](https://mono.mintlify.site/en/admins/microsoft-365-google.md)
>
> All services, permissions and tools at a glance.

> [card] [Connect Entra ID or Google Workspace](https://mono.mintlify.site/en/admins/entra-google.md)
>
> The organization sign-in in detail, with groups and admins.

> [card] [Approve a quote on the phone](https://mono.mintlify.site/en/tutorials/approvals-on-phone.md)
>
> When a second person must approve a mail.

> [card] [Approve a request from the AI](https://mono.mintlify.site/en/users/approve-a-request.md)
>
> “Just this once”, “Always allow for …” and the Inbox.


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