> ## 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.

# Set up with Microsoft

> Mono creates the sign-in app in your Microsoft tenant – with groups, without steps in the Entra admin center.

Mono creates the sign-in app in your Microsoft tenant itself: you sign in at Microsoft once and consent. Then your staff sign in with Microsoft 365, and Mono knows their groups. For admins.

> [accordion] What you need
>
> * The role Admin in the tenant.
> * In Entra ID the role **Cloud Application Administrator** or **Application Administrator**. If you lack it, hand the step to a person with the role (see below).
> * An https address of your server (Mono Edge, your own address or Mono Cloud). A “Local only” server registers the app itself: [Entra and Google](https://mono.mintlify.site/en/admins/entra-google.md).
> * Your server uses “Sign in with Mono” (Mono's sign-in relay). The relay must offer “Set up with Microsoft”: for that, Mono registers its own app at Microsoft once. Until then the row is greyed, with the reason.
> * For “Assignment required” with groups: Entra ID P1.

```mermaid theme={"system"}
flowchart LR
  A["Add method"] --> B["Microsoft 365"]
  B --> C["Set up with Microsoft"]
  C --> D[Sign-in and consent at Microsoft]
  D --> E[Mono creates the app]
  E --> F{Test sign-in}
  F -- passed --> G[live]
```

## Set up the sign-in

> [tab] In the Console
>
> **1. Add method**
>
> Open Access › Sign-in and choose “Add method”.
>
> **2. Choose Microsoft 365**
>
> Choose “Microsoft 365”. The row says “Mono creates the app in your tenant, with groups”.
>
> ![“Set up with Microsoft” with three options and one button, Muster AG](https://mintcdn.com/mono/5RnQocbG46juhcKu/images/microsoft-setup/ms-setup-sheet-light.jpg?fit=max\&auto=format\&n=5RnQocbG46juhcKu\&q=85\&s=1e987789c2f7c37a8f1d127b5142d491)
>
> **3. Choose options (not needed)**
>
> The Standard is the sign-in with groups. Choose only what you need:
>
> * “Assignment required”: only assigned groups sign in. You pick the groups after the sign-in at Microsoft.
> * “App roles”: you assign Mono's roles in Entra ID.
> * “Hand over to a person”: see below.
>
> **4. Set up with Microsoft**
>
> Choose “Set up with Microsoft”. A new window opens Microsoft. Sign in and consent. Mono gets the rights for this step only and keeps no token.
>
> **5. Test**
>
> Mono creates the app, puts its secret into the key store and shows “Set up – test it now”. Choose “Start the test sign-in”. After the test the method is live.
>
> ![“Set up – test it now” with the button “Start the test sign-in”, Muster AG](https://mintcdn.com/mono/5RnQocbG46juhcKu/images/microsoft-setup/ms-setup-done-light.jpg?fit=max\&auto=format\&n=5RnQocbG46juhcKu\&q=85\&s=3365a62004e1ab78a3ebc2a1627d8d57)

> [tab] In the chat with “Mono Admin”
>
> Mono creates the app in your Microsoft tenant
>
> Set up the sign-in with Microsoft, with groups.
>
> “Mono Admin” shows what will be created in your tenant and asks “Please confirm”. After your click it gives a one-time link: there you sign in at Microsoft. Then the link starts the test sign-in.
>
> Hand the step to a person with the role
>
> Hand “Set up with Microsoft” over to Petra Muster.

> [!TIP]
>
> Access › Sign-in shows “Microsoft Entra ID” as live. The sign-in page says “Sign in with Muster AG”.

The audit names every step at Microsoft: which app, who, when. The secret is never in the audit, the chat or the Console.

## Hand over to a person

If you lack the role in Entra ID, choose “Hand over to a person” and then “Create link”. Pass the link on: it is valid for 24 hours and shows the checklist. The person signs in at Microsoft with it; the app is created in your tenant as above.

![“Your role in Entra ID is not enough” with the button “Hand over to a person”, Muster AG](https://mintcdn.com/mono/5RnQocbG46juhcKu/images/microsoft-setup/ms-setup-role-light.jpg?fit=max\&auto=format\&n=5RnQocbG46juhcKu\&q=85\&s=7609508c7bfe0391e70b996b3a3592ed)

## Delete the app again

Open Access › Sign-in, then on “Microsoft Entra ID” the menu “⋯” › “Remove and delete the app at Microsoft …” and confirm “Remove and delete”. Mono removes the method, a new tab opens Microsoft, and after your sign-in Mono deletes the app in your tenant. In the chat: “Delete Mono's app at Microsoft.”

> [!WARNING]
>
> Afterwards nobody signs in through this app any more. Keep another method an admin can sign in with – a passkey, for example.

## When something goes wrong

| What you see | What you do |
| - | - |
| The row is greyed: “… your sign-in relay does not offer … yet.” | Mono has not registered its app at Microsoft yet. Register the app yourself: [Entra and Google](https://mono.mintlify.site/en/admins/entra-google.md). |
| “… runs through “Sign in with Mono”. Your server does not use it” | Your server does not use the sign-in relay. Register the app yourself. |
| “Microsoft needs an https address of your server.” | Give your server an address: Operations › Own address. |
| “Your role in Entra ID is not enough.” | Choose “Hand over to a person”. |
| “Not set up: Microsoft refused “…”” | Microsoft names the step. What is already created stays. “Try again” carries on there. |
| Microsoft shows the app as “unverified”. | Mono's app is still under review at Microsoft. You can consent anyway. |
| “First remove the sign-in method Microsoft Entra ID, then the app at Microsoft.” | In the chat: remove the method first, then delete the app. In the Console “Remove and delete the app at Microsoft …” does both. |

## Next

* [Groups and roles](https://mono.mintlify.site/en/admins/groups-and-roles.md): map the groups from Entra ID to Mono's roles.
* [Sign-in methods](https://mono.mintlify.site/en/admins/sign-in-methods.md): every way at a glance.


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