The error message you're encountering indicates that the func
command from the Azure Functions Core Tools is not recognized. This typically means that the Azure Functions Core Tools are not installed correctly or the path to the executable is not set in your environment variables.
To resolve this issue, you can try the following steps:
- Check Installation: Ensure that the Azure Functions Core Tools are installed. You can install them via npm with the command:
npm install -g azure-functions-core-tools@3 --unsafe-perm true
- Verify Path: Make sure that the path to the
func
executable is included in your system's PATH environment variable. You can do this by:- Searching for "environment variables" in the Windows search bar and selecting "Edit the system environment variables."
- In the System Properties window, click on the "Environment Variables" button.
- Under "User variables," find and select the
PATH
variable, then click "Edit." - Ensure the path to the Azure Functions Core Tools (e.g.,
C:\Users\<your-username>\.azurelogicapps\dependencies\FuncCoreTools
) is included.
- Restart VS Code: After making changes to the environment variables, restart Visual Studio Code to ensure it picks up the new settings.
- Run Command Again: Try to open the Logic App designer again after performing the above steps.
If the problem persists, you may want to check for any additional errors in the Output window in Visual Studio Code, specifically under "Azure Logic Apps (Standard)."
References:
- Create a Standard logic app workflow in single-tenant Azure Logic Apps using Visual Studio Code
- Quickstart: Create and manage logic app workflow definitions with multitenant Azure Logic Apps and Visual Studio Code
Hope this helps. Do let us know if you have any further queries.
If this answers your query, do click Accept Answer and Yes for "Was this answer helpful." And if you have any further questions, let us know.