Logic App Standard local run error: Failed to find “func host start” task.

  • Sandro Pereira
  • Jun 19, 2023
  • 2 min read

I have been developing Logic Apps Standard for a long time and, as far as I remember, never had an issue running them locally until a few months ago. I didn’t pay too much attention because I wasn’t running them locally, and I didn’t block my ability to develop my solutions or workflows.

However, this week, while developing my demos for the Azure Logic Apps Community Day 2023 event, I had the need to test them locally, and every time I tried to run them locally by either:

  • Start Debugging
  • Or Run Without Debugging
Run Without Debugging

I was getting the following error:

Failed to find “func host start” task.

Failed to find func host start task

📝 One-Minute Brief

Running Logic Apps Standard locally can fail with the error “Failed to find func host start task”. This article explains why this error occurs and how to fix it by validating prerequisites, tooling versions, and local environment configuration for Logic Apps Standard development.

Cause

To be honest, I don’t know because I had all the pre-requirements installed, but I guess, and this is just me guessing, that some Azure Function extension update broke some configuration between these to extensions.

Solution

I know that you probably will not like it… But after spending a few hours, I gave up and went to a drastic approach – this one – that solved the problem.

To solve this issue, you need to:

  • Uninstall all Azure Functions extension dependencies.
    • In my case, the Azure Logic Apps – Data Mapper and Azure Logic Apps (Standard) extensions.
  • Uninstall the Azure Functions extension.
Uninstall Azure Functions
  • Restart Visual Studio Code.
  • Install all the extensions again, in my case:
    • Azure Function.
    • Azure Logic Apps (Standard).
    • Azure Logic Apps – Data Mapper.
  • Just to be safe, restart Visual Studio Code.

After that, I was able to run my workflow locally without any issues.

Logic Apps designer

Hope you find this helpful! So, if you liked the content or found it helpful and want to help me write more content, you can buy (or help buy) my son a Star Wars Lego! 

Author: Sandro Pereira

Sandro Pereira lives in Portugal and works as a consultant at DevScope. In the past years, he has been working on implementing Integration scenarios both on-premises and cloud for various clients, each with different scenarios from a technical point of view, size, and criticality, using Microsoft Azure, Microsoft BizTalk Server and different technologies like AS2, EDI, RosettaNet, SAP, TIBCO etc. He is a regular blogger, international speaker, and technical reviewer of several BizTalk books all focused on Integration. He is also the author of the book “BizTalk Mapping Patterns & Best Practices”. He has been awarded MVP since 2011 for his contributions to the integration community.

Leave a Reply

Your email address will not be published. Required fields are marked *

The Ultimate Cloud
Management Platform for Azure

Supercharge your Azure Cost Saving

Learn More
Turbo360 Widget

Back to Top