This is the Trace Id: b6e23451b4f6385dffc7022a739790b1
Skip to main content
Azure

Azure Functions

Execute event-driven serverless code with an end-to-end development experience.
Design serverless apps and agents in the language of your choice while focusing on business logic.
Overview

Build and deploy serverless apps at scale

  • Develop AI agents integrated with Azure Foundry's models and management. Extend your agent capabilities with remote Model Context Protocol (MCP) servers and tools. Build agents that require workflows across distributed computing with built in reliability, scheduling, checkpointing, and observability with Durable Functions.
  • Use the language of your choice to connect functions to Azure services with triggers and bindings.
  • Get built-in serverless elasticity with enterprise-grade networking to rapidly scale your app from zero to wherever your needs take you—and back.
  • Find the hosting plan for your scenario, with a pay-per-use model.
  • Simplify complex orchestration needs with built-in fault tolerance using Durable Functions, including long-running functions. Build distributed applications and AI agents with multi-step patterns that stay resilient by preserving state—no matter what failures occur. Built-in automatic checkpointing allows you to easily resume from your last point of success.

Read why Microsoft was named a Leader in the Forrester Wave™: Serverless Development Platforms, Q2 2025.

Use cases

Apply serverless functions to a variety of use cases

Intelligent apps

Develop retrieval augmented generation (RAG) apps, chatbots, and text completion with generative AI, as well as other models or frameworks.

Real-time processing

Process your files, data, and event streams in near real-time.  

Workflow orchestration

Simplify complex orchestration needs with built-in fault tolerance using Durable Functions, including long-running functions.
Security

Embedded security and compliance

34,000
Full-time equivalent engineers dedicated to security initiatives at Microsoft.
15,000 
Partners with specialized security expertise.
 
>100
Compliance certifications, including over 50 specific to global regions and countries.

Functions Linux Consumption Plan retires September 2028.

The Azure Functions Linux Consumption hosting plan will be retired in September 2028. Migrate to Flex Consumption plan today.
A woman holding a tablet.
Pricing

Flexible pricing options to fit your needs

Learning journey

Build serverless apps and agents

Develop adaptive, responsive, and personalized experiences by building and modernizing apps with Azure.
CUSTOMER STORIES

See how customers are innovating with Azure Functions

Frequently asked questions

  • Azure Functions is a serverless solution that allows you to write less code, maintain less infrastructure, and save on costs. Instead of worrying about deploying and maintaining servers, the cloud infrastructure provides all the up-to-date resources needed to keep your applications running.

    You focus on the code that matters most to you, in the most productive language for you, and Azure Functions handles the rest.
  • Azure Functions allows you to implement your system's logic as event-driven, readily available blocks of code. These code blocks are called "functions." You write your function code in your preferred language using your favorite development tools and then deploy your code to the Azure cloud. Functions provides native support for developing in C#, Java, JavaScript, PowerShell, Python, plus the ability to use more languages, such as Rust and Go.
  • Functions provides varying levels of support for languages including C#, JavaScript, F#, Java, and Python.

    See Supported languages in Azure Functions for details.
  • Functions apps on the Flex Consumption plan or the App Service plan will run or be available 99.95% of the time.

    See the complete SLA for Functions.
  • Functions can run on the Flex Consumption plan, Azure App Service plan, Premium plan, or Azure Container Apps plan.

    See Azure Functions scale and hosting plans for details.
  • Avoid hard-coding access to other services like Azure Blob storage and Azure Cosmos DB using triggers and bindings. Triggers are what cause a function to run, and bindings are declarations that connect the function to another resource.

    See triggers and bindings Functions supports for details. 
  • Create and test functions on your local machine using your favorite code editor and development tools. Connect local functions to live Azure services and debug them on your local computer using the full Functions runtime. The requirements for developing functions on your local computer depend on the programming languages and tools you prefer.

    See local development environments for more information.
  • Running Functions on Container Apps is a good fit for multitype microservices architecture in a centralized environment. This gives you consistent network, observability, and billing configurations.
 A woman in a yellow suit using a laptop.
NEXT STEPS

Choose the Azure account that’s right for you

Pay as you go or try Azure free for up to 30 days.
 A woman in a green shirt with curly hair holding a device.
Azure Solutions

Azure cloud solutions

Solve your business problems with proven combinations of Azure cloud services, as well as sample architectures and documentation.
 A man wearing a white shirt and red tie using a laptop while sitting in a chair.
Business Solutions Hub

Find the right Microsoft Cloud solution

Browse the Microsoft Business Solutions Hub to find the products and solutions that can help your organization reach its goals.