当我尝试使用azure devops CD将.net应用程序服务部署到azure时,出现以下错误:
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
我无法找到根本原因。帮帮我为其附加图片
https://i.stack.imgur.com/LfHTy.png
答案 0 :(得分:1)
您可以检查您使用的服务端点是否具有App Service的权限吗?
您可以通过导航到
project settings -> service connections -> new service connection -> selected azure resource manager -> selected service principal authentication INSTEAD OF managed identity authentication ->