Solved

prepareAD fails

Posted on 2011-03-03
4
1,165 Views
Last Modified: 2012-05-11
I have a root domain that contains domain controllers and a child domain that contains all other network objects including my Exchange 2003 server. When try to prepare the topology for an Exchange 2010 upgrade the "setup /p /on:<org name> fails with the following:

Organization Preparation         ......................... FAILED
     The following error was generated when "$error.Clear(); $acceptedDomains =
@{}; Get-AcceptedDomain | foreach { $domainName = $_.DomainName.ToString(); if (
$acceptedDomains.Contains($domainName)) { Write-ExchangeSetupLog -Warning "Dupli
cate AcceptedDomain found. '$($acceptedDomains[$domainName])' and '$($_.Name)' b
oth reference domain '$domainName'"; } else { $acceptedDomains.Add($domainName,
$_.Name); }; }; function getSmtpTemplates ([string]$property) { $input | Select-
Object -ExpandProperty $property | Where-Object {$_.PrefixString -eq "SMTP"} | F
oreach-Object {$_.AddressTemplateString -replace ".*@", ""}; } function addDomai
ns ([Microsoft.Exchange.Data.Directory.SystemConfiguration.AcceptedDomainType]$d
omainType) { $domain = $null; $input | Where-Object {-not $acceptedDomains.Conta
insKey($_)} | Where-Object {[Microsoft.Exchange.Data.SmtpDomainWithSubdomains]::
TryParse($_, [ref] $domain)} | Foreach-Object { $name = $domain.ToString(); if (
$name.Length -gt 64) { $name = $name.Substring(0, 64) }; if ($acceptedDomains.Co
ntainsValue($name) ) {$name = [System.Guid]::NewGuid().ToString()}; new-Accepted
Domain -Name:$name -DomainName:$domain -DomainType:$domainType; $acceptedDomains
[$domain.ToString()] = $name; }; } $emailAddressPolicies = Get-EmailAddressPolic
y; $emailAddressPolicies | getSmtpTemplates "NonAuthoritativeDomains" | addDomai
ns "InternalRelay"; $emailAddressPolicies | getSmtpTemplates "EnabledEmailAddres
sTemplates" | addDomains "Authoritative";" was run: "The e-mail address policy o
bject must have exactly one primary e-mail address with the prefix "GWISE". Prop
erty Name: ".

I previously ran the setup /pl on both domains successfully and the /ps on the schema master. I tired to manually run the PrepareAll Domains, but got an error says that PrepareAD had not yet been run.

The only thing I noted in the error was the message about "duplicate AcceptedDomain found". Any ideas?
0
Comment
Question by:J-Kent
  • 2
  • 2
4 Comments
 

Author Comment

by:J-Kent
ID: 35032911
Note: and yes, of course, there are multiple DC's in the child domain as well.
0
 
LVL 49

Accepted Solution

by:
Akhater earned 500 total points
ID: 35036032
open exchange 2003 management console go to recipient policies

edit your reciepient policies you have 2 or more with GWISE delete them and keep only one
0
 

Author Comment

by:J-Kent
ID: 35036773
That did it. thanks
0
 
LVL 49

Expert Comment

by:Akhater
ID: 35036785
Thanks for the updates and the points
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
Find out what you should include to make the best professional email signature for your organization.
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

786 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