Skip to main content

Connecting your tenant

Connecting a tenant is two AAD consent flows: a one-time Setup consent (elevated, self-deleting) and the daily-use Customer consent (the permissions that stay).

You're agreeing to grant our daily-use app reg the permissions it needs to read your quarantine + release messages on your users' behalf.

PermissionTypeWhy we need it
User.ReadDelegatedIdentifies the signed-in user when they open the add-in.
Exchange.ManageAsAppApplicationLets our service call Get-QuarantineMessage and Release-QuarantineMessage for any user in your tenant.
openid, profile, emailDelegatedStandard sign-in scopes.

You can verify these on the DeploymentPermissions card at any time; we re-check them live every time you load the page.

Separate, more powerful, but only used once. The Setup app:

  1. Assigns the Exchange Administrator directory role to our daily-use app's service principal. This is the role Exchange.ManageAsApp needs to actually do anything in Exchange Online.
  2. Self-deletes from your Enterprise applications list once it's done its job.

After the run completes, the Setup app no longer exists in your tenant. You'll only see the daily-use Quarantine Customer app reg under Enterprise applications.

Revoking access

You can disconnect at any time:

  • Inside the portal: Settings → Disconnect tenant. Stops billing on the next cycle and revokes our access on the next data refresh.
  • Outside the portal: delete the Quarantine Customer (Production) entry from Enterprise applications in Entra ID. The portal will detect the missing consent on the next sign-in and prompt you to re-grant or close the account.

Common questions

Why two app registrations? The Setup app needs RoleManagement.ReadWrite.Directory to assign the Exchange Administrator role — too sensitive to leave consented indefinitely. Separating it lets you grant the elevated scope for one-time use, then revoke automatically.

Can I do this with a non-Global-Admin? Application Administrator is enough. Anything below that won't surface the consent buttons.

→ Next: Deploying the add-in covers sideloading the manifest into Outlook.