更改/重置Azure Web App OneDrive部署方法凭据时出现问题 [英] Problem in changing/resetting Azure Web App OneDrive Deployment method credentials

查看:87
本文介绍了更改/重置Azure Web App OneDrive部署方法凭据时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好

我尝试使用Onedrive作为部署方法将示例Web应用程序(static index.html )发布到Azure(仅限于看看它怎么运作)。一切正常,直到我尝试浏览应用程序网站。当我尝试浏览网站时,会显示错误消息
您无权查看此目录。 

I tried to publish a sample Web app (static index.html) to Azure using Onedrive as a deployment method (just to see how it Works). Everything works just fine until i try to browse the app site. When i try to browse the site, an error message You do not have permission to view this directory is displayed. 

如果我去了使用https://onedrivesite.scm.azurewebsites.net/Debugconsole和
site / wwwroot 文件夹到Kudu,我注意到 wwwroot 文件夹是空的。也许这解释了错误消息因为
wwwroot 为空并且文件夹内容列表被拒绝。

If i go to Kudu using https://onedrivesite.scm.azurewebsites.net/Debugconsole and to site/wwwroot folder, i notice that wwwroot folder is empty. Maybe that explains the error message becouse wwwroot is empty and listing of folder content is denied.

我会然后想重置Azure的OneDrive凭据。我从部署中心断开部署方法,再次选择OneDrive(作为部署方法)。接下来当我尝试使用
更改帐户按钮重置凭据时,会显示一个文本确定但很快关闭的窗口。无法更改或重置凭据。也许某些CLI命令会这样做?

I would then like to reset OneDrive credentials for Azure. I disconnect deployment method from deployment center, select OneDrive again (as a  deployment method). Next when i try to use Change account button to reset credentials, a window with text OK displayed but is soon closed. No way to change or reset credentials. Maybe some CLI command would do that?

我不确定的另一件事是
Apps / Azure Web Apps
的预定义文件夹结构是产生的?它是在将应用程序连接到OneDrive时自动创建的,还是应该自己创建? 

Another thing what im not sure of is how the predefined folder structure of Apps/Azure Web Apps is created? Does it get created automatically when connecting app to OneDrive or should i create it myself? 

我的意思是我在将OneDrive配置为之前没有创建Apps / Azure Web Apps文件夹结构部署方法。 

I mean i did not create that Apps/Azure Web Apps folder structure before i configured OneDrive as a deployment method. 

将文件同步到网站没问题......没有错误。

Syncing files to site goes fine...no errors.

推荐答案

您是否能够清除元数据以查看是否会重置OneDrive配置文件?

Are you able to clear out the meta data to see if this resets the OneDrive profile?

(将SubscriptionID,ResourceGroupName和SiteName替换为您的相应值)

(Replace SubscriptionID, ResourceGroupName, and SiteName with your respective values)

导航至:

https://resources.azure .com / subscriptions / SubscriptionID / resourceGroups / ResourceGroupName / providers / Microsoft.Web / sites / SiteName / config / metadata / list

请告诉我们上述结果ACTI on。

Please let us know the outcome of the above action.





这篇关于更改/重置Azure Web App OneDrive部署方法凭据时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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