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
24
votes
2 answers

'func' is not recognized as an internal or external command, operable program or batch file

Keep getting the error 'func' is not recognized as an internal or external command, operable program or batch file. when entering func into the cmd command line, when following this tutorial I have installed python (3.7.3) and all the correct…
grand2019
  • 562
  • 2
  • 6
  • 16
18
votes
6 answers

New deployed azure function returns 404 Not Found error

Hey I have deployed new azure function using Azure dev ops CI/CD. The function app has been deployed successfully and when I go to the main URL, it says your function app is running. I tried to test the end points("/save") using azure portal and…
kiflay
  • 699
  • 2
  • 7
  • 14
14
votes
5 answers

How to use IOptions pattern in Azure Function V3 using .NET Core

My requirement is to read values from local.settings.json using IOptions pattern My localsettings.json: { "IsEncrypted": false, "Values": { "MyOptions:MyCustomSetting": "Foobar", "MyOptions:DatabaseName": "Confirmed", …
12
votes
2 answers

Azure Function App Could not load System.IO.Pipelines connecting to Redis

Created a new Function App, HTTP trigger in VS2019 (16.8.3) to connect to Azure Cache for Redis. Added StackExchange.Redis 2.2.4 from nuget. local.settings.json contains the key/value of RedisConnectionFromKeyVault and the Primary Connection String…
briask
  • 413
  • 4
  • 15
12
votes
3 answers

System.Private.Uri: Value cannot be null error with Azure Function

I created a C# Azure Function in Visual Studio Code. When I run the function in Visual Studio Code, I get the following error: [8/21/2020 1:27:34 AM] A host error has occurred during startup operation…
wonderful world
  • 10,969
  • 20
  • 97
  • 194
9
votes
3 answers

EF Core Migrations in Azure Function startup

According to https://learn.microsoft.com/en-us/azure/azure-functions/functions-dotnet-dependency-injection the service provider should not be used until AFTER the startup has completed running. Indeed, if I try to get a registered service it will…
9
votes
4 answers

Azure Functions App is Read Only after publishing

I have several Azure Functions Apps (c#, javascript and python) and after some time they were all randomly set to Read Only mode. The strange thing is that only one of these 3 function apps were updated before this happened. I know that this is not…
johnykes
  • 1,663
  • 2
  • 9
  • 25
8
votes
3 answers

API documentation(Swagger UI ) for Python Azure function

We have built APIs based on Azure function and all of the APIs are python based. I know that APIM provides a nice way of importing Azure function and creating and managing APIs. However, i am looking for a light & quick solution for developers so…
SunilS
  • 2,030
  • 5
  • 34
  • 62
8
votes
2 answers

Is automating App Registration on Azure possible through ARM Template on the User's tenant?

I am trying to deploy a solution as a managed application through ARM Template. For the deployment to work, I need the Client Id and Client Secret of a registered Application along with the Tenant Id. In my previous scope, I was assuming that the…
8
votes
1 answer

Azure function app deployment error "Encountered an error (ServiceUnavailable) from host runtime. (CODE: 400)"

My python file is in Azure devops repository. I am trying to deploy it to the azure function app and execute the py file. I already building up an service connection "testing" to connect the resource group. My code is following. steps: task:…
marcus
  • 81
  • 1
  • 1
  • 2
7
votes
2 answers

Getting error "Could not load file or assembly 'System.Windows.Forms" at 'Import-Module "AzureAD" line in PS script

I am trying to deploy a simple powershell function app that contains the following commands: Import-Module D:\home\site\wwwroot\HttpTrigger1\AzureAD\AzureAD.psd1 Connect-AzureAD -TenantId $tenantId -Credential $Credential AzureAD module files have…
7
votes
1 answer

Read data from Azure blob storage in Azure Function in python

Please how do I read in data from my Azure Storage account when I launch my Function app. I need to read the saved weights for my machine learning model at runtime. I want to read the model directly from the storage account because the model is…
7
votes
3 answers

Install Python modules in Azure Functions

I am learning how to use Azure functions and using my web scraping script in it. It uses BeautifulSoup (bs4) and pymysql modules. It works fine when I tried it locally in the virtual environment as per this MS…
robliv
  • 1,351
  • 3
  • 15
  • 30
7
votes
2 answers

Understanding of Azure Functions Premium Plan Billing

I've been reading various documentation around this and was not able to clearly confirm my understanding, we are evaluating Azure Functions Premium Plan and want to have a clearer understanding on the costs. My understanding is as follows: In a…
6
votes
1 answer

Difference between Ilog and TelemetryClient for logging details in Application Insights

I am using Azure function app v3 and I want to log details into Application Insights. There is by default ILogger in function app. what is the difference between Ilogger and TelemetryClient to log details into App Insights. which is the best way to…
Krishna
  • 135
  • 1
  • 9
1
2 3
38 39