After creating a new user in AD, I would like to pass a command to Exchange Shell to create the new linked mailbox, I'd like exchange to use it's default naming rules to create the email address.
I'm using this command as Domain Admin but receiving errors...
New-Mailbox -Database "My Mailbox Database" -Name "Johnny Bravo" -LinkedDomainController "MYDC" -LinkedMasterAccount "Johnny Bravo@contoso.local" -OrganizationalUnit Users
here is my error
The resource user can't be linked to a user account from the local forest "mydc.local".
Category Info : NotSPecified: (:) , TaskInvalidOperationExcpetion
FullyQualifiedErrorId : 6CE5B7E9