Skip to content

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

@frankchen76

Description

@frankchen76

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions