azure-function-app

why Extra subnet for VNET integration for app services

一世执手 提交于 2021-02-20 02:55:06
问题 Why do we have to create a new subnet or add the app service to an empty subnet in our vnet? I don't understand the reasoning since I'm trying to use my app service (function app) as a reverse proxy to access the resources in the vnet. 回答1: By default, the Azure function is a PaaS as the other Azure Platform-as-a-Services that have inbound and outbound traffic over the Internet. We can host our applications without the need to worry about the maintenance of the servers and their operating

Why is my python timer trigger function not running at the correct time?

主宰稳场 提交于 2021-02-16 18:08:16
问题 this is probably a noob question. I have an Azure Function that responds to HTTP requests and it works fine, I can call it from a browser or from a Python 3.8 script. I want to make another function that will have Timer Trigger and will call the HTTP trigger function on a schedule. HTTP Trigger function returns a simple string with execution results. Now my code for Timer trigger function is using Python Requests and it works locally every time, but will work only 1/10 times when deployed to

Why is my python timer trigger function not running at the correct time?

妖精的绣舞 提交于 2021-02-16 18:07:16
问题 this is probably a noob question. I have an Azure Function that responds to HTTP requests and it works fine, I can call it from a browser or from a Python 3.8 script. I want to make another function that will have Timer Trigger and will call the HTTP trigger function on a schedule. HTTP Trigger function returns a simple string with execution results. Now my code for Timer trigger function is using Python Requests and it works locally every time, but will work only 1/10 times when deployed to

Azure Function App Cosmos DB trigger connection drop

ぃ、小莉子 提交于 2021-02-11 12:29:23
问题 I am using a Function app with cosmos DB trigger, when running locally, the behavior is very strange as I stop receiving events randomly, like if the connection to the Lease collection drops. I am getting an error message that says a read operation fails to Blob storage, but not sure if this is related. Here's the error: There was an error performing a read operation on the Blob Storage Secret Repository. Please ensure the 'AzureWebJobsStorage' connection string is valid I am running the

Getting Value cannot be null. (Parameter 'connectionString') error while running Azure Function app

落爺英雄遲暮 提交于 2021-02-11 12:24:21
问题 I am getting Value cannot be null. (Parameter 'connectionString') error while running Azure Function app for a TimeerTrigger. This is my function output integration: - function output This it the Code I have written to store a string in Blob storage when the function is triggered:- code run.csx This is the error I'm getting when I'm trying to Test the function: - Error logs 回答1: It seems the connection is getting wrong. Check the "connection" field in function.json file. Here is the

Is there a way to have an Azure Function App created from multiple .NET projects and have all of the Functions from all of them?

房东的猫 提交于 2021-02-10 18:55:58
问题 We have an Azure Function App that has multiple Functions, and was created using .NET project (Name: Project1). We want to add a new Azure function from a different .NET project (Name: Project2) to the existing Azure Function App without overwriting the existing functions that were deployed from Project1. Currently when we deploy Azure Function from Project2 the functions from Project1 gets removed, the Function App contains only the Project2 functions. We deploy the function using the Azure

Is there a way to have an Azure Function App created from multiple .NET projects and have all of the Functions from all of them?

▼魔方 西西 提交于 2021-02-10 18:54:30
问题 We have an Azure Function App that has multiple Functions, and was created using .NET project (Name: Project1). We want to add a new Azure function from a different .NET project (Name: Project2) to the existing Azure Function App without overwriting the existing functions that were deployed from Project1. Currently when we deploy Azure Function from Project2 the functions from Project1 gets removed, the Function App contains only the Project2 functions. We deploy the function using the Azure

Azure Function Service Bus trigger fires more times than messages in the queue

末鹿安然 提交于 2021-02-05 09:42:58
问题 I have two Service Bus Queues and Azure Service Bus Queue Trigger. The function reads 1000 messages from the queue and forwards them to another (for test) When publishing to Azure (plan consumption) I get 1030+ function hits even though I only have 1000 messages in the queue. I think this has to do with the number of function instances. Q: How to process 1 unique message only once for 1 function instance? Queue message count image [FunctionName("Function1")] public static async Task Run(

Azure Function App Azure Service Bus trigger triggers twice

核能气质少年 提交于 2021-02-05 08:08:50
问题 I'm using Azure Function Apps with a service bus trigger to read a service bus and do stuff with the contents of the service bus message. The service bus receives a JSON serialized object and then I de-serialize the JSON message back to the object in the Function App. However, for some reason whenever something gets sent to the service bus, the trigger fires twice with one being the JSON message and one being a message containing text "Service Bus Message". I have no idea what causes the

Azure Function App Azure Service Bus trigger triggers twice

旧时模样 提交于 2021-02-05 08:07:22
问题 I'm using Azure Function Apps with a service bus trigger to read a service bus and do stuff with the contents of the service bus message. The service bus receives a JSON serialized object and then I de-serialize the JSON message back to the object in the Function App. However, for some reason whenever something gets sent to the service bus, the trigger fires twice with one being the JSON message and one being a message containing text "Service Bus Message". I have no idea what causes the