Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storage blob public access needs to be disabled when creating a Function App #4348

Closed
im-samz opened this issue Dec 6, 2024 · 0 comments · Fixed by microsoft/vscode-azuretools#1866
Milestone

Comments

@im-samz
Copy link

im-samz commented Dec 6, 2024

A new Azure policy is rolling out to block Storage accounts created with allowBlobPublicAccess: true.

The Azure Functions extension provides two ways to create a function app:

  1. Create new Function App in Azure --> creates a storage account behind the scenes
  2. Create new Function App in Azure (advanced) --> you specify a name for the storage account

In both scenarios, we need to modify the ARM template creating the Azure Storage account to include the following resource property:

  • allowBlobPublicAccess: false

Only by doing so will the create pass validation.

I suspect the policy is rolling out to more Microsoft subscriptions, so more MS employees will hit this.

cc @nturinski

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants