Authorization for shared key access is denied

prasath s 0 Reputation points
2024-07-12T09:56:34.06+00:00

I have deployed a webapp in azure , I have created a datasource with connection string and its created. While creating indexers and saving it, facing error that Connection string is invalid. In storage account I am getting a warning like "Authorization with shared key access is denied".

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,916 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
844 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. akinbade abiola 8,630 Reputation points
    2024-07-12T16:20:32.1+00:00

    Hello prasath s,

    Thanks for your question.

    Check if Shared Key access is disabled entirely for your storage account. This could be due to:

    • Shared Key access being disabled on the storage account
    • Insufficient permissions for the identity trying to access the storage account

    To solve, follow the steps here:

    https://learn.microsoft.com/en-us/azure/storage/common/shared-key-authorization-prevent?tabs=portal

    You can mark it 'Accept Answer' and 'Upvote' if this helped you

    Regards,

    Abiola

    0 comments No comments

  2. Ryan Hill 27,026 Reputation points Microsoft Employee
    2024-07-15T14:04:26.9833333+00:00

    Hi @prasath s,

    @akinbade abiola provided answer is definitely the appropriate course of action. However, I would strongly advise avoiding shared key access usage and move towards leveraging Entra ID for authorized access, as stated under security recommendations. Please see https://learn.microsoft.com/en-us/azure/storage/common/authorize-data-access for information.

    0 comments No comments