ExpandGroup method returns no results for Dynamic Distribution Group in Exchange 2010


Strange but TRUE! This work in Exchange 2007 but does not in Exchange 2010. Below is the request and response that I get from a Exchange 2010 server for the ExpandGroup Exchange Web Services call:

Request:

<?xml version="1.0" encoding="utf-8"?>
 <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"
xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Header>
     <t:RequestServerVersion Version="Exchange2010" />
   </soap:Header>
   <soap:Body>
     <m:ExpandDL>
       <m:Mailbox>
         <t:EmailAddress>TestDDL@bhargava.com</t:EmailAddress>
       </m:Mailbox>
     </m:ExpandDL>
   </soap:Body>
 </soap:Envelope>


Response:

<?xml version="1.0" encoding="utf-8"?>
 <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Header>
     <h:ServerVersionInfo MajorVersion="14" MinorVersion="1" MajorBuildNumber="269" MinorBuildNumber="0" Version="Exchange2010_SP1" xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types"
xmlns="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
   </s:Header>
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
     <m:ExpandDLResponse xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
       <m:ResponseMessages>
         <m:ExpandDLResponseMessage ResponseClass="Success">
           <m:ResponseCode>NoError</m:ResponseCode>
           <m:DLExpansion TotalItemsInView="0" IncludesLastItemInRange="true" />
         </m:ExpandDLResponseMessage>
       </m:ResponseMessages>
     </m:ExpandDLResponse>
   </s:Body>
 </s:Envelope>


In this case the TestDDL group had members but we got no results. It turns out that this broke as a result of a change trying to synchronize behavior between various Mail Clients. Fortunately, we have decided to fix this and the fix should be available in one of the upcoming Rollup Updates for Exchange 2010 Service Pack 1.

The only workaround I know is of using LDAP to get the membership of a Dynamic Distribution Group if it fits your requirements.

Update:

This issue has been fixed in Exchange 2010 SP 1 RU 5. Exchange 2010 SP 1 RU 5 should be available in August 2011.Unfortunately this has been pushed to Exchange 2010 SP 1 RU 6. However, in case you need an Interim Update for SP 1 RU 4 OR RU 5 when it becomes available, open up a Service Request with Microsoft Support to obtain one.

Enjoy!

Comments (5)

  1. Duncan Smith says:

    Hello,

    I have just encountered this problem and the only place that I can find any reference to it is here.

    I have tried Exchange 2010 SP1 rollup 3 and rollup 4, but both are showing this problem.

    For your information we are using the Exchange Web Services API 1.1 to talk to EWS.

    Do you know if or when this issue will be fixed?

    Best regards

    Duncan

  2. Akashb says:

    This will be fixed in SP 1 RU 5. We can provide you with a Interim Update. If that is needed please open a case with PSS.

  3. Raj says:

    Akash,

    Is this a hot fix? can this be applied on exchange 2010 sp1 ru2? is there a consolidated SP2 coming out soon? thanks for your help.

    Raj

  4. Akashb says:

    No this is an Interim Update for Exchange 2010 Sp 1 RU 5. This cannot be applied to RU 2. The fix is included in 2010 SP 1 RU 6.

    Exchange 2010 SP 2 should be out sometime towards the end of the year.

  5. raj says:

    thanks for your reply.

Skip to main content