title: Modelling a composite Time Series ID
body: <p>I have deployed the <a href="https://github.com/Azure/Industrial-IoT" rel="nofollow noreferrer">Azure Industrial IoT Platform</a> to my Azure subscription.  When it provisions Time Series Insights it uses a composite key for the Time Series Id.</p>
  <p>I am having a hard time determining the format of the &quot;Time Series ID&quot; when modelling the instance.</p>
  <p><strong>TSI Instance Configuration Error:</strong></p>
  <p><img src="https://i.stack.imgur.com/5pYNQ.png" alt="" /></p>
  <p><strong>Error description:</strong></p>
  <pre><code>&gt; Unable to create instance(s): Error in 1/1 instances.   &gt;Instance-1:
  &gt; Values in a single time series ID
  &gt; '[&quot;i=2256,uat0b626473b51aad434992c48deefc9bb8d03ae7f2,uat0b626473b51aad434992c48deefc9bb8d03ae7f2&quot;]'
  &gt; must match the time series ID properties
  &gt; '[publisherId:String,dataSetWriterId:String,nodeId:String]' defined
  &gt; for the environment.
  </code></pre>
  <p>The <a href="https://docs.microsoft.com/en-ca/azure/time-series-insights/concepts-model-overview#time-series-model-instances" rel="nofollow noreferrer">documentation</a> doesn't really show how it should be formatted.  (For example, should it include commas, square brackets, etc.)</p>
  <p>The Time Series Id is showing as <code>(Empty)</code> when I view it in the UI, so I don't get any hints there:</p>
  <p><img src="https://i.stack.imgur.com/1O1Hh.png" alt="" /></p>
  <p>Here is the sample telemetry:</p>
  <pre><code>  {
      &quot;NodeId&quot;: &quot;http://microsoft.com/Opc/OpcPlc/#s=AlternatingBoolean&quot;,
      &quot;EndpointUrl&quot;: &quot;opc.tcp://10.1.8.5:51200/&quot;,
      &quot;ApplicationUri&quot;: &quot;urn:OpcPlc:410bf7b98fc2&quot;,
      &quot;DisplayName&quot;: &quot;AlternatingBoolean&quot;,
      &quot;Timestamp&quot;: &quot;2020-08-12T19:07:38.4355693Z&quot;,
      &quot;Status&quot;: &quot;Good&quot;,
      &quot;Value&quot;: {
        &quot;Value&quot;: false,
        &quot;SourceTimestamp&quot;: &quot;2020-08-12T19:07:38.1007812Z&quot;,
        &quot;ServerTimestamp&quot;: &quot;2020-08-12T19:07:38.1007828Z&quot;
      },
      &quot;SequenceNumber&quot;: 1319,
      &quot;ExtensionFields&quot;: {
        &quot;EndpointId&quot;: &quot;uat0b626473b51aad434992c48deefc9bb8d03ae7f2&quot;,
        &quot;PublisherId&quot;: &quot;uat0b626473b51aad434992c48deefc9bb8d03ae7f2&quot;,
        &quot;DataSetWriterId&quot;: &quot;uat0b626473b51aad434992c48deefc9bb8d03ae7f2&quot;
      }
  </code></pre>
  <p>Can you point me in the right direction?</p>