Avatar of abuhaneef
abuhaneef
Flag for United States of America asked on

Does deleting a user turn forwarding off?

I currently have a user absde@abc.com forwarding to user@efg.com.  When deleting a user/mailbox (absde@abc.com) in O365 (hybrid), is the forwarding turned off?
Microsoft 365* Exchange Hybrid

Avatar of undefined
Last Comment
John

8/22/2022 - Mon
John

See:

https://docs.microsoft.com/en-us/office365/admin/add-users/remove-former-employee?view=o365-worldwide

Quoting from the article "If you're setting up email forwarding or a shared mailbox, at the end, don't delete the former employee's account. The account needs to be there to anchor the email forwarding or shared mailbox."
Mahesh

it depends how you set forwarding?

if forwarding is set on mailbox and mailbox itself not available forwarding will also not work

however if you set transport rule to forward email, it will still forward emails even after  you delete account - this need to be tested as I don't have lab write now
Sunil Chauhan

if you have used forwardingsmtpaddress attribute on the mailbox to forward, then as long as the mailbox is active and accepting emails the forwarding should work.

it is best advised that you should do a use case to test what happens to the office 365 mailbox and forwarding once you delete the on premise object.

generally, in DirSynced scenario, it will also remove the office 365 Ad account, due to which the mailbox will become inactive and the forwarding will no longer work.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
Saif Shaikh

if you delete a mailbox any attribute with regards to mail, mailnickname, smtp, proxyaddress, forwardingsmtpaddress gets removed.

Meaning there will not be any attributes of exchange only AD attributes so yes forwarding will be turned off.
abuhaneef

ASKER
Mail was forwarded with the following:
Set-Mailbox -Identity $internalemail  -DeliverToMailboxAndForward $False -ForwardingSMTPAddress $externalemail
ASKER CERTIFIED SOLUTION
John

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
abuhaneef

ASKER
Thanks John.  We are trying to reduce O365 licenses, but I have found that when the license is removed, forwarding ceases.  Is there a way to implement forwarding without retaining the license/account?
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
John

I don't think so. Forward for 30 days and then delete the account and the forwarding
Mahesh

Agreed above
Forwarding should be kept with vip personal for extended period

Still if you want, you can create contact of user and set forwarding in contact properties
abuhaneef

ASKER
Thanks!
Your help has saved me hundreds of hours of internet surfing.
fblack61
John

You are very welcome and I was happy to help you.