title: ADF v2: Define keys for upsert behavior
body: <p>I'm trying to create a copy activity that copies from SQL to Dynamics CRM. I'm using the ADF v2 default connector. The Dynamics connectors as a sink have the upsert behavior but I don't know how to define the keys for comparing in the upsert. If I complete the configuration and the mapping, removing the unnecessary columns and I run the activity, I have the following error: <code>Input DataSet must contain key column(s) in Upsert/Update scenario. Missing key column(s):</code> Is there any way to set the keys in the input dataset? My mapping looks like: </p>
  
  <p><a href="https://i.stack.imgur.com/WY5kB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WY5kB.png" alt="enter image description here"></a></p>
  
  <p>This field is always empty: 
  <a href="https://i.stack.imgur.com/DQtjF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DQtjF.png" alt="enter image description here"></a></p>
  
  <p>Thanks!</p>