title: Azure IoT Device Provisioning - Endorsement key is invalid, or does not match the Enrollment
body: <p>I am trying to add a manual enrollment using the device's TPM.</p>
  <p>I have grabbed the Endorsement Key from the device running Linux.</p>
  <p>Now, when I save the configuration in the Azure Portal, it returns a <code>400 Bad Request</code> with the message stating that <code>Endorsement key is invalid, or does not match the Enrollment</code>:</p>
  <p><a href="https://i.stack.imgur.com/RCMWY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RCMWY.png" alt="IoT Device Provisioning" /></a></p>
  <p>What am I missing?</p>