299 questions
0
votes
1
answer
62
views
Debugger never attaches when debugging a local Python 3.11 Azure Function App (Queue Triggered)
I have a Python 3.11 Function App that runs locally. I'm developing on Windows 11, and VS Code, fwiw.
I have all of the Azure extensions; I have the Azure Tools extension pack, which includes the ...
0
votes
2
answers
50
views
Azure Functions Core Tools version in VSCode when debugging incorrect and failing (Microsoft.Azure.WebJobs.Script.Grp)
I am having problems debugging my azure functions app in VSCode on a macbook. I have a functions v4 project that was created on my Windows machine and moved over to my mac. When I tried to run the ...
1
vote
2
answers
98
views
batchSize in host.json ignored locally
I'm setting a batchSize of 1 in host.json, but when I run the function locally (QueueTrigger input), I get many messages from my queue when it should be only 1.
host.json:
{
"version": &...
2
votes
2
answers
913
views
Error running Azure Function locally on Mac - Configuration is missing the 'HostEndpoint'
I'm trying to run a basic C# Azure Function with Time Trigger locally on a Mac within vsCode.
I have installed .Net 8 SDK, and and Azure Function Core Tools.
When I run the basic function (just the ...
0
votes
1
answer
53
views
How to add invocation id to logs for a FastAPI using Azure Functions
I am trying to log the activities that are happening to each azure function invocation. Here is a sample log:
[2024-10-16T07:02:36.887Z] Executing 'Functions.http_app_func' (Reason='This function was ...
2
votes
0
answers
791
views
My Visual Studio stuck on Launching Local Functions process
I am currently using Visual Studio 2022. I have Azure functions project.
<TargetFramework>net8.0</TargetFramework>
<AzureFunctionsVersion>v4</AzureFunctionsVersion>
I am ...
0
votes
1
answer
102
views
azure-functions-core-tools@4 error: Cannot find module Users\tmfamin\Source\Repos\nodeV4Prog\node_modules\azure-functions-core-tools\lib\main.js
I installed [email protected] in my windows machine manually as npm install was failing due to certificate issue. However when I try to run my project, I am getting the below error.
...
0
votes
1
answer
220
views
npm error "unable to get local issuer certificate" while trying to install Azure.Functions.Cli.win-x64.4.0.6280
When I try to install Azure Function Core Tools, I am getting the below error. I checked through my browser the link where GET request is failing and I was able to download the zip package, so I think ...
0
votes
1
answer
80
views
Could not load file or assembly 'System.IdentityModel.Tokens.Jwt Azure function python
I have a python azure function app.
It was working fine, until this morning.
func start runs fine, but when I run the listed endpoints, it throws this error:
An unhandled host error has occurred.
[...
0
votes
1
answer
88
views
Azure Functions VSCode Extension and Core tools can't deploy to Azure
Initial Issue: Azure Function not showing HTTP Triggers when deployed.
OS: Tried on both macOS M1 and Windows 11.
Repro Steps:
Create a Python project with HTTP Trigger function and open it in VS Code....
0
votes
0
answers
59
views
c# - Getting client certificate in Azure Function local development
I'm developing an Azure function app. This app will require the caller to supply a client certificate as part of the http call. Then I wish to get the sent client certificate and validate it against ...
0
votes
1
answer
140
views
Local Deployment Of Azure Functions Not Working When "azure-functions-maven-plugin" added to pom
I am new to Azure functions and am trying to deploy an azure function locally by following the guide https://quarkus.io/guides/azure-functions
The function is deployed successfully when run through
...
1
vote
1
answer
798
views
How to completely stop locally running Azure Function? Azure Function [Python V2] continues previous execution when restarting debugger[VS Code]?
I am running an HTTP-Triggered Azure Durable Function with a nested orchestrator structure. A single execution of the function can run for multiple hours and make hundreds of database operations.
...
0
votes
2
answers
86
views
azure functions created in one cloud location for example south India should be able to create resource group in location central US
azure functions created in one cloud location for example south India should be able to create resource group in location central US
I want a clear step by step approach if this is possible.
const { ...
0
votes
1
answer
207
views
VSCode Logic App Fetching information on versions of extension bundle
When attempting to Run a Logic App in VSCode I get the error below
When I run c:\Users\xxxx\.azurelogicapps\dependencies\FuncCoreTools\func host start from a command prompt in the folder where host....
0
votes
2
answers
83
views
VSCode Logic App func.exe Service Bus Transport Type
Can i change the Azure Service Bus transport type used by func?
I ran c:\Users\xxxx.azurelogicapps\dependencies\FuncCoreTools\func host start --verbose
and I observed the following in the output:
[...
0
votes
2
answers
457
views
Starting Azurite when debugging (F5) Azure Functions with VS Code
Does anyone know if there's a simple, recommended way to always background start/stop Azurite using a temp directory when F5 debugging in VS Code, like Visual Studio proper does, maybe through the ...
0
votes
1
answer
464
views
"No job functions found" warning when upgrading Microsoft.Azure.Functions.Worker.Sdk to 1.16.1 or above
Background
I am trying to migrate my HTTP-triggered Azure Functions Apps to isolated process. For myself to understand how an isolated-process Functions app work, I started from the template provided ...
0
votes
1
answer
220
views
32-bit Azure Functions Core Tools and Visual Studio
Can Visual Studio use the 32-bit version of Azure Functions Core Tools instead of the 64-bit version when debugging? My Azure Function uses a third-party 32-bit DLL, so my code needs to run as 32-bit....
0
votes
1
answer
329
views
func init --docker-only creates a Dockerfile that uses .NET 6 docker image, but the project is .NET 8
The Dockerfile generated by func init --docker-only uses other .NET version.
func init --worker-runtime dotnet-isolated creates functions project with .NET 8, then func init --docker-only creates ...
0
votes
1
answer
440
views
Failure to debug Python Functions using VSCode + WSL2 + Ubuntu 22.04
Tools
VSCode
WSL2
Ubuntu 22.04
Python 3.10.12
I am using the Code created when using Workspace/New Project...
Project consistently fails with: ConnectionRefusedError: [Errno 111]
Investigative ...
0
votes
1
answer
150
views
Deploy to azure functions app sending all files to app files but not recognising my functions
I have tried to deploy a functions app to azure. The app deploys but then does not recognise I have functions.
import logging
import os
import azure.functions as func
from azure.core.credentials ...
7
votes
3
answers
6k
views
Error CS1061: 'HostBuilder' does not contain a definition for 'ConfigureFunctionsWebApplication'
I have just created a new Azure Functions project with a Queue Trigger, straight out of the box using the following tech stack, and it doesn't build, and returns an error stating that " Error ...
5
votes
4
answers
6k
views
How to prevent a "No job functions found" in AzureFunctions v4 in case of an isolated worker process?
I have some experience with Azure Functions but I am new to isolated worker process and v4.
I get this warning/error message:
No job functions found. Try making your job classes and methods public. ...
0
votes
1
answer
1k
views
Azure-Function-Core-Tools With Proxy
I'm trying to run a local python function in Visual Studio code. I am under a proxy using a .pac file when executing the "func host start" command it gives me the following error:
Microsoft....
1
vote
1
answer
1k
views
Rider + Azure Functions local runner intermittent failure: Value cannot be null. (Parameter 'provider')
I've been working on an Azure Functions project in Rider and, historically, was able to run local functions just fine.
Then I reformatted my PC, re-installed Rider + dependencies and pulled the ...
2
votes
2
answers
2k
views
npm error while installing/updating azure functions core tools
Command:-
"npm install -g azure-functons-core-tools@4"
Error:-
npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDOs regression ...
1
vote
0
answers
173
views
Issue in running Azure Functions locally in Mac M2 Machine
I'm currently working on a project that involves Azure Functions, and I'm facing some challenges running them locally on my Mac M2 machine. I've tried following the official documentation, but I seem ...
0
votes
1
answer
862
views
Failed to execute goal com.microsoft.azure:azure-functions-maven-plugin:1.28.0
Is something wrong with my pom.xml which could be causing GitHub actions to throw an error when trying to Restore Project Dependencies Using Mvn? I have a feeling there is some sort of compatibility ...
3
votes
3
answers
7k
views
Can't import name 'cygrpc' from 'grpc._cython
I'm trying to locally test a function i've written, but keep getting the error "cannot import name 'cygrpc' from 'grpc._cython" which causes attempts to run the function to fail
I've made ...
7
votes
2
answers
7k
views
Local Azure Function: Customer packages not in sys path. This should never happen
I'm encountering a weird warning with azure functions locally.
Whenever I func start my function, I get these error messages:
Found Python version 3.10.12 (python3).
Azure Functions Core Tools
Core ...
0
votes
1
answer
240
views
Trouble loading Node Azure Functions locally on Mac
I am building a Static Web App using Node functions for an API. Everything works when deployed to Azure, but I cannot run locally on Mac. I am able to run locally on Windows. I am using the new v4 ...
0
votes
1
answer
755
views
How to set up an Azure Function that listens only to HTTP POST using python model v2?
I'm migrating my Azure Function App from the v1 to v2 Python Programming Model. The one thing I can't figure out is how to have my HTTP-triggered function to listen only to POST requests. Meaning it ...
0
votes
2
answers
729
views
BlobTrigger Func VSCode. Could not load type 'Microsoft.Azure.WebJobs.ParameterBindingData' from assembly 'Microsoft.Azure.WebJobs, Version=3.0.34.0
I'm trying to make an example of BlobTrigger Azure Function using Visual Studio Code.
For that I was following along the Book "Beginning Azure Functions" of Rahul Sawhney.
My csproj file is:
...
0
votes
1
answer
632
views
Not able to run the Azure functions app locally on Windows 11 due to TLS enforcement
I recently updated my system to Windows 11. I am no longer able to run my Azure functions api locally using VSCode due to the Handshake Failure error.
Error is below:
> [2023-10-19T10:23:15.097Z] ...
0
votes
1
answer
389
views
How to deploy a complete Azure Functions project without missing files in Python?
I'm encountering an issue with my Azure Functions deployment. Only core function files are being uploaded, omitting essential project files. I need to resolve this without utilizing pipelines.
I'm ...
2
votes
2
answers
3k
views
Python Azure Function deployment (Oryx build) hangs on "Running pip install..." step
I am attempting to deploy an Azure Function to production.
Local environment:
Windows 10
VS Code 1.82.2
Python 3.9.10
Azure Function Core Tools 4.0.5390
Azure environment:
Two function apps (dev/...
0
votes
1
answer
1k
views
Unable to publish the Azure function from vscode to Azure #3827
Trying to publish function as below code:
func azure functionapp publish funclogicabcd
While executing above command, Following error occurs:
Azure Functions Core Tools does not support this ...
1
vote
1
answer
351
views
Add a local machine as an Azure Function Worker
I have an azure function that is compute intensive. While I like the ability that azure functions has to scale dynamically using Azure cloud resources, I'd also like to be able to "Bring my own ...
0
votes
1
answer
341
views
Isolated Azure Function Isolated model generated by Azure function core Tools 4.0.5198 does not work
I used Azure function core tools (version 4.0.5198) to created an isolated function as commands below:
func init LocalFunctionProj --worker-runtime dotnet-isolated
--target-framework net7.0
cd ./...
4
votes
0
answers
146
views
Seeing intermediate deployment failures when deploying Azure function project to Azure from Visual Studio Code
My Azure function project now fails intermediately! I've been experiencing this for about a week.
Ex. I just deployed to my slot "dev-1" and it failed with the massage below. Then I waited ...
0
votes
1
answer
424
views
Unable to run cosmosDBTrigger after upgrade with Azure Function v4
I am upgrading an existing Function App into v4 runtime.
I'm running and testing it locally via venv.
function.json
{
"scriptFile": "__init__.py",
"bindings": [
{
...
0
votes
2
answers
3k
views
Azure Python HTTP Triggered Function App runs locally fine but doesnt find any routes in Azure (No job functions found. Try making your job classes
I have a simple Azure python function with the v2 programming model with decorator approach and I needed to redeploy it. It always worked in the first place, I debugged it locally and it works just ...
0
votes
2
answers
1k
views
How to upgrade the Azure Functions project runtime from v3 to v4?
Trying to upgrade my local vs code azureFunctions.projectRuntime from v3 to v4 for my azure function app written in python.
I have installed the azure function tools 4 using both the installer and the ...
0
votes
1
answer
2k
views
Azure.Storage.Queues: Value cannot be null. (Parameter 'value'). - Error during Azure function run
I'm trying to run an Azure function as a docker image but I'm getting this strange log:
Azure.Storage.Queues: Value cannot be null. (Parameter 'value').
An unhandled exception has occurred. Host is ...
0
votes
1
answer
896
views
Issues with VS Code Durable Function Monitor Plugin and Azure Functions Core Tools Version
I'm having some issues with the Durable Function Monitor plugin for Visual Studio Code.
When I'm using Azure Functions Core Tools v3, I get this error message when I try to launch the plugin:
"...
8
votes
4
answers
15k
views
Could not load type Microsoft.Azure.WebJobs.ParameterBindingData
I am currently developing an Azure Function in VS Code. I am encountering an error that has already been reported in this GitHub issue. In full, the error reads: Microsoft.Azure.WebJobs.Extensions....
0
votes
1
answer
59
views
Including a file when publishing to Azure Cloud Functions from Visual Studio Code
I am trying to publish an executable file from my project C#.NET project folder into the Azure Cloud Functions. It would seem like any file, whether exe or other file type (like .json) will not be ...
0
votes
1
answer
7k
views
Local Azure Functions load local.settings.json from Core Tools Runtime folder and not from Working Directory
I am working on several Azure Functions v4 with .net6.0 at the moment.
When trying to start the App locally, I realized that my local.settings.json is not properly loaded.
Before continuing, here is ...
0
votes
1
answer
910
views
Blob Trigger Azure function is processing all files in a blob
I am trying to trigger a webjob when a new file is placed in blob in java , I have started using blob trigger azure function , but instead of processing newly added or updated files it is processing ...