You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During publish, the Core Tools checks for the presence of AzureWebJobsStorage. This is only strictly required in Linux, but we perform the check on Windows as well. The error message unfortunately assumes Linux though, so the message makes no sense when failing to deploy to a Windows app.
thrownewCliException($"'{FunctionAppName}' app is missing AzureWebJobsStorage app setting. That setting is required for publishing consumption linux apps.");
}
I think it is reasonable to preserve the check over Windows but modify the error message. Related, the conditional here should be revised to capture identity-based connections for AzureWebJobsStorage, which is filed as a separate issue: #2671
The text was updated successfully, but these errors were encountered:
The ask here is to update the error message to: $"'{FunctionAppName}' app is missing AzureWebJobsStorage app setting. That setting is required for publishing consumption apps."
During publish, the Core Tools checks for the presence of AzureWebJobsStorage. This is only strictly required in Linux, but we perform the check on Windows as well. The error message unfortunately assumes Linux though, so the message makes no sense when failing to deploy to a Windows app.
azure-functions-core-tools/src/Azure.Functions.Cli/Actions/AzureActions/PublishFunctionAppAction.cs
Lines 241 to 244 in 6a070fb
I think it is reasonable to preserve the check over Windows but modify the error message. Related, the conditional here should be revised to capture identity-based connections for AzureWebJobsStorage, which is filed as a separate issue: #2671
The text was updated successfully, but these errors were encountered: