---
title: "Microsoft 365"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:handbook-administration-microsoft365@main"
source: "Handbook/Administration/Microsoft365/Index.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

<a id="handbook-administration-package-microsoft365"></a>

# Microsoft 365 {#handbook-administration-microsoft365}

> [!NOTE]
> This page needs the Microsoft 365 package. If your company does not use it, the integration is not in the list.

Send the mail of your company through Microsoft 365, also when your tenant has switched off app passwords and basic
SMTP login. adsum signs in as an application of your own tenant; no person's password is involved.

## Prepare Microsoft 365 {#prepare-microsoft-365}

Ask whoever runs your Microsoft 365 tenant to

-   register an application in Microsoft Entra ID and give you the tenant, the application (client) ID and a client
    secret with its expiry date,
-   give the application the permission `Mail.Send` (application permission, with admin consent), and
    optionally `User.Read.All`, so adsum can also check that the mailbox exists,
-   name the mailbox the mail is sent from. Mail always leaves from this mailbox, never from the address of a person.

## Connect adsum {#connect-adsum}

1.  Open **Administration > Integrations** and select **Settings** next to **Microsoft 365**.
1.  Enter the tenant, the application ID, the client secret, the date it expires and the sender mailbox.
1.  Select **Save settings**, then **Test connection**. The checks show whether Microsoft answers,
    accepts the registration, allows sending mail and knows the mailbox. A missing permission is named.
1.  Switch on **Use for this company**.
1.  Open **Administration > E-mail** and, under **Mail transport**, choose **Microsoft 365**.
    The mail server fields disappear; they stay saved for the case you switch Microsoft 365 off again.
1.  Select **Send a test e-mail** to check the whole way.

## Good to know {#good-to-know}

-   Thirty days and again seven days before the client secret expires, administrators get a notification. Enter the new
    secret and its expiry date in time; after the day it expires the integration shows as failing.
-   When you switch the integration off, the mail of your company goes out through the mail server again.
-   Mails with attachments above 25 MB in total are not sent.
-   Ask whoever runs the tenant to restrict the application to the sender mailbox. Otherwise it can send as any mailbox.
-   Every mail, also one sent through Microsoft 365, is listed on the tab **Deliveries** of
    **Administration > E-mail**; a failure shows its reason there.
