Questions tagged [azure-function-app]

A function app is the container that hosts the execution of individual functions in the serverless framework Azure Functions.

A function app is the container that hosts the execution of individual functions in the framework.

Create a function app from the Azure portal

574 questions
0
votes
1 answer

How to get cognitive services account key using powershell function app?

I have created cognitive services account . I want to get cognitive services account key and store it in a variable using powershell script. I have used below script : $resourceGroup = "Demo" $AccountName = "DemoCs" $Key =…
0
votes
1 answer

which version of 'adal' module is supported in python 2.7.15?

I am trying to deploy a python code to Azure Function (Runtime version:- 1.0.13021.0) where python version is 2.7.15. I am using a python module adal . i have mentioned adal in my requirement.txt file to get installed in Azure. But while running…
0
votes
2 answers

Does Azure function 2.0 support System.Drawing?

We tried to create thumbnail from PDF in somewhere around Jan 2020 and deployed Azure Functions (v2 using .NET Core) but we have faced error that "System.Drawing is not supported on this platform". But from last week the same code in Azure Functions…
0
votes
0 answers

Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. while using Function app and Azure SQL Server using MSI

I have a function app which is time triggered only once per day. It connects to Azure SQL Server using Managed Service Identity (MSI). I am creating SqlConnection object in the static constructor. I am setting AccessToken to the SqlConnection…
0
votes
2 answers

Azure Function v3 unable to bind blob to CloudBlockBlob

Azure function v3 runtime on VS19 (.Net SDK) with azure-functions-core-tools@3 6.14.4. I'm using a Time trigger and executing read/write on a blob. But the binding is failing. I've followed all instructions on the docs and tried other solutions from…
0
votes
1 answer

Remote Certificate error in Azure Function App logs

I am having the function app in azure which reads the excel file of a particular column named "LoanNumber" when uploaded to Azure blob Storage and call node API with the following body, whenever an excel file has a column named "LoanNumber" { …
akhil
  • 1,649
  • 3
  • 19
  • 31
0
votes
1 answer

maxDequeueCount config setting not working for Azure Function

I have an an Azure Function which I want to fail and sent to the poison queue if it errors once or twice. I've set the maxDequeueCount property in my host.json file to 1, but it still retries 5 times. Based on all the doco I've read this seems to be…
0
votes
1 answer

My Azure Function should throw an exception in case of empty string

The code of the Run method of my Azure Function is this: public static void Run([HttpTrigger("get")] HttpRequest req, ILogger log) { string parameter = req.Query["parameter"]; if (string.IsNullOrEmpty(parameter)) { throw new…
Pine Code
  • 2,466
  • 3
  • 18
  • 43
0
votes
1 answer

@BlobInput is coming back null in Java Azure Function

I'm trying to use the @BlobInput annotation in a Java Azure Function and the argument that i'm annotating does not get populated with the content of the blob i'm referencing. I believe it might have something to do with the "name" field of the…
0
votes
1 answer

old azure function re-enabled after deployment

We have an azure function app, and it had only one function CheckPerformance before. Now we created several new functions and in the hosts.json, I put { "version": "2.0", "functions": [ "V2PipelineTrigger", "CheckLatestPerformanceV2" …
daxu
  • 3,514
  • 5
  • 38
  • 76
0
votes
1 answer

Function app giving exception HTTP Error 500.30 - ANCM In-Process Start Failure

I tried and tested my code on local everything works perfect. But when I host it on Azure Function app getting below error.

HTTP Error 500.30 - ANCM In-Process Start Failure

Common causes of this issue:

Neo
  • 15,491
  • 59
  • 215
  • 405
0
votes
1 answer

How to pass xml data as content to HttpClient in c#

my c# code to call webservice - var content = new StringContent(req.Body.ToString(), Encoding.UTF8, "application/xml"); ; HttpClient httpClient = new HttpClient(); HttpRequestMessage request = new…
Neo
  • 15,491
  • 59
  • 215
  • 405
0
votes
1 answer

Azure SignalR Javascript Negotiate "Unable to resolve ...ConnectionStringSetting"

I started tinkering with Azure SignalR and ran into a problem with the negiotate trigger. I followed this official Microsoft guide: Heres my Code: local.settings.json { "IsEncrypted": false, "Values": { "AzureSignalRConnectionString":…
Stefan Watt
  • 57
  • 2
  • 7
0
votes
2 answers

How to access azure digital twin API using Service Principal?

My use case is whenever i get a trigger from Cosmos DB in Azure functions, need to interact with Azure digital twin APIs without any human interaction. From the below link, I understood we can use service principal to achieve it. Is it possible to…
0
votes
1 answer

Best way to expose a Function App in a UI (swagger-like) for testing?

I am about to delivery a serveless API in Function App, with 5 functions, and my client needs some sort of interactive documentation with the testing environment. They accept Swagger and graphql endpoints, but I insisted on pursuing the servelss…
phramos07
  • 136
  • 1
  • 8