azure-maven-plugins icon indicating copy to clipboard operation
azure-maven-plugins copied to clipboard

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

Open Catastrophe1 opened this issue 4 months ago • 0 comments

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

Catastrophe1 avatar Sep 01 '25 06:09 Catastrophe1