title: Dynamics CRM upsert request with related entities error
body: <p>I am using MS Dynamics CRM 2016 On-Premises.</p>
  
  <p>I am loading data through OrganizationService, using Upsert request.</p>
  
  <p><a href="https://i.stack.imgur.com/aS9y4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aS9y4.png" alt="screenshot"></a></p>
  
  <p>And I am getting an error:</p>
  
  <blockquote>
    <p>Entity Id must be specified for Update</p>
  </blockquote>
  
  <p>As I understood - related Campaign ([0] in RelatedEntities on screen) record does not exist and should be created during upsert, and wave record should be updated.
  But there isn't. What am I doing wrong?</p>