vscode-azurefunctions icon indicating copy to clipboard operation
vscode-azurefunctions copied to clipboard

How to publish Azure Function from VSCode NOT using storage key?

Open frankchen76 opened this issue 4 months ago • 2 comments

After I disabled my storage account's "Storage account key access" setting for a company compliance, I cannot publish an Azure Function from VSCode via right click Func->click "deploy to function app" from Azure Function extension. it complained that "Key based authentication is not permitted on this storage account" which is understandable because this setting is disabled. I already configured my user account to access storage account via RBAC and Azure Function to access storage account using managed Id which work fine. But how can I tell Azure Function VSCode extension to use my account for deployment instead of using storage key used by default? I used a consumption plan based on a Linux host and Azure Function is developed by using a TypeScript template. Thanks

frankchen76 avatar Oct 13 '24 21:10 frankchen76