Skip to content

Linux function app deployment on consumption and EP plan does not support managed identity authentication to storage account #2550

@Catastrophe1

Description

@Catastrophe1

Error stack:

Caused by: com.microsoft.azure.toolkit.lib.common.exception.AzureToolkitRuntimeException: Application setting 'AzureWebJobsStorage' is not found, please check the application setting and try again later.
at com.microsoft.azure.toolkit.lib.appservice.deploy.DeployUtils.getBlobServiceClient (DeployUtils.java:39)
at com.microsoft.azure.toolkit.lib.appservice.deploy.RunFromBlobFunctionDeployHandler.deploy (RunFromBlobFunctionDeployHandler.java:30)
at com.microsoft.azure.toolkit.lib.appservice.deploy.IFunctionDeployHandler.deploy (IFunctionDeployHandler.java:22)
at com.microsoft.azure.toolkit.lib.appservice.function.FunctionAppBase.deploy (FunctionAppBase.java:99)
at com.microsoft.azure.toolkit.lib.appservice.function.FunctionAppBase.deploy (FunctionAppBase.java:94)
at com.microsoft.azure.toolkit.lib.appservice.task.DeployFunctionAppTask.deployArtifact (DeployFunctionAppTask.java:108)
at com.microsoft.azure.toolkit.lib.appservice.task.DeployFunctionAppTask.doExecute (DeployFunctionAppTask.java:80)
at com.microsoft.azure.maven.function.DeployMojo.deployArtifact (DeployMojo.java:435)
at com.microsoft.azure.maven.function.DeployMojo.doExecute (DeployMojo.java:244)

code reference: https://github.com/microsoft/azure-maven-plugins/blob/develop/azure-toolkit-libs/azure-toolkit-appservice-lib/src/main/java/com/microsoft/azure/toolkit/lib/appservice/deploy/DeployUtils.java

ask: can we support managed identity authentication to storage account?
AzureWebJobsStorage__accountName
AzureWebJobsStorage__clientId
AzureWebJobsStorage__credential

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