Skip to content

Not able to use Managed Identity for Function App to access Azure Files (SMB) #152

@marvicqui

Description

@marvicqui

Describe the bug
this version relies on an Azure Function deployed on a Consumption App Service Plan, which automatically creates two settings:

WEBSITE_CONTENTAZUREFILECONNECTIONSTRING
WEBSITE_CONTENTSHARE

These settings use Access Keys to connect to the Azure Files (SMB) share. Unfortunately, Azure Files does not support Managed Identity connections, and these settings cannot be removed once created.

To Reproduce
Steps to reproduce the behavior:
Disabling Storage Account Keys.

Expected behavior
Because a security initiative, we need to get rid of Storage Account Keys and use Managed Identity instead.

Additional context
Deploy the Function App on a Dedicated App Service Plan, which allows you to avoid these settings and eliminates the dependency on Azure Files.

Since the deployment comes directly from the Azure Marketplace, it’s likely managed and may not allow customization of the App Service Plan or its settings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions