我在存储帐户中有一个文件共享设置。当我尝试将其安装在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