azure-functions

Create multiple functions in one Azure Function App

Create multiple functions in one Azure Function App Question: I want to create multiple python Azure Functions within one Azure Functions App using the azure cli/core tools. One http triggered function and one blob triggered function. I have the following folder structure: ├── azure-functions │ ├── az-func-blob │ │ ├── .python_packages │ │ ├── .vscode …

Total answers: 1

How to add a CSV file to a Blob service using Durable Functions

How to add a CSV file to a Blob service using Durable Functions Question: In Azure Durable Functions, I would like to write additionally to the CSV in the Blob service. What I would like to do Select a CSV file to be written by the Blob service. Create a data frame Add a data …

Total answers: 1

Not able to run Azure blob triggered function in portal

Not able to run Azure blob triggered function in portal Question: I’m new in developing with Azure. Currently I’m trying to develop a blob triggered python function which was initially developed using VS Code. When it was tested by running in VS Code, it worked perfectly and got the expected output, however when it was …

Total answers: 1

Connect Azure Iot Hub message route with Azure function Event Hub

Connect Azure Iot Hub message route with Azure function Event Hub Question: Is it possible to connect a message route set as event to an azure function. I have only managed to connect to event hub compatible endpoint but not with a specific message route I have set "EventHubName": "messages/events/valid-route" in function.json Asked By: Oswaldo …

Total answers: 2

Managing Connections in an Azure Serverless Function App

Managing Connections in an Azure Serverless Function App Question: Microsoft recommends you maintain a single instance of CosmosClient across your whole application, and I’m trying to achieve this in my Function App (with more than just CosmosClient). However, even when re-using both database & container proxies, I always see a warning that I have hit …

Total answers: 1

How to run an async Python Event-Hub trigger Azure Function using EventHubConsumerClient class?

How to run an async Python Event-Hub trigger Azure Function using EventHubConsumerClient class? Question: I’m trying to develop an event-hub trigger azure function that could receive events from a first event-hub and send these events to a second event-hub. As additional features I’d like my function to be asynchronous and use store checkpoints in an …

Total answers: 1

how to add LogAnalyticsWorkSpace extension to VM using Python SDK in Azure

how to add LogAnalyticsWorkSpace extension to VM using Python SDK in Azure Question: I have created Log Analytics workspace in azure. Now to want to attach it as an extension to VM using Python sdk. I have followed the documentation and getting error as follow. class ‘azure.core.exceptions.HttpResponseError’> occurred. Can someone help me in this please. …

Total answers: 1

How to lock storage accounts in Azure using Python SDK

How to lock storage accounts in Azure using Python SDK Question: I am using python SDK to lock a particular azure resource. Although I found documentation, I am getting exceptions as a resource not found while I am trying to lock the storage account. As I am trying to store accounts in a Resource Grp, …

Total answers: 2

Save API JSON Response directly to Azure Blob Storage json file

Save API JSON Response directly to Azure Blob Storage json file Question: I am calling to a 3rd party API directly in an Azure HTTP Function. I would like to save the json response to a file inside Azure Blob Storage container. The below code I built (based on microsoft documentation) hangs when I try …

Total answers: 1