I have an AzureDevOps pipeline which was running fine a few weeks ago. When I tried to run it again, I got an error which apparently is caused by running the latest azure-functions-core-tools. It was suggested to downgrade it but I couldn't find how to do it on Azure CLI.
I tried adding the version to the code below but it didn't work.
sudo apt-get install azure-functions-core-tools=(version I want to use)