title: Change record owner in Dynamics CRM plugin
body: <p>I am writing a Post PLugin changing the owner. When the owner has a substitution manager, the owner is changed to the substitution manager. I tried a service.Update and an AssignRequest, but these throw an exception.</p>
  <p>When I post the request my entity cannot update (and then throws &quot;The request channel time out while waiting for reply after 10:00:00&quot;). But like I see there is no recursion, because when I logged it I have only one repetition of log and it has stopped before or on line with update.</p>
  <pre><code>var assignedIncident = new AssignRequest
  {
    Assignee = substManagerRef, //get it throw another method, alreay checked in test it`s correct
    Target = new EntityReference (&quot;incident&quot;, incedentId)
  };
  service.Execute(assignedIncident);
  </code></pre>
  <p>I tried to write target in another way</p>
  <pre><code>Target = postEntityImage.ToEntityReference()
  </code></pre>
  <p>I tried to write simple update but the problem is the same.</p>
  <pre><code>Entity incident = new Entity(&quot;incident&quot; , incidentId);
  incident[&quot;ownerid&quot;] = substManagerRef:
  service.Update(incident);
  </code></pre>
  <p>Can somebody help me with that? Or maybe show the way to solve it)</p>