Telstar-Networks
asked on
Remove SMTP address from Exchange 2007 and create new Distribution Group
I am running Exchange 2007 on a 2003 box. At one point I was asked to simply add a few email addresses to existing users, so I went into user properties > email addresses > add and put in the new email.
Everything worked fine, but then it was decided that a number of these needed to be changed to distribution groups. I went in, removed the address from the user, then created a new distribution group with the same alias. This worked on all but 1 of them.
My problem account has been removed from the user account, mails to that address bounce back as recipient not found, but when I go in to create the alias as a distribution group, I get errors that it already exists. It doesn't matter what OU I try to create it in, the wizard always gives me the error that this specific object already exists in AD.
I've tried a few commandlets both for get and remove using the alias as the identity and power shell returns that the object couldn't be found on the DC.
I've run through ADSI Edit and not been able to find any trace of this account.
Any ideas?
Everything worked fine, but then it was decided that a number of these needed to be changed to distribution groups. I went in, removed the address from the user, then created a new distribution group with the same alias. This worked on all but 1 of them.
My problem account has been removed from the user account, mails to that address bounce back as recipient not found, but when I go in to create the alias as a distribution group, I get errors that it already exists. It doesn't matter what OU I try to create it in, the wizard always gives me the error that this specific object already exists in AD.
I've tried a few commandlets both for get and remove using the alias as the identity and power shell returns that the object couldn't be found on the DC.
I've run through ADSI Edit and not been able to find any trace of this account.
Any ideas?
ASKER
Nothing, I'm afraid.
The error you are getting is it the object already exists or the email address already exists?
ASKER
This is the error. No matter what OU I try to put it in, I still get it, the only difference is that the directory location changes to wherever I'm trying to create it. "Service" is the email addy I removed that I'm now trying to add as a distribution group.
-------------------------- -----
Summary: 1 item(s). 0 succeeded, 1 failed.
Elapsed time: 00:00:00
service
Failed
Error:
Active Directory operation failed on mydomain.domain. The object 'CN=service,CN=Users,DC=my domain,DC= domain' already exists.
The object exists.
Exchange Management Shell command attempted:
new-DistributionGroup -Name 'service' -Type 'Distribution' -OrganizationalUnit 'mydomain.domain/Users' -SamAccountName 'service' -Alias 'service'
Elapsed Time: 00:00:00
-------------------------- ---
--------------------------
Summary: 1 item(s). 0 succeeded, 1 failed.
Elapsed time: 00:00:00
service
Failed
Error:
Active Directory operation failed on mydomain.domain. The object 'CN=service,CN=Users,DC=my
The object exists.
Exchange Management Shell command attempted:
new-DistributionGroup -Name 'service' -Type 'Distribution' -OrganizationalUnit 'mydomain.domain/Users' -SamAccountName 'service' -Alias 'service'
Elapsed Time: 00:00:00
--------------------------
Hi,
Refer this article:
http://www.msexchange.org/articles/Finding-Duplicate-SMTP-Addresses.html
Hope this helps,
Shree
Refer this article:
http://www.msexchange.org/articles/Finding-Duplicate-SMTP-Addresses.html
Hope this helps,
Shree
Try this
Open ADUC
Go into saved queries
Create a new query
Name it whatever you want.
Selcect custum search
In the advanced tab typ (samaccountname=service)
click OK to save
then refresh and see if it find anything
Open ADUC
Go into saved queries
Create a new query
Name it whatever you want.
Selcect custum search
In the advanced tab typ (samaccountname=service)
click OK to save
then refresh and see if it find anything
ASKER
Tried Ctrl K, the gui search, and ldifde and nothing found at all.
ASKER
The GUI search from ADUC doesn't come up with anything using either proxyaddresses or samaccountname.
ASKER
Oh, I tried the ADFind tool as well, nothing there either.
ASKER
Just to test (as I can't have this email address down for very long at a time,) I went back and readded the smtp address to the user and it worked fine. The searches (I assume all, but only tested with proxyaddresses in the ADUC gui) now come up showing the address attributed to the user again.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ahh, that explains it. So there's no way to use it as a distribution group then, I take it?
You can't name the group Service but you can change the display name to Service.
JJ
JJ
you can create a distro group and assign that email address (service@company.com) to the dirsto group but you can not create one with the anme service
GROUPNAME is the name of the distro group you are trying to create.
get-user "GROUPNAME"
get-group "GROUPNAME"
and see if they return anything.