title: Failed to get resource ID for resource type 'Microsoft.Web/Sites' and resource name 'AppService' during Azure DevOps continuous deployment
body: <p>When I try to deploy the .net app service to azure using azure devops CD, I got a below Error:</p>
  <pre><code> Error: Failed to get resource ID for resource type 'Microsoft.Web/Sites' and resource name 'AppService'. Error: connect ENETUNREACH 169.254.169.254:80
      Failed to add release annotation. TypeError: Cannot read property 'getApplicationSettings' of undefined
      UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'getApplicationURL' of undefined
  </code></pre>
  <p>I could not able to get the root cause for it. Help me out here. Attached the image for it<br />
  <a href="https://i.stack.imgur.com/LfHTy.png" rel="nofollow noreferrer">https://i.stack.imgur.com/LfHTy.png</a></p>