How to Stop Exchange Online Mail Forwarding from Reappearing
Question details
The user needs to permanently remove an SMTP mail forwarding setup that keeps reactivating automatically.

- Product
- Exchange Online
- Device & OS
- not provided
- Scenario
- A user mailbox has recently been converted into a shared mailbox, and previous forwarding settings are persisting.
- Observed behavior
- SMTP forwarding rules reappear persistently even after they are manually deleted in the system.
Ensure you have Exchange Administrator permissions and have access to either the Exchange Admin Center or Exchange Online PowerShell before modifying mailbox routing settings.
Clear Forwarding Rules using Exchange Online PowerShell
Using PowerShell is the most reliable method to force the removal of persistent forwarding addresses on a mailbox.
When GUI portals fail to permanently remove a forwarding rule due to synchronization issues, Exchange Online PowerShell can directly overwrite the mailbox properties to ensure all forwarding is nullified.
Open PowerShell as an administrator and connect to your Exchange Online environment using your admin credentials.
Execute the following command, replacing <User ID> with the actual email address or alias of the shared mailbox: Set-Mailbox -Identity <User ID> -DeliveryToMailboxAndForward $False -ForwardingAddress $Null
Run Get-Mailbox -Identity <User ID> | Format-List ForwardingAddress,DeliverToMailboxAndForward to confirm that the forwarding address is now blank and the delivery flag is set to False.

Identify Hidden Rules via Message Trace and Admin Centers
If forwarding persists, track down where the conflicting setting was originally configured using a message trace.
Looking for a Lightweight Office Suite? Try WPS Office
While managing your Exchange Online and Outlook configurations, consider WPS Office for your document creation needs. It offers a free, lightweight, and highly compatible alternative to Microsoft Office, ensuring a seamless workflow without heavy subscriptions.
- 1. Download the Installer: Visit the official WPS Office website and download the free installation package.
- 2. Install WPS Office: Run the downloaded executable file and follow the simple on-screen prompts to complete the setup.
- 3. Open Your Documents: Launch WPS Office to easily open, edit, and save all your existing Microsoft Office files.

Frequently Asked Questions
Why does mail forwarding reappear after I delete it in a shared mailbox?
This usually happens due to synchronization conflicts when the forwarding rule was originally configured in a different portal (like the classic Exchange Admin Center or Outlook on the web) before the user mailbox was converted to a shared mailbox.
Can I remove mail forwarding directly from the Microsoft 365 Admin Center?
Yes, you can navigate to Teams & groups > Shared mailboxes, click on the specific mailbox, and edit the 'Email forwarding' option. However, if the rule persistently returns, using Exchange Online PowerShell is the recommended fix.
What does a message trace do in Exchange Online?
A message trace is a diagnostic tool found in the Exchange Admin Center that tracks an email message as it travels through your Exchange Online service. It helps administrators pinpoint exactly which active mail-flow setting or hidden rule is triggering unwanted forwarding.




