Exchange 2010 hosted *Whoops! Entered wrong domain!* How do I fix?
So i have a little problem..... I created a domain and new users (this is my test environment). The problem is I entered a domain of (mynewdomain.com) and created new users for it using ECP. Now what the domain was supposed to of been was (mynewdomain.net). I have been looking through the Exchange cmdlets and can't find how to modify this. I was able to create a new accepted domain and set it as the default but that doesn't change the organization or the user. Can anyone help me with this?
January 22nd, 2011 12:13pm

This shell script command allow you change Default Email Address Policy or you can add the additional domain http://technet.microsoft.com/en-us/library/aa996314.aspx Get-EmailAddressPolicy def* | Set-EmailAddressPolicy -EnabledEmailAddressTemplates 'SMTP:@New.Domain' MVP Exchange Server
Free Windows Admin Tool Kit Click here and download it now
January 22nd, 2011 12:48pm

I actually tried doing that. I did the new accepted domain, set it as the default, and then called Update-EmailAddressPolicy. The problem was you could create new users using the new accepted domain but the old users that were there when it was just the one domain were still using it. I didn't see a way to change it in ECP
January 22nd, 2011 2:18pm

On Sat, 22 Jan 2011 19:16:49 +0000, Jacob-Dixon wrote: >I actually tried doing that. > >I did the new accepted domain, set it as the default, and then called Update-EmailAddressPolicy. How many email policies do you have? >The problem was you could create new users using the new accepted domain but the old users that were there when it was just the one domain were still using it. I didn't see a way to change it in ECP Once you change the applicable EAP you have to apply it. Did you do that? Use "update-emailaddresspolicy <eapname>". --- Rich Matheisen MCSE+I, Exchange MVP --- Rich Matheisen MCSE+I, Exchange MVP
Free Windows Admin Tool Kit Click here and download it now
January 22nd, 2011 5:07pm

Yes sir. I couldn't remove the .com because the old users were using it. Using the ECP I could create a new user and I would have the .com and the .net from the dropdownlist. But if I were to go to the details of a old user (where you can change info), the email address would be grayed out so I couldn't like select the drop down and select the .NET email that it was supposed to be. Since this was a new exchange server setup I ended up removing all the users and just creating them over. But in the future I wanted to know how I could resolve this issue. Tomorrow I will try to recreate it and give a update
January 23rd, 2011 11:03pm

On Mon, 24 Jan 2011 04:02:19 +0000, Jacob-Dixon wrote: >Yes sir. I couldn't remove the .com because the old users were using it. Using the ECP I could create a new user and I would have the .com and the .net from the dropdownlist. But if I were to go to the details of a old user (where you can change info), the email address would be grayed out so I couldn't like select the drop down and select the .NET email that it was supposed to be. Since this was a new exchange server setup I ended up removing all the users and just creating them over. But in the future I wanted to know how I could resolve this issue. Tomorrow I will try to recreate it and give a update Try using the EMC instead of the ECP. Does it work from the EMC? --- Rich Matheisen MCSE+I, Exchange MVP --- Rich Matheisen MCSE+I, Exchange MVP
Free Windows Admin Tool Kit Click here and download it now
January 24th, 2011 12:14am

EMC doesn't exist with Exchange in /hosted mode. So I tried this: Set-EmailAddressPolicy -Identity "Organization\Default Policy" -EnabledEmailAddressTemplates SMTP:@domain1.com,SMTP:@domain2.com I get error: "The e-mail address policy object must have exactly one primary e-mail address with the prefix "SMTP". So how do I add multiple domains to existing users if I can't do this? Then I tried this: Set-EmailAddressPolicy -Identity "Organization\Default Policy" -EnabledEmailAddressTemplates SMTP:@domain1.net This actually changed the Primary and the AddressTemplate. The problem is it didn't change the existing users after doing a Update-EmailAddressPolicy. Nor did it change the users UPN. So lets follow this scenario.. Lets say this client got a second domain of MyDomain2.com. So now they have MyDomain1.com and MyDomain2.com. How do I go through and add MyDomain2.com to al lthe existing users without doing it manually through ECP if the command I posted first doens't work? Edit*: Ahh so using caps on the second SMTP does not take it but if you don't use caps it works?!?! I'm guessing SMTP being caps means the primary. Anyone after doing update-polcy or whatever it still doesn't add my second domain to existing users like it should
January 24th, 2011 11:28am

On Mon, 24 Jan 2011 16:27:47 +0000, Jacob-Dixon wrote: >EMC doesn't exist with Exchange in /hosted mode. > >So I tried this: > >Set-EmailAddressPolicy -Identity "Organization\Default Policy" -EnabledEmailAddressTemplates SMTP:@domain1.com,SMTP:@domain2.com > >I get error: "The e-mail address policy object must have exactly one primary e-mail address with the prefix "SMTP". So how do I add multiple domains to existing users if I can't do this? The PRIMARY would use "SMTP:" and the _secondary_ would use "smtp:". Case is the way they're identified. >Then I tried this: > >Set-EmailAddressPolicy -Identity "Organization\Default Policy" -EnabledEmailAddressTemplates SMTP:@domain1.net > >This actually changed the Primary and the AddressTemplate. The problem is it didn't change the existing users after doing a Update-EmailAddressPolicy. Nor did it change the users UPN. The UPN isn't set by the address policy. The UPN may, or may not, be the same as the e-mail address. Have the existing users been exempted from the application of e-mail policies? >So lets follow this scenario.. Lets say this client got a second domain of MyDomain2.com. So now they have MyDomain1.com and MyDomain2.com. How do I go through and add MyDomain2.com to al lthe existing users without doing it manually through ECP if the command I posted first doens't work? You need to discover why the update-emailpolicy isn't being applied to the users. You're changing the default policy -- are there other policies? Do any of them apply to the existing users? >Edit*: > >Ahh so using caps on the second SMTP does not take it but if you don't use caps it works?!?! I'm guessing SMTP being caps means the primary. That's correct. >Anyone after doing update-polcy or whatever it still doesn't add my second domain to existing users like it should --- Rich Matheisen MCSE+I, Exchange MVP --- Rich Matheisen MCSE+I, Exchange MVP
Free Windows Admin Tool Kit Click here and download it now
January 24th, 2011 9:58pm

Sorry this is late... it appears to be a bug? The Update-EmailAddressPolicy won't work when doing this but what you have to do is a: Get-Mailbox -Organization <org name> | Set-Mailbox When doing that it applies the extra alias you placed in the email address policy. Now the problem is that it only does that for ADDING one. So say I added jdixon@mydomain.com and wanted to remove it? Doing the same thing won't work.. Have to manually remove the alias from the mailbox using shell or ECP
February 22nd, 2011 9:47pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics