An error message is returned when you run the Get-Recipient command in the Exchange Management Shell that uses a Windows Server 2008 domain controller

Article translations Article translations
Article ID: 961551 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

Consider the following scenario. In an Exchange Server 2007 Service Pack 1 (SP1) environment, there are more than 1,000 users in the organization. You perform a filtered search against a Windows Server 2008 R2 domain controller. Then you receive an error when you run the following PowerShell command:
Get-Recipient -SortBy "DisplayName" -RecipientType "UserMailbox" -ResultSize “Unlimited”

The following error is returned in this scenario:
Get-Recipient : Active Directory operation failed on <Windows Server 2008 domain controller name>. Additional information: 
Active Directory rejected paged search cookie because a cookie handle was discarded by a domain controller or a different LDAP connection was used on subsequent page retrieval. Restart paged search.

CAUSE

Exchange Server 2007 SP1 passes different BaseDN attributes during the paged search. This is usually not a problem because the Lightweight Directory Access Protocol (LDAP) server just ignores successive BaseDN attributes in earlier versions of Windows. However, Windows Server 2008 R2 rejects all successive searches if the BaseDN attributes are different.

Note A BaseDN attribute is a starting point in the Active Directory hierarchy where any given search starts.

RESOLUTION

To resolve this problem, install Update Rollup 9 for Exchange 2007 Service Pack 1. For more information about Update Rollup 9 for Exchange Server 2007 Service Pack 1, see the following Exchange Help topic:
Description of Update Rollup 9 for Exchange Server 2007 Service Pack 1
For more information about how to obtain the latest Exchange service pack or update rollup, see the following Exchange Help topic:
How to Obtain the Latest Service Pack or Update Rollup for Exchange 2007

MORE INFORMATION

For more information about the Get-Recipient command, visit the following Microsoft Web site:
http://technet.microsoft.com/en-us/library/aa996921.aspx

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Properties

Article ID: 961551 - Last Review: August 26, 2009 - Revision: 3.0
APPLIES TO
  • Microsoft Exchange Server 2007 Service Pack 1, when used with:
    • Microsoft Exchange Server 2007 Enterprise Edition
    • Microsoft Exchange Server 2007 Standard Edition
Keywords: 
kbhotfixrollup kbexpertiseinter kbqfe kbsurveynew KB961551

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com