azure - 在 Web 应用程序中安装 azure 文件共享时,出现 InvalidCredentials 状态
问题描述
我在存储帐户中有文件共享设置。当我尝试在我的 Web 应用程序中安装它时,我得到以下响应:
"nexport-shared": {
"accessKey": "hidden==",
"accountName": "hidden",
"mountPath": "\\\\nexportshared",
"shareName": "nexportcampusbetashare",
"state": "InvalidCredentials",
"type": "AzureFiles"
}
我正在使用下面的 az CLI 命令:
az webapp config storage-account add --resource-group "GROUPNAME" --name "WEBAPPNAME" --custom-id nexport-shared --storage-typeAzureFiles --share-name nexportcampusbetashare --account-name STORAGEACCOUNT --access-key "hidden==" --mount-path "\\nexportshared" --verbose --debug
当我运行“az webapp config list”时,它显示在列表中,但仍然带有 InvalidCredentials
解决方案
推荐阅读
- php - 上传文件和内部服务器错误仅适用于一个文件,其他文件都可以
- android - ViewModel 在尝试在没有工厂的情况下重新创建时崩溃
- javascript - ngSwitchCase 没有提供者
- ruby - 如何减少从外部 API 创建 CSV 文件的时间
- java - 如何解决keycloak中类加载器不可见的接口
- nightwatch.js - 在守夜人中,如何在 selenium_port 之后指定其他字符串参数
- d3.js - D3没有设置自己的高度并切断最后一个数据项
- angular - @angular/common 错误 TS2304 找不到名称“未知”
- c# - 带有导航属性的实体框架过程调用
- angular - 在 Angular 5 中,formdata.has 在 IE 浏览器中不起作用