Solved

prepareAD fails

Posted on 2011-03-03
4
1,163 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
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…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

707 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now