Exchange 2007 New-Mailbox Error: The object already exists
Posted on 2009-04-21
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 "email@example.com"
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 'firstname.lastname@example.org' or 'email@example.com' 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.