Skip to content
Giminger ConsultingDE

Scope application access to the intended Exchange mailboxes

Key takeaway

Microsoft documents scoped application RBAC in Exchange Online. Verify separately granted Microsoft Entra permissions, since grants from different sources may combine.

Lessons in this path
  1. Distinguish Outlook Copilot from central integration
  2. Scope application access to the intended Exchange mailboxes
  3. Define business handoffs and audit for the pilot

How it works

Have platform owners verify the mailbox allowlist and required operations. Check effective access in the pilot account. Separate draft access from send rights and review any broad rights on the app registration.

Worked example

A drafting integration may read the designated queue and prepare a draft. Another unit’s mailbox remains outside approved scope.

How do Exchange RBAC and Entra permissions interact?

Exchange Online offers RBAC for Applications, a model in which an application receives a role (for example read or write mail) only within a scope, such as a group of mailboxes. In parallel, the same app registration may hold Graph application permissions such as Mail.Read in Microsoft Entra ID, which apply tenant-wide. Microsoft describes that grants from both sources are additive. A carefully scoped Exchange assignment therefore achieves nothing if a tenant-wide permission is also granted in Entra.

Older environments sometimes still use Application Access Policies for restriction. Agree with the platform team which model applies in your tenant and whether a migration is planned before you fix the pilot configuration.

Step by step: scope and evidence the permissions

The exact command sequence depends on your environment and should be taken from current Microsoft documentation. The logic stays the same.

  1. Create a dedicated app registration for the pilot; do not reuse an existing one.
  2. Group the permitted mailboxes in a dedicated group or by a distinct attribute and build a scope from it.
  3. Assign only the role needed: read for triage, read/write for drafts. Send rights separately and initially not at all.
  4. Check in Entra that the app holds no equivalent tenant-wide Graph permissions, and document the result with a screenshot or export.
  5. Test effectiveness: access one permitted and one non-permitted synthetic mailbox; Microsoft also provides a cmdlet for testing service principal authorization.
  6. Protect the app credentials with a certificate or managed identity instead of a shared secret and track expiry dates in the operations calendar.

Acceptance checklist for platform administration

This list works as an annex to the operational approval. Each item needs evidence, not just a tick.

Application permission acceptance
CheckExpectationEvidence
Access to permitted test mailboxAllowedTest log with timestamp
Access to non-permitted test mailboxDeniedError recorded in log
Sending from the pilot mailboxDeniedTest log
Tenant-wide Graph permissionsNoneExport of app permissions
CredentialsCertificate with expiry, owner namedOperations manual entry

Going deeper: drift, recertification and reuse

Permissions drift. A colleague adds a Graph permission briefly for troubleshooting, the scope group grows through dynamic membership rules, or a second application reuses the same registration. Plan regular recertification, for example quarterly, comparing the mailbox list, roles and Entra permissions against the register entry. Many enterprises can automate this with existing identity governance tooling.

Also treat the combination of read access and an external model call as a risk in its own right: whoever takes over the app identity can exfiltrate content from every mailbox in scope. Egress restrictions, conditional access for workload identities and alerts on unusual retrieval volume limit this damage.

A scope is only as good as the group behind it. Use static, reviewed memberships for pilot mailboxes.

Example: The forgotten legacy grant

Example (fictional): an industrial group configures an Exchange scope for three procurement mailboxes for a triage pilot. Acceptance with the non-permitted test mailbox fails: access succeeds. The cause is a Mail.Read application permission from an earlier archiving project that sat on the same app registration.

The team creates a new registration, removes the legacy grant after agreeing with the archiving owner and repeats acceptance. Since then, an export of Entra permissions is mandatory documentation for every mail pilot.

Common mistakes

  • Checking only the Exchange scope and overlooking tenant-wide Graph permissions.
  • Granting write and send rights together because they will be “needed later anyway”.
  • Using dynamic groups as scope without anyone monitoring their rules.
  • Client secrets without expiry monitoring, so the pilot silently fails on a given date.

Frequently asked questions

Is a developer policy enough instead of technical scoping?

No. For applications with access to mailbox content, scoping should be technically enforced and evidenced by a negative test.

How often should the permissions be reviewed?

As orientation, at every change of mailbox list or function, plus at a fixed cadence set by your identity governance.

Try it yourself

Prepare acceptance checks using one allowed and one disallowed synthetic mailbox. Record intended and effective rights.

Check your result

Only the approved application reaches the intended mailboxes, and sending is separately controlled.

Official documentation and sources

Practical guides and references