Exchange Online mailbox governance · Deploy
Lock down forwarding, shared mailboxes and app access
Forwarding off with exceptions, shared mailbox sign-in blocked, SMTP AUTH off by default, and apps scoped.
- Duration
- 3 to 5 weeks
- Effort
- About 5 to 8 person-days
- Complexity
- Medium
- Beyond E5
- Nothing beyond Microsoft 365 E5
On this page
Overview
The outbound spam policy controls automatic external forwarding for everyone or for groups through separate policies; with forwarding off, forwarded messages bounce with a non-delivery report. Shared mailboxes are blocked from sign-in through their user accounts. SMTP AUTH can be disabled for the organization and enabled for specific mailboxes. RBAC for Applications assigns an app a role over a resource scope, so it can only reach the mailboxes it needs.
Technically, you set the default outbound spam policy's forwarding to Off and create a custom policy for exception groups, block sign-in on shared mailbox accounts, disable SMTP AUTH organization-wide and enable it per mailbox for exceptions, and replace broad app permissions with RBAC for Applications role assignments over management scopes.
You'll end up with: Forwarding off for everyone except named exceptions, shared mailboxes protected, SMTP AUTH limited, and apps reaching only the mailboxes they need.
If you skip it: Without these changes, a compromised account can quietly forward mail, shared mailboxes stay open to password attacks, and a compromised app can read every mailbox.
Before you start
The path to this playbook
- Plan Exchange Online mailbox governance
- Lock down forwarding, shared mailboxes and app access (you are here)
- Plan Exchange Online mailbox governance: Decisions on forwarding, shared mailboxes, delegation, SMTP AUTH and app access, based on what's in use today.
- Have the plan and exceptions
How to do it
The changes follow the decisions and exception list from Plan Exchange Online mailbox governance.
- Tell affected people
How to do it
Tell people with forwarding today that it will stop, and app and device owners when their change is scheduled.
Pilot to production
4 phasesTurn off external forwarding1 week
Set the default outbound spam policy to Off for forwarding, and create a separate policy for the exception group.
Move on when A test forward from a normal mailbox bounces, and one from the exception group works.
How to do it
Remote domain settings also affect forwarding; keep them consistent with the policy so the result isn't ambiguous.
Watch out for (1)
If you: Turn forwarding off without checking existing rules
What tends to happen: People who relied on forwarding lose mail silently from their point of view, and the service desk is flooded
A better approach:Tell people with forwarding first, and offer approved alternatives such as mobile access
Block sign-in to shared mailboxes1 week
Block sign-in for every shared mailbox account, and move any process that signs in to permissions instead.
Move on when No shared mailbox account can sign in, and its users still work through their own mailboxes.
How to do it
People access a shared mailbox through their own licensed mailbox with Full Access and Send As or Send on Behalf. The shared mailbox's own account isn't meant for sign-in.
Watch out for (1)
If you: Block sign-in without checking scripts and devices
What tends to happen: A scanner or script that signed in as the shared mailbox stops working
A better approach:Find what signs in as each shared mailbox first, and move it to a supported method
Limit SMTP AUTH1 to 2 weeks
Turn SMTP AUTH off for the organization and on only for the mailboxes on the exception list, after testing with their owners.
Move on when Only exception mailboxes have SMTP AUTH, and their apps and devices still send.
How to do it
If security defaults are on, SMTP AUTH is already disabled. An authentication policy that blocks Basic authentication for SMTP stops SMTP AUTH even when it's enabled for a mailbox, so plan for OAuth where the device supports it.
Watch out for (1)
If you: Re-enable SMTP AUTH for everyone when one device breaks
What tends to happen: The exposure returns for every mailbox
A better approach:Enable it only for the mailbox that device uses, and plan its move to OAuth or a connector
Scope app access1 to 2 weeks
For each app that reads or sends mail on its own, replace broad permissions with an RBAC for Applications assignment over a scope of mailboxes.
Move on when Each app reaches only its scoped mailboxes, tested with its owner.
How to do it
Management scopes select mailboxes with a filter on their properties; Microsoft recommends using administrative units directly on the role assignment where possible.
Watch out for (1)
If you: Scope the app and leave its broad permission in place
What tends to happen: The broad permission still grants access to every mailbox
A better approach:Remove the broad grant once the scoped assignment is tested
Keep the exception list in one place, with owners and review dates, and give the service desk the routes for requesting an exception.
How you'll know it's working
4 measures
Capture a baseline before you start, or you won't be able to show the change.
| Measure | Where you see it | Good direction |
|---|---|---|
| Mailboxes forwarding externally without an exception | Exchange reports | Down |
| Shared mailboxes with sign-in allowed | Entra ID | Down |
| Mailboxes with SMTP AUTH enabled | Exchange Online PowerShell | Down |
| Apps with unscoped mail access | Entra ID app permissions | Down |
Take it with you
plan, gate checks, 1 template
Plan outline: phases and when to move on
- Turn off external forwarding (1 week). Move on when: A test forward from a normal mailbox bounces, and one from the exception group works.
- Block sign-in to shared mailboxes (1 week). Move on when: No shared mailbox account can sign in, and its users still work through their own mailboxes.
- Limit SMTP AUTH (1 to 2 weeks). Move on when: Only exception mailboxes have SMTP AUTH, and their apps and devices still send.
- Scope app access (1 to 2 weeks). Move on when: Each app reaches only its scoped mailboxes, tested with its owner.
Gate checks: questions to answer before each phase ends
Before leaving Turn off external forwarding
- Does a test forward bounce for normal mailboxes?
Before leaving Block sign-in to shared mailboxes
- Can any shared mailbox account still sign in?
Before leaving Limit SMTP AUTH
- Is SMTP AUTH enabled only for exception mailboxes?
Before leaving Scope app access
- Was each app's broad permission removed after scoping?
Change notice to app owners
On [date], [change: SMTP AUTH off / app access scoped]. Your app [name] uses [mailbox]. Please test by [date]. If it stops sending or reading, contact [owner].
Microsoft Learn
6 links
Configure
- Control automatic external email forwarding from cloud mailboxes
- Remote domains in Exchange Online
- Shared mailboxes in Exchange Online
- Enable or disable authenticated client SMTP submission (SMTP AUTH) in Exchange Online
- Role Based Access Control for Applications in Exchange Online
- Manage permissions for recipients in Exchange Online
Contributor

Microsoft 365 architecture and governance · Protiviti
Compare notes or suggest an improvement
Changelog
Changelog (1 version)
| Version | Date | By | Change |
|---|---|---|---|
| 1 | Sev Derghazarian | First draft. |