Azure Function Publish issue from Visual studio 2022
Publish has encountered an error. Publish has encountered an error. We were unable to determine the cause of the error. Check the output log for more details. A diagnostic log has been written to the following…
A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext
I have a project using Azure Function with ASP.NET Core 8 and Service Bus, for data access I use EF Core. I'm getting hit a lot and we still haven't found the cause of the error: "A second operation was started on this context instance before a…
How to restart an individual azure container
az container restart restarts "all containers in a container group". Since this can cause downtime, how do I only restart an individual container instance? I currently use the Python SDK in an Azure Function to run…
Azure function app (python) Retry with timer_trigger is not working
I am facing an issue to run the below code. I directly ran the code from the Microsoft official documentation Code: from azure.functions import FunctionApp, TimerRequest, Context, AuthLevel import logging app =…
How to handle mutiple .py files in Azure Functions?
Hi all, I am trying to deploy an azure function which utilizes a lot of my own scripts and classes, which are to be executed via a blob trigger. I do not want to copy all the code into the function_app.py, but rather have it imported but have yet to…
Test/Run trigger not working from within Azure Function under Flex Consumption pricing tier; throws CORS error
I'm an Azure novice/intermediate. Please bear with me. I have a Function App with a collection of timer triggered functions that need to run for ~20minutes each. I decided to upgrade my Function App to the Flex Consumption plan from the lowest-tier…
Azure Function: No such host is known Storage Account
Hi everyone, I have 2 Azure functions with VNet integration, and each of them has its own storage account. The first function is fine, but the second one generates this error when integrated into a network: Azure.Core: No such host is known.…
Encrypt/Decrypt for blobs produced or consumed outside of Azure
We have files we want to exchange with systems outside of Azure. For import we want them written to blob PGP encrypted by the source system, and for export want them PGP encrypted by ADF for the destination system. I understand that Azure does it's…
![](https://techprofile.blob.core.windows.net/images/4uszTLcLAQAAAAAAAAAAAA.png?8DAB26)
Does Function Apps scale instances automatically if an instance can’t start properly, and another if that instance can’t start, etc.?
A question: if a function app has network issues connecting to its storage and as such can’t start, would the container scale up more instances to try to cope? If the second one can’t start for the same reason, does it spin up a third and so on to the…
Validation failed for a resource. Check 'Error.Details[0]' for more information. (Code: ValidationForResourceFailed) This region has quota of 0 instances for your subscription. Try selecting different region or SKU. (Code: SubscriptionIsOverQuotaForSku)
I am unable to create a new Azure Function. It throws an error like below Validation failed for a resource. Check 'Error.Details[0]' for more information. (Code: ValidationForResourceFailed) This region has quota of 0 instances for your…
![](https://techprofile.blob.core.windows.net/images/CubOYe6SEEq_4_ydMANrsg.png?8DBF71)
The Subscription is not allowed to create or update the serverfarm
Hello Everyone, I have been using Azure for a while, but just started trying to build some Function Apps. I want a function app to launch some python code. When I try to build the app, I get an error stating that my subscription isn't allowed to create…
![](https://techprofile.blob.core.windows.net/images/3b270b575c094eeca63e9bc66c861c5a.png)
How to connect Function app and Event Grid?
Hey, I have two questions that are related to Event Grid and I'd be happy for any help. My idea is to have a function app that sends an event to another function app. For that I have created a topic in my Event Grid and set receiver function as a…
FunctionApps are failing with "0 Unknown HTTP error"
Hi, I was trying to build few functions apps and they work as intended for a day or just few hours, then it suddenly stops with the following message: HTTP response code: 0 Unknown HTTP error HTTP response content: Error:…
Enhancing Event Processing Efficiency
Hello, I have documents that I read and use to create events of different types. The system_id serves as a unique identifier for each event and will be passed as a parameter for the vertex. I send these events to Event Grid with an endpoint at Azure…
![](https://techprofile.blob.core.windows.net/images/VfQFAmOikEWfBHko2XlWTA.png?8D7F33)
ADF web activity payload is to big
We are using ADF now, there is a step need send Post to Remote Sever, but this payload is too big, far more than 896KB, it's already 15MB, so we try to store the request payload to blob and then use the Copy Activity, but we facing another issue is Copy…
Azure Event Grid Web Hook - Unauthorized Error
Hi everyone, We're upgrading our function apps to V4 and our Event Grid Web Hook trigger is now failing with a 401 Unauthorized Error. It's supposed to detect whenever a CSV file gets uploaded to our Blob Storage and trigger a function which creates…
Reading appsettings.json in a Docker container
How can I read appsettings.json in a Docker container? I created a Docker image using mcr.microsoft.com/azure-functions/dotnet:4, but when I run the image from a container, it cannot find the appsettings.json file. I added the file to the container in…
How do we add the storage table data in cosmos db trigger in isolated worker process model in Azure function .net 8
Hi Team, Below is the current azure function cosmos db trigger configuration, [FunctionName("log-available-agents")] public async Task Run([CosmosDBTrigger( databaseName: "%CosmosDatabaseId%", collectionName:…
Spring boot azure function : Http Trigger : This function was programmatically called via the host APIs return 500 error
I am trying to create a spring boot azure function using the following guide https://github.com/eggboy/springcloud-azurefunction/tree/springboot3 https://medium.com/microsoftazure/create-azure-function-with-spring-cloud-function-ab150216d2bd I was able…
Function App host storage account shared key access disabled issues.
Hi, Please help on the below issue. Recently I set "disabled" on my host storage account Property "Allow storage account key access" as part S360 issue fix but Function app which is running in Standard plan stopped working. Storage…