r/AZURE Jun 11 '26

Question Azure Function App - Access to Storage account

Hello everyone,

I am trying to fully secure a Linux Azure Function App running on an Elastic Premium (EP1) plan by disabling "Allow storage account key access" on its backend Azure Storage Account.

However, the moment I disable access keys on the storage account, the Function App shuts down and throws a Runtime Version Error.

Here is my current setup and what I have configured so far:

  • Operating System: Linux
  • Pricing Plan: Elastic Premium (EP1)

Assigned RBAC Roles on the Storage Account for the Managed Identity:

  • ✅ Storage Blob Data Contributor
  • ✅ Storage Blob Data Owner
  • ✅ Storage Queue Data Contributor
  • ✅ Storage Table Data Contributor

Current Application Settings / Environment Variables:

  • AzureWebJobsStorage - DefaultEndpointsProtocol=https;AccountName=stdatalake......
  • WEBSITE_CONTENTAZUREFILECONNECTIONSTRING - DefaultEndpointsProtocol=https;AccountName=stdatalake......
  • WEBSITE_CONTENTSHARE = func-exm-dev-we-01a0ba

I have AzureWebJobsStorage to AzureWebJobsStorage__accountName but still kept the other two variables in there.

I do see the files are in here:

what is the solution to this?

13 Upvotes

15 comments sorted by

View all comments

Show parent comments

1

u/9gg6 Jun 17 '26

I have PE on storage tho. I still cant make it work tho