Link to home
Start Free TrialLog in
Avatar of Techrunner
Techrunner

asked on

Unable to Create new Global Address List

Hello Experts,

We have Exchange 2010 SP3. All roles installed on a single server. I am trying to create a new  global address list but I am receiving the error.

[PS] C:\Windows\system32>New-GlobalAddresslist "ORGA" -ConditionalCustomAttribute2 "ORGA" -Incl
Recipients "AllRecipients"
WARNING: One or more global address lists were missing from the Active Directory attribute.  This is likely caused b
using legacy Exchange management tools to create global address lists.
Active Directory operation failed on dc1.domain.COM. This error is not retriable. Additional information: The nam
eference is invalid.
This may be caused by replication latency between Active Directory domain controllers.
Active directory response: 000020B5: AtrErr: DSID-03152804, #1:
    0: 000020B5: DSID-03152804, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 907ff (globalAddressList2)
    + CategoryInfo          : NotSpecified: (0:Int32) [New-GlobalAddressList], ADConstraintViolationException
    + FullyQualifiedErrorId : E9442825,Microsoft.Exchange.Management.SystemConfigurationTasks.NewGlobalAddressList

I found similar problem on Microsoft Technet.
http://social.msdn.microsoft.com/Forums/en-US/3210af54-d8b4-490f-9f5f-f4fc3209d324/newglobaladdresslist-fails-ad44a06f?forum=os_exchangeprotocols

Here is the suggestion

Open up ADSI.msc, then add in configuration.

Expand Services and right-click CN=Microsoft Exchange and select properties

Check all the GAL's listed in globalAddressList and globalAddressList2 are valid.

I did that and I found the entries as shown below
 User generated imageBut I am afraid which entry to be deleted.

I would highly appreciate any help.
SOLUTION
Avatar of Will Szymkowski
Will Szymkowski
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Techrunner
Techrunner

ASKER

Will that be completely safe to remove Globaladdresslist2

Shall I run that command in exchange management shell or DC power shell ?


Thanks
Just for more info couple of months of ago I upgraded exchange from SP2 to SP3

Thanks
Powershell won't remove corrupted GAL entries.
We have faced same issue earlier and removed through Adsiedit only.
How do I remove from ADSIEDIT. But that would be safe to remove globaladdresslist2
As stated in my first post, try powershell first, then use ADSIEdit if powershell does not work. Removing globaladdresslist2 is safe. Just do not delete the "default" global address list.

Will.
OK Powershell of Exchange Server or Domain Controller

Thanks
You will need to do it in the Exchange Management Console. On the exchange server.

Will.
You will need to do it in the Exchange Management Console. On the exchange server.
Exchange Management Console or Shell ??
Opps sorry the Exchnage management she'll is what I meant.

Will.
I'll try Hope everything goes smooth

Last thing How do I make  sure globaladdresslist or globaladdresslist2 is my default ?

Thanks for the help
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi
Just to verify

I'll just copy the script and paste it in Power Shell on exchange server ?? Please correct me
You can use the "get-globaladdresslist" cmdlet. This will show you all of the GAL's that have been created. There will be one that says "default global address list.

Will.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This is the result of the script

PS C:\> c:\gal.ps1
cn=default global address list\0adel:1ed302c0-d125-43df-98ef-207055b97354,cn=deleted objects,cn=configuration,dc=domain,dc
=com
1 corrupted GAL entries found in property GlobalAddressList
0 corrupted GAL entries found in property GlobalAddressList2
Dear Spec01 and Mahesh

I managed to delete the corrupted gal entries and now I have successfully created new  GAL

Thanks for your support I appreciate that.

God bless you.