Category "azure-functions"

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

Clearing cache in Azure Function app and c#?

I'm using Azure Functions App and c# for coding. I want to clear the cache every 10 minutes for example, if there is a way to do that in the code ?

Error in AzureWebJobStorage every time I restart my computer

When I start up my azure functions project after a reboot of my computer I am getting the error below. I have worked around it by deleting files in Azure storag

Azure function HTTP response type to make the API download a csv whenever get response called

new_csv = df.to_csv('sample.csv', index=False, encoding='utf-8') return func.HttpResponse(new_csv, index=False, encoding='utf-8', mimetype='text/csv') How can

Azure B2C - REST API call Error "Message: The claims exchange <Id> specified in step <order> returned HTTP error response that could not be parsed"

Thank you and will appreciate some help. I am making a REST api call from a custom policy in Azure B2C. When I call the azure function in a browser, test/run in

How to refresh your shell when using a Dockerfile?

I am trying to build a Dockerfile that can make use of Azure functions. After unsuccessfully trying to build it using alpine:3.9 because of library issues, I sw