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

# Create Entra ID App

> Register the mandatory xorlab app in Entra ID for M365 SAML login and optional case isolation or retrospective scanning.

Create a basic app for xorlab in Entra ID before enabling the required [SAML Login](/latest/m365-saml-entra-authentication). The same app is also used for optional [Case Isolation](/latest/m365-case-isolation) and [Retrospective Email Scanning](/latest/m365-retrospective-email-scanning).

1. Log in to the [Entra ID Portal](https://entra.microsoft.com).

2. Go to *Enterprise Application* via the search:

   <img src="https://mintcdn.com/xorlab/O_O2TUa6eRBR54aI/latest/assets/selecting-enterprise-entra-app.png?fit=max&auto=format&n=O_O2TUa6eRBR54aI&q=85&s=c641ec343492f65cb02e8e822cb6b864" alt="Selecting an enterprise application" width="1309" height="752" data-path="latest/assets/selecting-enterprise-entra-app.png" />

3. Click **New application**:

   <img src="https://mintcdn.com/xorlab/O_O2TUa6eRBR54aI/latest/assets/new-application-entra.png?fit=max&auto=format&n=O_O2TUa6eRBR54aI&q=85&s=62a5739d471d8a8e3eafd32a8921fe04" alt="New application" width="1175" height="480" data-path="latest/assets/new-application-entra.png" />

4. Click **Create your own application**. Enter `xorlab` as name. Select **Integrate any other application you don’t find in the gallery**:

   <img src="https://mintcdn.com/xorlab/O_O2TUa6eRBR54aI/latest/assets/new-application-entra2.png?fit=max&auto=format&n=O_O2TUa6eRBR54aI&q=85&s=f672d7c2b9fa9028c567910aa39c60b0" alt="Create your own application" width="1922" height="932" data-path="latest/assets/new-application-entra2.png" />

5. Click **Create**. The application is now available under **App registrations** → **All applications**.

## Next steps

Continue with the mandatory SAML login first:

* [SAML Login](/latest/m365-saml-entra-authentication)

Then enable the protection mode for your tenant, which is also mandatory:

* Either [M365 Monitoring Mode](/latest/m365-monitoring-mode) or [M365 Inline Mode](/latest/m365-inline-mode)

The app created here is also used by these optional steps:

* [Retrospective Email Scanning](/latest/m365-retrospective-email-scanning) — run this *before* the tenant goes inline, as it is not supported for inline tenants
* [Case Isolation](/latest/m365-case-isolation)
