Grant perms to azure app service to access read/write into azure blob storage

Rifi, Sami 20 Reputation points

I am trying to allow azure web app accessing azure blob storage. Firewall and connectivity is working fine, the issue is writing images into the DB. I gave my app service contributor role in IAM in the azure blob storage (Didn't work). When I run the code locally it's working, reading/writing and saving into the blob.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,325 questions
{count} votes

Accepted answer
  1. Manu Philip 17,271 Reputation points MVP


    I would like you to test the firewall connections are well configured. Following steps would help

    export IpStart=""
    export IpEnd=""
    echo "Firewall rule for starting ip of $IpStart" and ending ip of $IpEndaz 
    sql server firewall-rule create --server $server --resource-group $resourceGroup --name AllowYourIp --start-ip-address $IpStart --end-ip-address $IpEnd

    Above settings is for opening the firewall to allow access from anywhere. It is unsafe for production environments and here we are just trying to isolate the issue

0 additional answers

Sort by: Most helpful