• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 616
  • Last Modified:

Delete certain SMTP aliases for every AD user?

I have a domain that has been de-migrated from domainA to domainB.  The users in domainB have at least 2 SMTP aliases

flastname@companyA.com
flastname@companyB.com

I want to remove all the flastname@companyA.com SMTP aliases for all the users in domainB.  I was thinking maybe the recipient policy, but I don't know how to remove old addys with that.  Is there a clean way to remove all thoses aliases?
0
fedsig
Asked:
fedsig
1 Solution
 
BBRazzCommented:
You're on the right lines, simply remove the old aliases from the recipient policy and apply the policy.
That will then remove the aliases from all users which has that policy tagged to it.
-BBRazz
0
 
fedsigAuthor Commented:
I didn't really make it terribly clear, but when the users were migrated from domainA to domainB, all AD attributes were brought over.  The domainB Exchange server only has 1 recipient policy, which is to create "@companyb.com".  So the other SMTP aliases weren't created w/the recipient policy.
0
 
tercex11Commented:
Create a recipient policy for either those users or all users since they will all have the same scheme when done. If you set the policy  with the addresses you want, you should be good to go.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
BBRazzCommented:
So the emails aliases of companyA.com are attached to the users manually in there AD properties?
-BBRazz
0
 
cgordon81Commented:
there might be a good visual basic script out there for that, good question
0
 
BBRazzCommented:
The microsoft articel, http://support.microsoft.com/kb/318774 explains removing duplicate emails, however, the LDIFDE commands displayed can be modified to remove specified email aliases.
Have a good read of the article and it should point you in the right direction.
-BBRazz
0
 
fedsigAuthor Commented:
BBRazz,

      I used Quest Migration Manager to migrate the domain.  That brings the attributes over.  Usually, it's a good idea to keep the old aliases when migrating a company INTO the domain, but since we divested a company, they can't really use the old @companyA.com email aliases.  They weren't manually created, they were migrated along with the users.
0
 
MesthaCommented:
I don't think Recipient Policy will remove email addresses.
However I think admodify.net will do that.

-M
0
 
fedsigAuthor Commented:
Great Job!  I should have checked that first!
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now