title: CRM fetchxml - AggregateQueryRecordLimit exceeded
body: <p>I am accessing dynamics CRM data via fetchxml in c#. When I try to execute the following query I am getting below error.</p>
  
  <blockquote>
    <p>AggregateQueryRecordLimit exceeded. Cannot perform this operation.</p>
  </blockquote>
  
  <pre><code>&lt;fetch version='1.0' output-format='xml-platform' mapping='logical' distinct='false' aggregate='true'&gt;
    &lt;entity name='productclass'&gt;
       &lt;attribute name='classificationidid' groupby='true' alias='classidid'/&gt;
       &lt;attribute name='productidid' aggregate='count' alias='ProductCount' /&gt;
        &lt;filter type='and'&gt;
         &lt;condition attribute='classidid' operator='in'&gt;" + cIds + @"&lt;/condition&gt;
        &lt;/filter&gt;
    &lt;/entity&gt;
  </code></pre>
  
  <p></p>
  
  <p>How to resolve this? </p>