Article ID: 941774 - View products that this article applies to.
In a Microsoft Exchange Server 2007 environment, the Set-Mailbox cmdlet fails when you run the cmdlet together with the EmailAddressPolicyEnabled parameter. Additionally, you receive one of the following error messages.
Error message 1
Set-Mailbox: Exchange Server 2007 <FQDN of the server> returned an error 1727 from the Recipient Update Service
Error message 2
If you use Network Monitor to capture the remote procedure call (RPC) traffic, the captured data contains an RPC_S_ACCESS_DENIED (0x00000005) error.
Access to the address list service on server <FQDN of the server> was denied.
The Recipient Update Service server imposes its own limit of 65,536 bytes as the maximum RPC size. It does not use the MaxRPCSize variable that is defined by the Windows RPC server. If a mailbox is contained in many address lists, the RPC data may exceed the 64-kilobyte limit. Typically, this situation may occur when a mailbox is contained in more than 350 address lists.
To resolve this problem, install Update Rollup 5 for Exchange Server 2007. For more information about Update Rollup 5 for Exchange Server 2007, see the following Exchange Help topic:
Description of Update Rollup 5 for Exchange Server 2007For more information about how to install 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
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756After you apply Update Rollup 5, you can set the maximum RPC size by using a registry entry. To do this, follow these steps.
(http://support.microsoft.com/kb/322756/ )How to back up and restore the registry in Windows
The appropriate RUS Max RPC Size value depends on the Exchange Server 2007 environment and the size of the discretionary access control list (DACL). To determine the appropriate RUS Max RPC Size value, use one of the following methods, as appropriate for your situation.
If you are concerned about memory usage, increase the default 65,536 byte size limit by 10,240 bytes, and then test the configuration. If the test fails, increase the RUS Max RPC Size value in 10,240 increments up a maximum value of 131,073 bytes. Test the configuration after each change.
Note The appropriate RUS Max RPC Size value can vary when a mailbox is added to or removed from address lists. You may have to adjust the RUS Max RPC Size value if the configuration changes.
Set the RUS Max RPC Size value to 131,073 bytes.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.