0
0

AMLでSharedAccessKeyDisallowedと表示される

Last updated at Posted at 2023-10-19

Azure AI | Machine Learning StudioのWorkspaceで下記のエラーが表示された。

SharedAccessKeyDisallowed: Azure Storage <ストレージアカウントid> has AllowSharedKeyAccess disabled. Azure Storage supports Azure AD authorization for requests to Blob and Queue storage only. Please allow Shared Key access for requests to Azure Files or Table storage.


ストレージアカウントのパラメータを確認してみる。

az storage account show --name <ストレージアカウント名>
{
  "accessTier": "Hot",
  "allowBlobPublicAccess": false,
  "allowCrossTenantReplication": null,
  "allowSharedKeyAccess": null,
  "allowedCopyScope": null,
:

"allowSharedKeyAccess": null,だった。


trueに変えてみる。

az storage account update --name  <ストレージアカウント名> --allow-shared-key-access true

エラーが表示されなくなった。解決。


公式ドキュメントを見ると、nullはtrue扱いのはずなんですが( ;∀;)

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0