logo
search
Send & Receive Issues

How to Stop Exchange Online Mail Forwarding from Reappearing

Natalie TaylorNatalie Taylor Oct 26, 2026 869 views

Question details

The user needs to permanently remove an SMTP mail forwarding setup that keeps reactivating automatically.

How to Stop Exchange Online Mail Forwarding from Reappearing
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.
Before you start

Ensure you have Exchange Administrator permissions and have access to either the Exchange Admin Center or Exchange Online PowerShell before modifying mailbox routing settings.

Solution 1Recommended

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.

1
Connect to Exchange Online PowerShell

Open PowerShell as an administrator and connect to your Exchange Online environment using your admin credentials.

2
Run the Set-Mailbox command

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

3
Verify the changes

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.

Clear Forwarding Rules using Exchange Online PowerShell
Command Executed Successfully: Once the PowerShell command is applied, the persistent SMTP forwarding rule will be permanently erased from the shared mailbox.
Free Microsoft Office alternative

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. 1. Download the Installer: Visit the official WPS Office website and download the free installation package.
  2. 2. Install WPS Office: Run the downloaded executable file and follow the simple on-screen prompts to complete the setup.
  3. 3. Open Your Documents: Launch WPS Office to easily open, edit, and save all your existing Microsoft Office files.
Fully compatible with Microsoft Word, Excel, and PowerPoint file formats (.docx, .xlsx, .pptx).Lightweight installation with a familiar, easy-to-use tabbed interface.Built-in PDF editing tools for comprehensive document management.Cost-effective solution that allows seamless migration from other office suites.
microsoft office alternative - wps office

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.