Office 365 Forwarding Mail with no rules or settings

Recently someone had been in touch with a forum with a strange issue.

One of their office 365 users had an e-mail mailbox, brand new, that was somehow forwarding messages to a gmail account when they came in.

The powershell command

Get-Mailbox -Filter {ForwardingAddress -ne $null}

gave a list of no accounts being forwarded. The OWA interface for the user also didn’t show any forwarding rules.

The forum ran out of ideas and the user contacted Microsoft Support.

Microsoft solved the problem with the following advice:

  1. To disable forwarding to other email address from Office 365 for one user
  2. Set-Mailbox -Identity “UsersEmailAddress” -ForwardingAddress:$null -ForwardingSmtpAddress:$null
  1. To do this for all users in Office 365
  2. Get-Mailbox | Set-Mailbox -ForwardingAddress:$null -ForwardingSmtpAddress:$null
  1. To check if it has set properly (for one user)
  2. Get-Mailbox -Identity “UsersEmailAddress” | Select DisplayName, ForwardingAddress, ForwardingSmtpAddress
  1. To check if it has set properly (for all users)
  2. Get-Mailbox | Select DisplayName, ForwardingAddress, ForwardingSmtpAddress

I can’t check what state the account must have been in but I assume the ForwardingAddress waas blank but ForwardingSmtpAddress may not have been.

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

Comment on this topic

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s