AegisAI Perspectives · 186

How do you set up AegisAI on Microsoft 365?

Approve one app in Microsoft Entra, run it read-only beside your current tools for five days, then decide on write access.

TL;DR
Answer
An admin approves the AegisAI app on the Microsoft 365 consent screen, and AegisAI starts read-only in monitoring mode.
Watch out for
Detection pauses until the service returns, so plan for that gap.
What AegisAI does
AegisAI reads mail through the Microsoft 365 API after delivery, so MX records and mail routing stay unchanged.
Book a demo

To see the consent screen for your own tenant before anyone signs, walk through the connection on a demo call.

Or get the Q3 2026 State of the AI Attack report (free, instant download)

How do you set up AegisAI on Microsoft 365?

An admin approves the AegisAI app on the Microsoft 365 consent screen, and AegisAI starts read-only in monitoring mode32. AegisAI reads mail through the Microsoft 365 API after delivery, so MX records and mail routing stay unchanged1.

To set up AegisAI on Microsoft 365, you need one Entra admin with the right role and about five minutes for the connection1. What AegisAI adds to Exchange Online Protection and Defender is in AegisAI for Microsoft 365: what it adds. The Graph permissions behind API-based email security in general are in how API-based email security integrates with Microsoft 365. Stage timings are in how long API-based email security takes to deploy.

Who can approve the app to set up AegisAI on Microsoft 365?

A Privileged Role Administrator can grant admin consent for any permission, and three other admin roles can grant everything except Microsoft Graph application permissions7. Microsoft calls admin consent for an organization a sensitive operation, since it can give the app's publisher access to significant parts of your data7. With application permissions, the app works with no signed-in user and can reach any data a granted permission covers8.

Task in Microsoft EntraRoles Microsoft lists for itWhere in the Entra admin center
Grant admin consent to an app that requests Microsoft Graph application permissionsPrivileged Role Administrator, or a custom role that includes the permission to grant permissions to applications7Entra ID > Enterprise apps > All applications > the app > Permissions7
Grant admin consent for any other permissionPrivileged Role Administrator, Cloud Application Administrator, AI Administrator or Application Administrator7Same path, then Grant admin consent7
Review what the app was grantedCloud Application Administrator or Application Administrator9Same path, then the Admin consent tab9
Revoke a permission an admin grantedAt least Cloud Application Administrator9See step 69

Match each permission name on the consent screen to the first two rows before anyone signs.

Set up AegisAI on Microsoft 365 in six steps

  1. Name the approver. Check in Microsoft Entra that the person who will sign holds a role from the table.

  2. See the grant before you approve it. On its demo call, AegisAI shows the actual OAuth grant, the same access grant you would approve to evaluate5. AegisAI gives each customer a dedicated application, and its Entra applications are publisher-verified by Microsoft3. Look for the blue verified badge, which Microsoft shows in the consent prompt of a verified publisher10.

  3. Read every line of the consent screen, then approve. AegisAI shows every permission on the consent screen before you approve it3. In the read-only pilot, the AegisAI app can list users and read mail for classification, nothing more3. The AegisAI app holds no persistent password or client secret. It signs in through workload identity federation, so only short-lived tokens issued to the AegisAI production cluster work3. Log the approver and the date.

  4. Run monitoring mode for five days. AegisAI runs beside your current stack in monitoring mode and removes nothing until you grant write access1. Read each flagged email in the AegisAI console's threat history4, and log the ones your current tools delivered in a shared spreadsheet, one row per email. Every AegisAI verdict comes with a confidence score and plain-language evidence1.

  5. Grant write access when you want removal. AegisAI quarantine mode adds a single permission to move malicious messages, which your admin grants and can revoke32. Confirm it afterwards on the app's Permissions page in Entra ID > Enterprise apps9. Record the date, because quarantine mode also starts holding original copies, for at most 48 hours4.

  6. Know the way back. In the Entra admin center, open Entra ID > Enterprise apps > All applications, select the AegisAI app, then Permissions and the Admin consent tab, and choose Revoke permission on each line9. AegisAI's access ends when you revoke its permissions in Microsoft Entra. There is no MX record to change back and no connector to unwind3.

What data you share when you set up AegisAI on Microsoft 365

AegisAI reads each message through the API, analyzes it in memory and discards normal mail4. AegisAI keeps only the metadata needed to run the service, such as message IDs and counts, and the content of messages flagged as suspicious4.

Before that content is stored, AegisAI scans it with Google Cloud Sensitive Data Protection, which redacts names, phone numbers, card and account numbers, passport numbers, credentials and keys4. AegisAI encrypts stored data at rest and keeps it separate for each customer4.

  • Threat history: AegisAI keeps it in the console for 90 days by default, and enterprise customers can request extended retention4.
  • Quarantined originals: AegisAI holds the original copy for at most 48 hours to carry out the quarantine4.

Put the 48 hour and 90 day figures next to the approval in your vendor record. AegisAI account takeover protection also needs audit-log access, and Entra ID P1 for sign-in reports on Microsoft 3651.

What should the best email security for Microsoft 365 leave unchanged?

Your MX records, your gateway, and delivery when something breaks. AegisAI is not in the critical path of mail flow. If the AegisAI service or the API connection is unavailable, delivery to mailboxes is unaffected3. Detection pauses until the service returns, so plan for that gap6.

What does the best email security for a lean IT team with no SOC on Microsoft 365 ask of setup?

On a small team, the admin who approves the app often reads the verdicts too, so one person has to be able to check and undo the setup. AegisAI keeps the first days read-only, so a mistaken detection result removes nothing1. Book a fixed slot each morning in the approver's calendar to read that day's verdicts. How to choose a tool at that size is in email security for a lean IT team with no SOC.

After you set up AegisAI on Microsoft 365, how do I secure my Microsoft 365 email environment against advanced threats?

Use the five days to decide, then let removal run. The wider control list is in securing Microsoft 365 email against advanced threats.

  • Day 5: Read the spreadsheet with whoever owns email risk and decide on write access, the last grant you make when you set up AegisAI on Microsoft 365.
  • After write access: read the AegisAI console's threat history each morning4. AegisAI now judges every message by its intent and removes what fails from every mailbox it reached1. The AegisAI platform page lists four features that remove or sort mail with write access, among them graymail control, which moves newsletters and bulk mail out of the inbox1.
  • Day 30: Open the app's Permissions page in Entra and compare what was granted with what you expected9. Revoke any permission nobody can explain.

How AegisAI handles this

AegisAI supports customer-managed encryption keys, held in your own key management service4. Revoking AegisAI's access to that key makes all stored data unreadable at once, and every decryption request is logged in your own environment4. Agent security is covered in how AegisAI's AI agents are secured. To see the consent screen for your own tenant before anyone signs, walk through the connection on a demo call.

Questions people ask

How do you set up AegisAI on Microsoft 365?

An admin with the right Entra role approves the AegisAI app on the consent screen. AegisAI then runs read-only in monitoring mode. Write access for removal is a later grant your admin can revoke.

What is the best email security for a lean IT team with no SOC on Microsoft 365?

Pick one a single admin can approve and revoke. AegisAI starts read-only and loses access when you revoke it in Microsoft Entra.

Is the best email security for Microsoft 365 one that changes MX records?

It does not need to. AegisAI reads mail through the API after delivery, with no MX record change and no gateway.

How do I secure my Microsoft 365 email environment against advanced threats?

Add a check after delivery, compare its findings with your current tools for five days, then grant removal. Review the app's permissions in Entra at day 30.

How does AegisAI send its detections to a SIEM?

Over a webhook, an automatic message to your security log tool (SIEM). AegisAI streams detection events (message metadata, verdicts, indicators and remediation actions), and platform audit logs can be exported too.

Sources

  1. (AegisAI: Platform, read 30 November 2026)
  2. (AegisAI: Inbound email security, read 30 November 2026)
  3. (AegisAI Blog: What happens to my mail flow if you go down?, read 30 November 2026)
  4. (AegisAI Blog: Data retention, encryption and compliance, read 30 November 2026)
  5. (AegisAI: demo page, read 30 November 2026)
  6. (AegisAI: What is AegisAI, read 30 November 2026)
  7. (Microsoft Learn: Grant tenant-wide admin consent to an application, updated 27 August 2026)
  8. (Microsoft Learn: Overview of permissions and consent, updated 25 June 2026)
  9. (Microsoft Learn: Review permissions granted to enterprise applications, updated 19 February 2026)
  10. (Microsoft Learn: Publisher verification, updated 15 June 2026)

Recent posts

Every email, investigated.