title: In CRM 2011 how to create a record and associate it in the same ExecuteMultipleRequest
body: <p>I'm struggling to find a way to use the ExecuteMultipleRequest to create a record and associate it to other records at the same time.  So far I've only been successful in first creating the record, and then in another request set up my associations.  </p>
  
  <p>With this code it throws an exception that it requires a target (Which would need to have previously been submitted to create the record and get an ID)</p>
  
  <pre><code>private AssociateRequest GetConfigurationRequest(VariableDataRequestModel receivedRequest)
  {
      var configurationRelationship = new Relationship(ConfigurationRelationshipName);            
      var configurationEntities = new EntityReferenceCollection(new EntityReference[]{new EntityReference(ConfigurationEntityLogicalName,new Guid(receivedRequest.ConfigurationId))});                        
      var rtn = new AssociateRequest() {  RelatedEntities = configurationEntities, Relationship = configurationRelationship };
      return rtn;
  }
  </code></pre>