在Web应用程序中安装Azure文件共享时,我的状态为InvalidCredentials

问题描述 投票:0回答:1

我在存储帐户中有一个文件共享设置。当我尝试将其安装在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配置列表”时,它会显示在列表中,但仍带有InvalidCredentials

azure azure-web-sites
1个回答
0
投票
我正在获得相同的InvalidCredentials状态
© www.soinside.com 2019 - 2024. All rights reserved.