VSTS:错误:在Azure服务应用程序上部署.Net应用程序时出现错误 [英] VSTS:ERROR:error facing while deployment of .Net application on azure service app
问题描述
错误:
无法获取资源类型"Microsoft.Web / Sites"和资源名称"myApp11111"的资源ID。错误:无法获取托管服务主体的访问令牌。请为虚拟机"https://aka.ms/azure-msi-docs"配置托管服务标识(MSI)。
状态码:400,状态消息:错误请求
Failed to get resource ID for resource type 'Microsoft.Web/Sites' and resource name 'myApp11111'. Error: Could not fetch access token for Managed Service Principal. Please configure Managed Service Identity (MSI) for virtual machine 'https://aka.ms/azure-msi-docs'. Status code: 400, status message: Bad Request
使用vsts / Azure Devops在Azure应用服务上下载.Net应用程序时遇到此错误。
This error is encountered while depolying .Net application on azure app service using vsts/Azure Devops.
推荐答案
您好Shivam Kumar Singh,
Hi Shivam Kumar Singh,
很遗憾,我们无法重现您的问题。根据我的搜索,以下链接是关于部署Azure App Service中的ASP.NET Web应用程序:
Unfortunately, we are unable to reproduce your issue. According to my search, the following links is about deploy an ASP.NET web app in Azure App Service:
在Azure App Service中创建和部署ASP.NET Web应用程序
无法获取Azure App Service的acccess令牌。 StatusCode 401(未经授权)
希望它对您有所帮助。
最好的问候,
这篇关于VSTS:错误:在Azure服务应用程序上部署.Net应用程序时出现错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!