An Azure service that stores unstructured data in the cloud as blobs.
Good Day @Krishna Maramganti
The error "Key based authentication is not permitted on this storage account" indicates that the security configuration of your Azure Storage Account has disabled Shared Key and Connection String authentication.
To fix this issue, you can choose one of the two solutions below:
Solution 1: Use Azure RBAC (Recommended & Secure)
Microsoft recommends keeping key access disabled and using identity-based authentication instead.
- In the Azure Portal, go to your Storage Account > Access Control (IAM).
- Click Add role assignment and assign the Storage Blob Data Contributor role to your identity.
- If you are uploading via Azure Portal or Azure Storage Explorer, ensure your authentication toggle is set to "Microsoft Entra ID User Account" instead of "Access Key" or "SAS".
Solution 2: Re-enable Key Access (If required by your app)
If your upload method specifically relies on an Account Key or a standard Connection String, you must allow it in the settings:
- Go to your Storage Account in the Azure Portal.
- In the left menu under Settings, click on Configuration.
- Find Allow storage account key access and switch it to Enabled.
- Click Save at the top.
Once saved, wait a minute for the policy to refresh and retry your file upload.
Hope this will resolve the issue you are facing.