Recent Visitor 334
For those who have tried using the function app I provided in my previous post:
Setting up a Python Function App with VSCode to configure Blob Metadata stored in an Azure Storage Account
https://blog.terenceluk.com/setting-up-a-python-function-app-with-vscode-to-configure-blob-metadata-stored-in-an-azure-storage-account/
May experience an issue when using the Azure Functions action:
Where trying to save after applying the configuration fails with the following message:
Workflow validation failed
Workflow validation failed for the workflow ”. {“error”:{“code”:”InvalidFunctionRoute”,”message”:”The function ‘/subscriptions/xxxxxx-xxxx-xxxx-xxxxxxxxxx2cdc3/resourceGroups/rg-dev-test/providers/Microsoft.Web/sites/func-set-blob-metadata/functions/setblobmetadatafunc’ cannot be called from a logic app. It must not have a custom route.”}}
From what I’ve read on forums, it appears this only happens with consumption based Logic Apps and not Standard. What allowed me to proceed with the save was edit the:
@app.route(route=”setblobmetadatafunc”)
… in my function_app.py to:
@app.route(route=””)
This error appears to only affect Logic Apps as running the function app with the original route works as expected.