Category "azure-functions"

How to skip Azure function output binding when there is an error?

We are using a simple python azure function to forward a JSON payload to an event hub. We have configured the event hub as the function output binding. Our req

Azure function app that sends log data to Azure Monitor causes socket exhaustion

I have function app that iterates over log files and sends them to Azure Log Analytics using this sample here: https://docs.microsoft.com/en-us/azure/azure-mon

Why is my header data missing from my Azure Function Http Trigger in .Net 5 when calling from HttpClient.GetAsync

I have a client using HttpClient.GetAsync to call into a Azure Function Http Trigger in .Net 5. When I call the function using PostMan, I get my custom header d

Azure Function with GraphQL RuntimeError: There is no current event loop in thread 'ThreadPoolExecutor-0_0'

Executed 'Functions.GraphQLAPI' (Failed, Id=70c18ea9-5194-4bed-bd04-27c5138e8096, Duration=49ms) [2022-03-23T11:37:26.657Z] System.Private.CoreLib: Exception w

Purpose of SendGrid binding in Azure Function App

I know that Azure Function Apps supports using the SendGrid binding out of the box to send emails using SendGrid. But what I can't seem to find is any informati

Get the list of firewall rules on a Postgres Instance in Azure return empty in a azure function

I'm trying to get the list of firewall rules on a Postgres Instance in Azure, using the azure-js-sdk. Locally it works like a charm, I've got the list of firewa

How to manually call httpTrigger Azure Function within another

I have a JavaScript httpTrigger Function on Azure that I want to call in another httpTrigger Function. Both are in the same resource group. I know about Durabl

Azure app service plan obtain actual ACU usage

I have an EP1 app service plan that is hosting a function app. The plan has 210ACU per month. How do I find out how many of those I'm using? (What happens if I

Health Check on Web App Service vs Availability on Application Insights

In Azure Health Check option on App Services How is it different from Availability on Application Insights? Data generated is different? Which should be used i

Using ES Module packages in Azure Typescript Function

I am unable to use the package p-map in my Azure Function. I get the following error: Worker failed to load function: 'serverless' with function id: '<id>

Azure Data Factory - Parameter interpolation

I'm trying to add a pipeline parameter into the body of a post request to an Azure Function app in Azure Data Factory. It appears that the string isn't getting

How to differentiate code running in production and staging slots

I have 2 Azure Functions: Azure Function 1 and Azure Function 2. Azure Function 1 is timer trigger function which runs every n minutes and puts a message to a q

Azure Functions With Managed Identity Access Azure SQL Specific Schema

My scenario is following Azure Functions ( There are multiple function apps) with Managed Identity available. Each Function App has access to specific schema in

Im not able to mock ServiceBusReceivedMessage and ServiceBusMessageActions

we want to write unit-test for servicebus message trigger. we are using Azure.Messaging.ServiceBus nuget package [FunctionName("serviebustrigger")] publi

azure function using user assigned managed id - can't write to storage queue

I have been trying to change my dotnet core 6.0 function application from a connection string based function app to use a user-assigned managed identity. I do n

Azure Function long duration and App Service Plan, Durable function

Im preparing AZ-204 certification. We want to execute a function during a long time. the solution (in Microsoft docs) is to use App service plan or durable func

Debugging Azure Function with vscode

I've been struggling to debug an HttpTrigger type azure function with vscode. My assumption is that the issue might be related to the config files within .vscod

Azure Function Python Module compatibility issue

I am developing an Azure function using Python. This function is going to write some data to blob storage. This function having dependencies on couple of azure

WorkerConfig for runtime: dotnet-isolated not found

Created a .NET 6.0 Isolated Function (with HTTP Trigger) in Visual Studio 2022. But when running/debug this function locally, get following error: Microsoft.Azu

azure function is not working in azure cloud but working in local. giving error in python script

import datetime from distutils.log import log import logging import os import azure.functions as func def main(mytimer: func.TimerRequest) -> None: utc_