Microsoft Q&A

Azure Functions

3,443 questions

An Azure service that provides an event-driven serverless compute platform.

Browse all Azure tags

3,443 questions with Azure Functions tags

Sort by: Updated
0 answers

Azure function not picking up messages from azure storage queue for 4 hours

Hello, I had an issue with one of my functions in Azure last Friday, which is set to fire and process any new item that's added to my Azure storage queue. For some reason, the function wasn't triggered for around 4 hours even though several messages…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,443 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,126 questions
Azure Queue Storage
Azure Queue Storage
An Azure service that provides messaging queues in the cloud.
81 questions
asked 2023-09-26T22:11:15.93+00:00
Gesi Kadiu 0 Reputation points
2 answers

Azure Functions Python runtime V2 Model to use SQLAlchemy for ORM and use gcc, libpq, and other dependencies to interact with a PostgreSQL database

Problem Statement: In our application, we are utilizing Azure Functions to interact with a PostgreSQL database. We intend to use SQLAlchemy for ORM in Azure Functions. However, we are facing issues including necessary dependencies such as gcc, libpq, and…

Azure SQL Database
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,443 questions
Azure Database for PostgreSQL
asked 2023-08-11T23:19:04.5966667+00:00
Yogesh Jain 0 Reputation points
commented 2023-09-26T21:14:16.9866667+00:00
Yogesh Jain 0 Reputation points
0 answers

Need Expert Advice on Azure Function App V2 and CI/CD Pipeline Best Practices

We're in the midst of developing a B2B SaaS application focusing on procurement services and analytics. We've designed our architecture to be robust, leveraging Azure AD B2C custom policies for user authentication, Azure API Management (APIM) for JWT…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,422 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,443 questions
Azure Advisor
Azure Advisor
An Azure personalized recommendation engine that helps users follow best practices to optimize Azure deployments.
35 questions
Azure ISV (Independent Software Vendors) and Startups
Azure ISV (Independent Software Vendors) and Startups
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.ISV (Independent Software Vendors) and Startups: A Microsoft program that helps customers adopt Microsoft Cloud solutions and drive user adoption.
95 questions
asked 2023-09-26T20:48:48.9566667+00:00
Yogesh Jain 0 Reputation points
edited the question 2023-09-26T20:51:21.1666667+00:00
Yogesh Jain 0 Reputation points
1 answer

Deploy code to network secured function app

I read this article which shows how to deploy to network secured web apps https://azure.github.io/AppService/2021/03/01/deploying-to-network-secured-sites-2.html I have a similar situation but with a function app. I figured it would be similar. Instead…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,443 questions
asked 2022-06-07T19:03:43.057+00:00
Eduardo Munoz 1 Reputation point
commented 2023-09-26T20:38:19.7666667+00:00
Travis Teague 0 Reputation points
1 answer

maven azure function to package/wrap additional resources (outside jar)

Hi I am working on a Maven azure function. Generally this is working fine, but I am struggling with resources that I would need to be deployed outside the jar file. Currently, everything from /src/main/resources will end up within the jar package.…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,443 questions
asked 2023-09-22T08:45:00.85+00:00
Andreas Nef 0 Reputation points
answered 2023-09-26T20:02:49.39+00:00
Ryan Hill 20,806 Reputation points Microsoft Employee
1 answer

How to use Drivers in Azure Functions?

Usually, if we want to connect to a Database (SAP, SQL, Oracle etc.) using python for example, we need to install drivers in our machines and make the connection. For example using pandas.read_sql But a machine or a VM is a full environment with…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,443 questions
asked 2023-09-26T13:59:59.2666667+00:00
Daniel Hudson 0 Reputation points
answered 2023-09-26T19:03:59.38+00:00
Pramod Valavala 17,156 Reputation points Microsoft Employee
0 answers

Object reference not set to an instance of an object. at Microsoft.Azure.WebJobs.Script.Grpc.AspNetCoreGrpcServer.ShutdownAsync

This is not our code, it is the MSFT Function Host: Application: w3wp.exe CoreCLR Version: 6.0.2023.32017 .NET Version: 6.0.20 Description: The process was terminated due to an unhandled exception. Exception Info: System.AggregateException: One or more…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,443 questions
asked 2023-09-26T18:28:34.3166667+00:00
Stuart Williams 0 Reputation points
2 answers

What should I do about the Azure Function Http trigger not connecting to Cosmos DB?

I am learning the module called "Chain Azure Functions together using input and output bindings". The previous modules are learning without any problem and can successfully access the http trigger via url. But in this module, I have…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,443 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,196 questions
asked 2023-08-23T07:28:10.7166667+00:00
Wang Kangli 30 Reputation points
edited a comment 2023-09-26T17:59:43.9933333+00:00
Nathan Wilson (ITSCo - US) 0 Reputation points
1 answer

Access user info in a python Azure function

Hi, Failry new to Azure. I have created a React web app service and protected it with authentication following https://learn.microsoft.com/en-us/azure/active-directory/develop/multi-service-web-app-authentication-app-service. Using this web app, my users…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,443 questions
asked 2023-09-21T01:42:51.4933333+00:00
jean david Ruvini 20 Reputation points
edited an answer 2023-09-26T16:48:09.19+00:00
jean david Ruvini 20 Reputation points
0 answers

Visual Studio fails to deploy Azure Function App on production slot

Hello, I created a function App on Azure (Linux, Consumption plan) automatically created through Visual Studio tools (latest versions, VS2022 Community). Deployments were going fine at first, then I had to add…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,443 questions
asked 2023-09-19T12:59:03.0966667+00:00
Mathieu D 0 Reputation points
commented 2023-09-26T15:49:21.1166667+00:00
JananiRamesh-MSFT 11,271 Reputation points
0 answers

Azure Function - Internal server error

We have an Azure Function (Runtime V3) running a .NET Core 3.1 application. On several occasions, we receive HTTP Status code 500 Internal Server Error when executing HTTP Functions. I've looked in several logs (AppInsights Exceptions, Log System,…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,443 questions
asked 2023-09-26T14:24:16.22+00:00
Anshul_7275 6 Reputation points
edited the question 2023-09-26T14:25:25.1066667+00:00
Anshul_7275 6 Reputation points
0 answers

Error 404 on Microsoft Learn article "Chain Azure Functions together using input and output bindings"

I have been working through the Microsoft Learn article titled Chain Azure Functions together using input and output bindings I have made it through to Module 7: Exercise - Write data with output bindings I am getting a 404 error when I try to do the…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,443 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
5,625 questions
asked 2023-09-19T20:48:42.9833333+00:00
Brian Senecal 0 Reputation points
commented 2023-09-26T13:40:30.85+00:00
MuthuKumaranMurugaachari-MSFT 16,036 Reputation points
2 answers

Connection Error. Azure Function App connecting to Azure SQL Server. Aggregate Authentication Error

I am running an Azure Timer Trigger function that insert data into an Azure SQL Server. When Run and Debug in Visual Studio Code (local), it works fine. This is mssql config. const config = { server: process.env['SQL_SERVER'], port:…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,443 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
10,961 questions
asked 2023-09-20T17:08:35.6666667+00:00
Gonzalo Gomez 5 Reputation points
commented 2023-09-26T13:39:39.49+00:00
MuthuKumaranMurugaachari-MSFT 16,036 Reputation points
1 answer

Use Azure Function (.Net 6) with JwtBearer middleware

Hello, I couldn't find any official documentation on the following: I want Azure function to use bearer token authentication. Is it possible to use Azure Function (.Net 6) with JwtBearer middleware? So like in an ASP.NET app, set this code into…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,443 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,052 questions
asked 2023-09-19T15:32:07.0833333+00:00
Anita A 25 Reputation points
commented 2023-09-26T13:34:52.38+00:00
MuthuKumaranMurugaachari-MSFT 16,036 Reputation points
1 answer

Azure Function App hanging or crashed on Code + Test

Hi, My Function App code for http-trigger unable to load after i added something inside the function.json. It is showing blank page, the 'now loading icon' disappeared. Tried to download app content also cannot, keep 'downloading'. I'm able to view the…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,443 questions
asked 2023-09-26T09:28:38.03+00:00
Handy 0 Reputation points
edited an answer 2023-09-26T13:31:12.85+00:00
JananiRamesh-MSFT 11,271 Reputation points
0 answers

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…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,443 questions
asked 2023-09-26T13:25:51.8466667+00:00
akhilesh singh 0 Reputation points
1 answer One of the answers was accepted by the question author.

property "type" is not allowed in host.json

Hallo everybody, I want to create a blob trigger azure function and I have an error which I hope you can help me. After creating a blob trigger function I got this host.json file: { "version": "2.0", "logging": { …

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,443 questions
asked 2023-09-21T14:49:32.6333333+00:00
Gerald Rupp 105 Reputation points
accepted 2023-09-26T09:52:20.1433333+00:00
Gerald Rupp 105 Reputation points
0 answers

Issues while debugging a published Azure function

I am trying to debug a published Azure function app. I've followed all the steps as per the below link but was unable to succeed. It looks remote debugger is not being started. Any suggestions will be helpful. Thanks! Azure function debugging The error…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,443 questions
asked 2023-09-26T09:10:47.38+00:00
Ritesh Jain 1 Reputation point
2 answers One of the answers was accepted by the question author.

How to run make REST calls to Azure Resource Manager (ARM) inside Github Workflow?

I have a working powershell script inspired by https://techcommunity.microsoft.com/t5/azure-paas-blog/import-azure-function-app-to-azure-api-management/ba-p/2594810 and I would like to run it in a Github workflow. I assume I would use…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,443 questions
asked 2023-08-30T17:29:29.1733333+00:00
Siegfried Heintze 1,631 Reputation points
commented 2023-09-26T07:29:54.9366667+00:00
Konstantinos Passadis 11,936 Reputation points
1 answer

Azure Function Queue Trigger V2 not reading the message

I am trying to read a message from a queue storage. I am following exactly the tutorial code and running locally using azurite (tested also with a storage). The the strange thing is that when a new message arrive at the queue the function gets triggered…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,443 questions
Azure Queue Storage
Azure Queue Storage
An Azure service that provides messaging queues in the cloud.
81 questions
asked 2023-09-25T20:56:30.9166667+00:00
Pedro Junqueira 0 Reputation points
answered 2023-09-26T07:28:44.19+00:00
navba-MSFT 4,685 Reputation points Microsoft Employee