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

# Microsoft 365: information for administrators

> Microsoft Entra applications, delegated permissions, admin consent, and access revocation for Microsoft sign-in, Outlook, and OneDrive.

This page is for Microsoft 365 administrators who approve the applications There uses in Microsoft Entra ID: sign-in with Microsoft, [sending from Outlook](https://docs.there.do/features/sharing/sender.md#outlook), and [sending PDFs to OneDrive](https://docs.there.do/features/sharing/integrations/onedrive).

## Applications and permissions

There uses two Microsoft Entra applications, both named **There** and published by There as a verified publisher. Tell them apart by their client ID.

### Sign-in with Microsoft

Used when a person clicks **Continue with Microsoft**.

* Client ID: `3fda0798-805c-4d0c-b77b-b371c3896c68`
* Delegated permissions: `User.Read` and `email`, to read the person's profile and email address.

> [!NOTE]
>
> This feature is available starting from the [**Business** plan](https://docs.there.do/billing/plans/index.md).

### Outlook and OneDrive

Used when a person connects Outlook or OneDrive in There. Each person connects their own account and consents for themselves.

* Client ID: `4f2c9f69-e276-4b84-8819-19a0655a5ed2`

| Delegated permission | Requested when | Why |
| - | - | - |
| `openid`, `profile`, `User.Read` | Any connection | Identify the connected Microsoft account. |
| `offline_access` | Any connection | Keep the connection active without signing in again before each send. |
| `Mail.Send` | Connecting Outlook | Send the sharing email from the person's mailbox. It is saved in their **Sent Items**. |
| `Files.ReadWrite.All` | Connecting OneDrive | List folders so the person can pick a destination, then upload the PDF there. |
| `email` | Admin consent | Read the email address of the connected account. |
| `Sites.Read.All` | Admin consent | Read the SharePoint sites the person can access. |

`Files.ReadWrite.All` covers every file the person can access, including SharePoint libraries they can open. There only lists folders and writes the PDF the person sends.

When an administrator grants consent for the organisation, every permission in this table is granted, including `email` and `Sites.Read.All`, which a person's own connection does not request.

## Delegated permissions only

There acts on behalf of the signed-in person, within that person's own rights. It requests no application permission: it cannot read or send from other mailboxes, and it can only access files the person can already open.

When people send from Outlook, the email leaves your Microsoft 365 tenant from their own address, with your domain's SPF, DKIM, and DMARC. Emails sent by There itself come from `notifications@mail.there.do`. If they are filtered, see [Allow There emails in Microsoft 365](https://docs.there.do/features/sharing/allow-microsoft-365-emails.md).

## Grant admin consent

If your tenant does not let users consent to third-party applications, people see an approval request when they connect. An administrator can grant consent for the whole organisation:

**1. Open the application**

Sign in to the [Microsoft Entra admin center](https://entra.microsoft.com),
open **Enterprise applications**, and select the There application. It
appears after a first connection attempt.

**2. Grant consent**

Open **Permissions** and click **Grant admin consent for** your
organisation.

**3. Limit access (optional)**

Under **Properties**, set **Assignment required** to **Yes**, then assign
only the users or groups allowed to use There.

You can also grant consent before anyone connects by opening
`https://login.microsoftonline.com/<your-tenant-id>/adminconsent?client_id=<client-id>`
with the client ID of the application.

Your conditional access policies apply each time people sign in or connect their account.

## Revoke access

A person disconnects their own account in There. There then deletes the stored authorization:

* **Outlook**: in the share window, click the **From:** field, select **Configure sending**, then **Disconnect Microsoft account**.
* **OneDrive**: click your avatar, open **Integrations**, then click **Disconnect** next to OneDrive.

An administrator revokes access for the whole tenant in the Microsoft Entra admin center: open **Enterprise applications**, select the There application, then:

* open **Permissions** to review or revoke the permissions granted;
* or delete the application to revoke access for every person in your tenant.

There can then no longer act on behalf of the people in your organisation. They need to connect again, and consent again, to use the integration.

## Related

> [card] [Single sign-on (SSO)](https://docs.there.do/getting-started/organisation/sso.md)
>
> Sign-in with Microsoft or Google, and enterprise SSO.

> [card] [Allow There emails in Microsoft 365](https://docs.there.do/features/sharing/allow-microsoft-365-emails.md)
>
> Find and allow There sharing emails in Outlook, Defender, and Exchange
> Online.


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