title: Does Azure App Services have a unique id of some kind that will travel with the code between slots
body: <p>In the old Cloud Service model there was a property called <strong>DeploymentId</strong> that was unique and traveled with the code base as it was swapped between Production and Staging slots.</p>
  
  <p>In the App Service architecture (Functions, etc...) there is also a <strong>deploymentId</strong> property as well but it appears to not travel with the code as it swaps slots.  In non-prod slots it presents as <strong>[ServiceName]__abcd</strong> where abcd looks to be a hexidecimal string. In prod slots it presents as <strong>[ServiceName]</strong> only.  This means that the deploymentId mutates depending upon where it lives.</p>
  
  <p>The crux of the matter is that I need to be able to determine where a given deployment lives using ONLY azure native values. It does not appear that there is a unique identifier that lives with the deployed code.  </p>
  
  <p>Am I wrong?  please tell me I'm wrong and that there is a unique value that will travel.</p>
  
  <p>Using Azure REST API to query.</p>