Error ""DistributionGroupAddress" and "AgentsByUri" must be set." when you migrate the RG service to Lync Server 2013

Applies to: Lync Server 2013

Symptoms


Consider the following scenario:
  • You deploy the Response Group service (RGS) in a Microsoft Lync Server 2010 environment.
  • You create a distribution group, and then you add several users to the distribution group.
  • You add the distribution group to a response group.
  • You try to run the Move-CsRgsConfiguration cmdlet to migrate the Response Group service to a Lync Server 2013 environment.
In this scenario, the Move-CsRgsConfiguration cmdlet fails. Additionally, you receive the following error message:
Move-CsRgsConfiguration : Only one of "DistributionGroupAddress" and "AgentsByUri" must be set.

At line:1 char:1

Resolution


To resolve this issue, install the following cumulative update:
2937305 August 2014 Cumulative Update 5.0.8308.738 for Lync Server 2013, core components