Exchange 2007 New-Mailbox Error: The object already exists

Posted on 2009-04-21
Medium Priority
Last Modified: 2012-05-06
I am trying to create a new shared mailbox via the Exchange 2007 Management Shell using the new-mailbox cmdlet. I have created a shared mailbox before with this same command and it has worked perfect. I think it has something to do with the '-userprincipalname' parameter because if I change it to something else the account will get created with no issues. Here is the cmd I'm trying to use (with server info defaulted):

new-mailbox -alias "service" -name "Service" -database "exchange\first storage group\mailbox database" -org "domain.local/Organizational Unit" -shared -userprincipalname "service@domain.local"

I get the following error when I execute that:
New-Mailbox : Active Directory operation failed on exchange.domain.local. The object 'CN=Service,OU=Organizational Unit,DC=domain,DC=local' already exists. At Line:1 char:12.

I had setup a secondary SMTP address 'service@domain.com' or 'service@domain.local' on a domain user account so they received mail from those email addresses but I have since removed it from the associated domain user account because I want to separate it into a shared mailbox instead. I have restarted the exchange server but I still get this error. Do I need to reboot the Domain Controller?
I dont know if it matters - but I have installed the recent Windows update on the Domain Controller but I have not reset it yet.
Question by:total_communication
  • 3
  • 2
LVL 65

Expert Comment

ID: 24200193
It can take a couple of hours for an email address to replicate out of the domain before you can reassign it. Restarting the domain controllers will not speed that process up unfortunately.


Author Comment

ID: 24200589
I will remove it tonight and check tomorrow morning to see if I can create it. I will post back tomorrow to see if that fixed it.

Author Comment

ID: 24204861
I retried adding the new shared mailbox and I get the same error.
I just dont get way it says it exists when I cannot find it anywhere. I tried searching Active Directory for Service but it doesnt exist also I tried searching for the email address and user principal name but still turns up nothing...is there something wrong with my 'new-mailbox' command?
LVL 65

Accepted Solution

Mestha earned 1000 total points
ID: 24205835
I am sure that "Service" is a special name that you cannot use.
You will need to use another name for the account. However I think that you can use service as the email address, just not as the object name.


Author Closing Comment

ID: 31573057
You are correct Simon. I had actually did exactly what you said this morning after I posted my comment and that solution worked. I couldnt find the Service account anywhere in AD or on the local computer but I believe it is a hidden Windows system account; to test this I tried to add security permissions to a file or folder and I can used the name 'service' and click 'check name' it comes back and is underlined indicating that it is an account. Just wanted to let you and everyone else know how I tested your solution. Thanks again for your help.

Chris Lucyshyn

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Are you in the migration process of your Exchange to Exchange Online? Be aware of customized solutions developed on the transport role on your old Exchange server. They might not be convertible to Exchange Online!
A method of moving multiple mailboxes (in bulk) to another database in an Exchange 2010/2013/2016 environment...
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Planning to migrate your EDB file(s) to a new or an existing Outlook PST file? This video will guide you how to convert EDB file(s) to PST. Besides this, it also describes, how one can easily search any item(s) from multiple folders or mailboxes…
Suggested Courses

587 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question