TinyAddicts #2 – Find mailboxes with forwarding enabled

TinyAddicts is a series of ultra-short, ultra-useful scripts and snippets. No fluff – just pure, working code. Perfect for admins, devs, and anyone who values their time.

Scenario

Want to find users who have mailbox forwarding enabled in Exchange Online? This quick script returns both internal and external forwarding configurations.

Code

Sample output

Notes

  • Requires Connect-ExchangeOnline (Exchange Online PowerShell v2+).
  • ForwardingSmtpAddress = external forwarding
  • ForwardingAddress = internal mailbox
  • DeliverToMailboxAndForward = True → mailbox keeps a copy; False → only forwards

To clear forwarding:

Export results to CSV:

More bite-sized scripts in the TinyAddicts series – simple tools, serious impact.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top