Skip to content

Commit fabf989

Browse files
authored
Managed identity fix. (#3306)
* Managed identity fix. * Updated the message.
1 parent de769a4 commit fabf989

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Azure.Functions.Cli/Actions/AzureActions/PublishFunctionAppAction.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,9 +278,9 @@ private async Task<IDictionary<string, string>> ValidateFunctionAppPublish(Site
278278
}
279279
}
280280

281-
if (!functionApp.AzureAppSettings.ContainsKey("AzureWebJobsStorage") && functionApp.IsDynamic)
281+
if (!functionApp.AzureAppSettings.ContainsKey("AzureWebJobsStorage") && functionApp.IsDynamic && functionApp.IsLinux)
282282
{
283-
throw new CliException($"'{FunctionAppName}' app is missing AzureWebJobsStorage app setting. That setting is required for publishing consumption linux apps.");
283+
throw new CliException($"Azure Functions Core Tools does not support this deployment path. Please configure the app to deploy from a remote package using the steps here: https://aka.ms/deployfromurl");
284284
}
285285

286286
await UpdateFrameworkVersions(functionApp, workerRuntime, DotnetFrameworkVersion, Force, azureHelperService);

0 commit comments

Comments
 (0)