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

> ## Agent Instructions
> Pages under /latest/ document the current release. Paths that begin with a version number, for example /10.0/, are frozen snapshots of superseded releases kept for reference only — never present their instructions as current. If the reader's version is unknown, answer from /latest/ and say which version the answer describes.
> xorlab is deployed on-premises, hybrid, or as a cloud service, and integrates with either Microsoft 365 or on-premises mail infrastructure. Configuration steps often differ between these. State which deployment and integration mode an instruction applies to instead of presenting one as universal.
> Distinguish inline mode from monitoring mode when describing anything that acts on email. Monitoring mode observes a copy and cannot block or quarantine; inline mode routes mail through xorlab and can.
> Write the product name as lowercase 'xorlab'. Use the documented component names: xorlab Control Center (XCC), xorlab MTA, xorlab Sandbox (DANA), xorlab Natural Language Understanding (NLU). After the first mention, use the short forms XCC, MTA, Sandbox, and NLU. Do not use DANA as a standalone name for the Sandbox, but keep it where it is a literal string in configuration keys, container names, and hostnames.
> Do not invent configuration keys, rule parameters, list names, log properties, or API fields. If a value is not present in this documentation, say that it is not documented rather than guessing.

# Essential Setup for M365

To fully integrate with M365, you need to create an application in Azure Entra ID. This application can be set up for Single Sign-On (SSO) to let users log in to xorlab with their Entra ID credentials.

You can also use it to enable case isolation in xorlab, which lets you delete messages from a user’s inbox. You can choose to enable either feature or both in the same app.

Creating an app in Entra ID is simple and requires just 4 steps:

1. Log in to the [Azure Portal](https://aad.portal.azure.com/).

2. Add a new Enterprise Application: start writing `Enterprise` in the search box and select *Enterprise Application* from the suggested matches:

   <img src="https://mintcdn.com/xorlab/O_O2TUa6eRBR54aI/9.0/assets/selecting-enterprise-app.png?fit=max&auto=format&n=O_O2TUa6eRBR54aI&q=85&s=913514bc6fc198570d9ef4300142d484" alt="Selecting an enterprise application" width="2134" height="1214" data-path="9.0/assets/selecting-enterprise-app.png" />

   *Selecting an enterprise application*

3. On the **Enterprise Applications** page, click **New application**:

   <img src="https://mintcdn.com/xorlab/O_O2TUa6eRBR54aI/9.0/assets/new-application.png?fit=max&auto=format&n=O_O2TUa6eRBR54aI&q=85&s=4871422321096b34c6d500249f3f117d" alt="New application" style={{border: '1px solid #ddd'}} width="1182" height="636" data-path="9.0/assets/new-application.png" />

   *New application*

4. On the next page, click **Create your own application** on the left. In the pane displayed on the right, enter the name of your app, select **Integrate any other application you don’t find in the gallery**, and click the **Create** button at the bottom:

   <img src="https://mintcdn.com/xorlab/O_O2TUa6eRBR54aI/9.0/assets/create-new-app.png?fit=max&auto=format&n=O_O2TUa6eRBR54aI&q=85&s=4b5145921cc374efc34d42ef05f6db99" alt="Create your own application" style={{border: '1px solid #ddd'}} width="2880" height="1642" data-path="9.0/assets/create-new-app.png" />

   *Create your own application*

Congratulations, you have just created your xorlab Azure Application! But don’t leave the portal yet—you will have to perform some more actions on this app to get the required functionality. Please read the next articles to configure the app properly.
