Api MGT return http 500 instead of 401,403
Hello So I tried to figured out how to retrieve error code from my azure function instead of http 500 from the api mgt. On the function app side when one of the header is missing or invalid value 401,403 is returned with a message. But when I called the…
How to mock TaskOrchestrationContext and FunctionContext to get the logger for xUnit Tests in .NET 8 isolated?
If I try to test the activity, fails because it can't mock context and get the mocked logger. Also fails when try to test the http_start, can't create a mocked HttpResponseData. It's a simple durable function with one activity, .net 8 isolated
Possible reasons for double entries in App Insights logs
Hello, I've noticed that all my app insights for app service and Azure function have started showing two entries for every request. These logs have the same operation ID or app insight ID. Can anyone please suggest the possible reasons for these sudden…
How will app and resource access work after domain migration with standalone Azure tenant?
My customer is migrating to a different domain due to a merger, while retaining their Azure tenant as a standalone tenant with cloud-only identities. Will all applications deployed to Azure, such as Azure App Services, Azure Functions, assets, and…
func command not found while using Azure Functions locally.
I am trying to run Azure Fuctions locally on Windows PC using VS Code. I have already installed Azure Functions Core Tools by following Microsoft Documentation but still facing the same issue. Please, help me to solve this issue.
The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch
I am getting this error in a function app: The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch These are the certificate details: subjectName: permissionsgatewayapi.trafficmanager.net hostNames:…
How to access Kudu Console for an WebApp hosted in VNET
We have an App Service with VNET Integration. Therefore the Inbound IP Address is having a Private IP Address. For some troubleshooting purpose, I would like to access the Kudu Console of the App Service. In general, we access the Kudu console for…
Issue with Azure Orchestration Function
I am building an Azure Orchestration Function App that has four different functions. The first function is a start task function that removes containers inside a Cosmos DB database. The second function, which I am having a problem with, scans a Cosmos DB…
azure function java class NoClassDefFoundError: Could not initialize class reactor.netty.http.client.HttpClientSecure
Have a project that sends azure sms using communication package. Function is http triggered and works locally and sends sms as expected. On Azure, function log shows below . Below is the error and pom.xml. Any help is appreciated. Result: Failure…
Transient error and retry policy for Service Bus triggered Azure Function
Hi All, I have a requirement as below: There is a Service Bus Topic which is the source Azure Function is SB triggered At step 1, message is going to Function Step 2 if for calling a 3rd party API for some data enrichment Finally data is POSTed to…
Azure Function is down after github deployment until manual stop & restart
Hi, I have an Azure Function App which gets deployed via a github action. More often than not after a successful deployment (no errors on github) the endpoints start failing with Http 404. The endpoints definitely exist and after a manual restart the…
Azure function fails with FunctionInvocationException, Actually I have Update .net 6 to .net 8 and updated all packages
For detailed output, run func with --verbose flag. [2024-03-06T13:54:39.549Z] Host lock lease acquired by instance ID '0000000000000000000000006F297016'. [2024-03-06T13:55:16.662Z] Function 'HealthCheck', Invocation id…
HTTP triggered Azure Function fails when request size is more than 100 MB. How to solve?
Hi, I have one urgent requirement. There is one API which POSTs data to Azure Function. Azure Function does some transformation on it and sends the data to database. Now the volume of POST request is more than 100 MB so the Function is failing. How can I…
About correct set up of OpenCensus
Hi every one, I have a function blob trigger based with event grid as source. I'm trying to send costom data (customDimension) to Log Analytics via App Insights This is an example code setup from services.blob_service import BlobService from…
About Azure Functions maxDequeueCount in host.json
Hi, I'm using Azure Functions (Python) and configuring to executed the function just once so that it terminates and send the message to poison queue. I'm setting maxDequeueCount to one, but it won't work. This is my host.json file { …
About Azure Functions: quotas & limits
Hi, According to the docs:: https://learn.microsoft.com/en-us/azure/azure-functions/functions-scale#service-limits Azure Functions instance have up to 1,5GB RAM. I've been using a function deployed on Azure that read a 100MB pandas dataframe and…
Azure Function doesn't complete due to "Stopping JobHost"
Is your question related to a specific version? If so, please specify: function runtime v4.x What language does your question apply to? (e.g. C#, JavaScript, Java, All) we currently use C# .NET in-process model for our function apps (function runtime…
Timer Function returns 404 on consumption plan. cronjob but http fn invokes ok
Timer function returns 404 from both postman and Az Portal test/run. Http function executes from Postman and from Az Portal test/run, OK. App is deployed from GitHub Action. I have used Restart and Refresh but cron job does not fire. Publishing model:…
Do activity function calls in the Suborchrestor function count towards the MaxOrchestrationActions in the main orchestrator function?
I have a durable function that calls two suborchestrator functions and those in turn, call 2 activity functions each Durable Orchestrator function() SubOrchestrator A() Activity function call A1() Activity function call A2() SubOrchestrator…
Import Public certificate to Azure Function APP via ARM template
Hi, I tried the below arm template to add public certificate , but it fails with ##[error]undefined: Parameter publicCertificateEnv is null or empty. What's wrong with this code ? Is there another way to add the public certificate via arm or cli to…