We help IT Professionals succeed at work.

Does deleting a user turn forwarding off?

77 Views
Last Modified: 2019-01-09
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?
Comment
Watch Question

JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

Commented:
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."
MaheshArchitect
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
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 ChauhanConsultant
CERTIFIED EXPERT

Commented:
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.
Saif ShaikhServer engineer
CERTIFIED EXPERT

Commented:
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.

Author

Commented:
Mail was forwarded with the following:
Set-Mailbox -Identity $internalemail  -DeliverToMailboxAndForward $False -ForwardingSMTPAddress $externalemail
Business Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION

Author

Commented:
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?
JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

Commented:
I don't think so. Forward for 30 days and then delete the account and the forwarding
MaheshArchitect
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
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

Author

Commented:
Thanks!
JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

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