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
2
votes
1 answer

Spring cloud function azure json output with datetimes

I output a POJO from an azure function written with spring cloud function which contains a datetime type. I have tried it with instant where it was treated as a POJO: "timestamp": { "seconds": 1584229103, "nanos" 0 } I tried it as an…
2
votes
2 answers

Azure Function App in .Net Framework 4.6.1 suddenly stops working

I have an Azure Function App running .Net Framework (target framework 4.6.1) but is now failing. Per documentation, the Function was set up as .Net Core and then downgraded to v1 to support Framework. The Function worked after I initially published…
rgahan
  • 667
  • 8
  • 17
2
votes
1 answer

How to call one function app from another locally?

In Visual Studio, I have created 2 Azure function apps f1 and f2. I have already change the port for both function apps. I want to call f2 from f1 but I'm getting a NotFound error. f1 is using http://localhost:999/demo1 f2 is using…
Neo
  • 15,491
  • 59
  • 215
  • 405
2
votes
1 answer

.NET Azure Functions - Dependency Injection Issue

On Startup.cs in my Azure Function v2 project: using Microsoft.Azure.Functions.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection; using MyCompany.MyLib.Contracts; //namespace from external library [assembly:…
191180rk
  • 735
  • 2
  • 12
  • 37
2
votes
1 answer

Azure Function - Host Json file is missing

I am using Terraform to deploy Azure Functions infrastructure through Azure DevOps release pipeline. Everything works fine but starting from last Friday, I got an error said Function runtime is unable to start. After some investigation, I found out…
2
votes
1 answer

Autoscaling an Azure Function in a VNet

I have an azure function in an S1 app service plan. The function and its storage account are in a vnet, meaning the table storage is not publicly accessible. I can manually scale the function via the app service plan scale out section and the…
matt
  • 247
  • 3
  • 13
2
votes
2 answers

How to call function App in Azure portal from .NET Core API

I have to set up a function app in Azure portal and need to access via my .NET Core application (API). Mainly I need a function in which have to pass 3 parameters to function app (from C# code) and accept return value which should be in datatable…
Rijitha
  • 29
  • 4
2
votes
1 answer

Sending mail using SendGrid in a Python script using Azure Function App

I have a small Python script that daily checks for some failed processes. This runs daily with a time trigger. I want the script to email me a summary of all the failed processes. For this I already had a SendGrid account, but I created a new one…
rebellion
  • 6,628
  • 11
  • 48
  • 79
2
votes
2 answers

Run Azure CLI Commands from a Azure Function APP

I need suggestions on how to use azure function app to create Web app in Azure under a resource group. Is there any way from azure function app can i invoke an azure CLI to create a Resource. Thanks in advance.
Aravind Goud
  • 120
  • 2
  • 17
2
votes
1 answer

Getting NullPointerException: Stack: java.lang.reflect.InvocationTargetException while executing a Azure function app in java

I have simple hello world Azure function app. I am getting the below exception while executing the function app: Executed 'Functions.functiontest' (Failed, Id=1040b836-9136-4f90-b3fb-c130f8e89172) [12/12/2019 4:20:35 PM] System.Private.CoreLib:…
user12525724
2
votes
2 answers

How can I import Python modules running as an Azure Function on a Linux Consumption Plan?

My Python code running locally starts by importing the following libraries: import logging import azure.functions as func from sendgrid import SendGridAPIClient from datetime import datetime import wikipedia import urllib.request, json These are…
Charlie Brown
  • 419
  • 7
  • 20
2
votes
1 answer

Access azure key vault from Azure Functions dynamically

I am writing a azure functions application in python. It is a http trigger application. The input for the application is userID. { "user":"TEST_USER_1" } The functions should use the username specified in 'user' parameter and look up the password…
SunilS
  • 2,030
  • 5
  • 34
  • 62
2
votes
4 answers

Azure API management and App Function backend: Backend with id 'foo' could not be found

In my company we have identical environments for our application: IT, ST, AT and PRD. We use Terraform to deploy our Azure resources, and are currently attempting to set up an API management solution which passes calls to a Function App backend. The…
2
votes
2 answers

How to add custom startup class in http trigger azure function app

Azure http trigger function apps doesn't comes with a startup. I want to implement azure AD authentication which adds UseAuthentication method of Microsoft.AspNetCore.Builder to validate the token an authenticate the user. Currently Http trigger is…
Sharon
  • 93
  • 1
  • 13
2
votes
2 answers

How to use User-Managed Identity from Azure Cloud Function (python) in making a request to Azure KeyVault?

My current Setup: My DevOps guy has created a User Managed Identity and have added it to the Access policy of Azure key Vault. I have Created a function app testing-01 and assigned the User-ManagedIdentity to it under platform settings. I am using…