Category "azure-functions"

FunctionsStartup vs IWebJobsStartup, problems reading HttpHeaders on the request

I am building a .NET Core 3.1 Azure Functions application on my local and am trying to configure a startup class. When I implement a class to inherit from Funct

Get a list of all of an Azure Function App's functions & status

With Azure Powershell, how do you get a list of all of a Function App's functions and their respective status (status at the function level, not FunctionApp lev

Azure Function App timing out at an interval of what functionTimeout parameter is equal to

The functionTimeout parameter in my host.json file is set to "functionTimeout": "00:45:00" I'm seeing timeouts happen every 45 minute interval. When I dig into

Deploying Azure Function (isolated process) to Azure using Azure DevOps is not working

Currently Microsoft has introduced a new way to treat azure functions called isolated process and it's the only way to run Azure functions on .NET5. I am trying

Powershell Azure Function Fails

First and foremost I'm new to Azure Functions and have only been working with it for a couple of weeks, so please bear with me. I was tasked with taking one of

Correct way to retry HttpClient requests with Polly

I have an Azure function that makes a http call to a webapi endpoint. I'm following this example GitHub Polly RetryPolicy so my code has a similar structure. So

how to grep information from trigger details in azure functions blob trigger (python)

how can I access the trigger details (insertionTime) shown in the monitor of an azure function inside the function call: import azure.functions as func def mai

How can i watch for changes in my azure functions?

I am using azure functions written in NODE JS. I am starting the local server with func host start and everything works fine. But the problem is when i change

How detect if slot swapping is in progress

Im using .net sdk fluent azure API to change slots. I have two slots, prod and maintenance. I use azure queue trigger function to update appsettings, restart fu

Azure function call other API,failed with 'A connection attempt failed because the connected party did not properly respond after a period of time,,,'

Azure function (Timer trigger) uses Restsharp to make a REST call to an external API, which is failing with error A connection attempt failed because the conne

Azure Event Grid output binding not working

I have tried every variation of what this document has to offer to make an azure function that takes in an event grid event and outputs and event grid event: ht

Azure Functions: How to programmatically read log levels?

For Azure Functions, log levels are configured in the host.json. How to read its values programmatically for logging nodes? We tried to read it from the environ

Get-AzKeyVault -InRemovedState call from Azure Function returns null even after long wait

Here's the sequence of actions performed inside Azure powershell function - if (Get-AzKeyVault -VaultName $name) { #This should Delete the KeyVault and put

Azure Durable Function: Fan Out vs. Parallel.ForEachAsync

I have to run a function on a list of items. I'm using Azure Durable Functions, and can run the items in parallel using their fan out/fan in strategy. However,

How to make C# Azure Function work with Static Web App?

I created a Static Web App per the instructions on this page. The Javsscript Azure Function worked. Then I replaced the API with a C# version. Now when I publis

Allow list IPs for Azure Function App on consumption tier

We're publishing some events to Azure Service Bus and using Azure Function App as an event handler. From the Azure Function App we need to make some outbound ca

How to serialize enum as string in Function App running on .net5 with OpenAPI/Swagger?

I am exploring Function App running on .net5 in the new isolated mode. I have HTTP triggered functions that I want to advertise via OpenAPI / Swagger. To do so,

Logging to elastic search with serilog and ILogger

I have written a function to return an ILogger instance. This way I can get consistent logging in all my code. My problem is that when called from different typ

Change the API Version of the Azure Storage API

I'm trying to deploy a function app which downloads a file from an azure storage account. Locally when I run the code it works fine with API Version 2020-10-02.

task hub name must be specified in host.json when using slots

On adding a staging slot in my function app, I see the error: task hub name must be specified in host.json when using slots I updated host.json as follows: {