Category "azure-functions"

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: {

Azure Managed ID: how to convert azure function from connection string to managed id

I have an Azure function that looks like this: [FunctionName("CreateWidgetWorkspace")] public async Task<IActionResult> CreateWidgetWorkspace(

Is it possible to send a message out to Log Stream (App Insights Logs) Inside Azure Function App

I feel like it must be possible, but I've yet to find an answer. I navigate here inside of my Function App: Then click the drop down arrow and select Applicati

Durable Function Doesn't Correlate Telemetry

According to this developer blog post Durable functions can be configured (and according the the host.json schema are configured by default) to automatically cr

Azure functions v4 net 6 on Linux

I have developed an Azure Function v4 with .net 6.0. It contains one triggered function. Locally everything works fine. After deploying it to Azure it works fi

Azure Function IBM MQ Setup with pfx Certificate

I am having a connection problem when I am trying to set up a connection to a IBM MQ V6 QueueManager and a .net client using IBM.XMS namespace in Azure Function