无法从Azure ML在Azure门户中部署Web App模板 [英] Not able to deploy the Web App template in Azure portal from Azure ML

查看:96
本文介绍了无法从Azure ML在Azure门户中部署Web App模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以帮助我解决在Azure门户中部署Web应用程序模板的问题吗?

Can anyone help me regarding the deployment of Web app template in azure portal?

要我提供GitHub存储库.

It is asking me for the GitHub repository.

我遇到以下错误

--------------------------------------------------- ------------------------------------------

-----------------------------------------------------------------------------------------

{"code":"DeploymentFailed",消息:",至少一项资源部署操作失败.请列出有关的部署操作 细节.  有关使用细节. \,\ r \ n \"消息\:\"无法找到名称为GitHub的SourceControlToken.\,\ r \ n \"Target":null,\ r \ n \"Details \":[\ r \ n {\ r \ n \"Message \":\无法找到名称为GitHub的SourceControlToken. \&"\ r \ n},\ r \ n {\ r \ n \" Code \:\""NotFound \" \ r \ n},\ r \ n {\ r \ n \"; ErrorEntity \": {\ r \ n \"ExtendedCode \":\"51004 \",\ r \ n \"MessageTemplate \":\找不到名称为{1}的{0}. ,\ r \ n \"Parameters \":[\ r \ n \"SourceControlToken \",\ r \ n \"GitHub \" \ r \ n],\ r \ n \代码\: \" NotFound \,\ r \ n \" Message \:\"无法找到名称为GitHub的SourceControlToken.\" \ r \ n} \ r \ n} \ r \ n],\ r \ n \" Innererror \:null \ r \ n}"}]}

{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details.  for usage details.","details":[{"code":"NotFound","message":"{\r\n \"Code\": \"NotFound\",\r\n \"Message\": \"Cannot find SourceControlToken with name GitHub.\",\r\n \"Target\": null,\r\n \"Details\": [\r\n {\r\n \"Message\": \"Cannot find SourceControlToken with name GitHub.\"\r\n },\r\n {\r\n \"Code\": \"NotFound\"\r\n },\r\n {\r\n \"ErrorEntity\": {\r\n \"ExtendedCode\": \"51004\",\r\n \"MessageTemplate\": \"Cannot find {0} with name {1}.\",\r\n \"Parameters\": [\r\n \"SourceControlToken\",\r\n \"GitHub\"\r\n ],\r\n \"Code\": \"NotFound\",\r\n \"Message\": \"Cannot find SourceControlToken with name GitHub.\"\r\n }\r\n }\r\n ],\r\n \"Innererror\": null\r\n}"}]}

--------------------------------------------------- ------------------------------------------

-----------------------------------------------------------------------------------------

请帮助我.

推荐答案

请澄清一下,能否请您提供要提供的确切模板/市场商品?

如果您要设置如果是持续部署,则需要oauth令牌才能调用GitHub API.该令牌在OAuth期间提供给Azure 门户网站上的同意流.您可以尝试登录到Azure门户( https://portal.azure.com )并执行一次设置连续部署(到任何站点) . oauth令牌将为登录的Azure用户存储.每个Azure 用户将需要进入OAuth同意流程一次.

If you’re setting up a continuous deployment, an oauth token is required to call GitHub apis. This token is given to Azure during OAuth consent flow on portal. You could try logging into Azure portal (https://portal.azure.com) and perform setup continuous deployment once (to any site). The oauth token will be stored for the logon Azure user. Each Azure user will need to go thru OAuth consent flow once.


这篇关于无法从Azure ML在Azure门户中部署Web App模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆