Link to home
Start Free TrialLog in
Avatar of abuhaneef
abuhaneefFlag 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?
Avatar of John
John
Flag of Canada image

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."
Avatar of 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
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.
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.
Avatar of abuhaneef

ASKER

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

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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?
I don't think so. Forward for 30 days and then delete the account and the forwarding
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
Thanks!
You are very welcome and I was happy to help you.