Web & Containers

App Service

Microsoft.Web

Resource types
66 of 67 supported
Data plane
3 types emulated
API versions
13 newest 2026-08-01
Ships as
Plugin 2026.11
Plan
Standard and above

Data as of 2026-11-20

Resource types

The Resource Types supported by Locally for the Microsoft.Web plugin are shown below. You can click into a type to see more information.

Note: This is generated from the latest version of the plugin (2026.11) as of 2026-11-20, and may differ in older versions. We aim to keep this information accurate and up to date; if you find something we're missing, then please let us know.

API versions

The latest API version that Locally supports for Microsoft.Web is 2026-08-01. All 13 versions it supports are listed below.

Stable12

2026-08-01 2026-07-15 2026-03-15 2025-05-01 2025-03-01 2024-11-01 2024-04-01 2023-12-01 2023-01-01 2021-02-01 2020-12-01 2016-06-01

Preview1

2026-03-01-preview

Features

  • Web Apps on Linux, built with Oryx and served from their own container: Node, .NET, Python, PHP, Java and Ruby.
  • Custom containers with linuxFxVersion set to DOCKER|<image>, and sidecars with SITECONTAINERS.
  • Function Apps running in the Azure Functions language workers: Node, Python, .NET isolated, Java and PowerShell, plus custom handlers.
  • Triggers and bindings: HTTP, timer, Storage queue and blob, Service Bus, Event Hubs, Cosmos DB change feed and Event Grid triggers, plus Table and Cosmos DB bindings.
  • Durable Functions: orchestrations, activities, entities, timers, external events, versioning and extended sessions.
  • Kudu deployments: zip deploy, az webapp deploy, git push, func azure functionapp publish and WEBSITE_RUN_FROM_PACKAGE.
  • Deployment slots with swap and swap with preview, including slot settings.
  • App settings and connection strings, with Key Vault and App Configuration references resolved using the app's managed identity.
  • Managed identity, system-assigned and user-assigned.
  • App Service Authentication with Microsoft Entra sign-in and bearer tokens.
  • CORS, HTTPS Only, minimum TLS version and HTTP/2 settings are enforced.
  • WebJobs, triggered and continuous.
  • Static Web Apps, with a managed Functions API or a linked backend.
  • Event Grid system events for restarts, stops, app settings changes, slot swaps and plan updates.
  • Logs: az webapp log tail, and diagnostic settings that send to Log Analytics.
  • Chaos Engineering can fail, throttle, slow down or cut requests to a Web App or Function App, restart, freeze or kill it, force a cold start, and delay, drop or duplicate trigger deliveries. Team

Limitations

Certificates

  • App Service certificates aren't used to serve an app at this time. Every app uses Locally's own certificate.

Config

  • alwaysOn has no effect, because Locally never idles an app.
  • authsettings and authsettingsV2 aren't translated into each other at this time. Each reads back as it was written, and whichever was written last is enforced.
  • Storage mounts (azureStorageAccounts) only reach custom containers, not code apps, at this time. An AzureBlob mount is backed by an emulated file share rather than the blob container.

Functions

  • A function using a SignalR, SQL, Redis, Kafka or RabbitMQ binding is marked as in error and doesn't run at this time.

Host Name Bindings

  • Custom domains aren't served at this time. An app answers on its Locally host name only.

Server Farms

  • Scaling out a plan has no effect at this time. Each app runs as a single instance.

Site Virtual Network Connections

  • VNet integration isn't supported at this time, so a connection doesn't change how the app reaches the network.

Sites

  • A WEBSITE_RUN_FROM_PACKAGE app's files stay writable at this time, where Azure mounts the package read-only.
  • App Service Authentication only signs in with Microsoft Entra at this time. Google, GitHub, Facebook, Apple and Twitter show a form for entering claims instead.
  • Application logs, audit logs and IP security audit logs aren't sent through diagnostic settings at this time.
  • Each app runs as a single instance at this time, with no scale-out.
  • Function App remote builds use the language runtimes on your machine rather than Azure's build image, and nothing is built for .NET or Java packages at this time.
  • Function Apps don't run WebJobs at this time.
  • Functions run as processes on your machine using the language runtimes you have installed, rather than in a sandbox.
  • Git push only deploys the main and master branches at this time.
  • Health check doesn't ping Function Apps at this time.
  • In-process .NET Function Apps (FUNCTIONS_WORKER_RUNTIME=dotnet) aren't supported. Use the isolated worker model.
  • Kudu site extensions aren't available at this time.
  • On Apple Silicon, Oryx builds run under emulation and some can crash. Build the package first and deploy it with SCM_DO_BUILD_DURING_DEPLOYMENT=false.
  • The Functions host doesn't record invocations in Application Insights at this time, so only telemetry your code sends arrives.
  • VNet integration isn't supported at this time.

Slots

  • Auto-swap isn't supported at this time.
  • Microsoft.Web.AppUpdated events are raised for the production site only at this time, not for a slot.
  • Traffic can't be routed between slots at this time, so x-ms-routing-name has no effect.

Static Sites

  • An API Management service can't be linked as a backend at this time.
  • Custom domains are listed but aren't served at this time.
  • The managed API's 45 second request limit isn't enforced at this time.
  • The managed Functions API runs HTTP triggers only at this time, with no managed identity or Durable Functions.

Examples

Runnable examples from the examples library.

Deploying a multiplayer game to App Service Deploy a Go web game to App Service with Terraform, pulling its image from Container Registry and saving results to a Storage Account, with logs sent to Log Analytics. app-serviceazurerm-providercontainer-registryhashicorp-terraformopentofustorage Deploying an App Configuration-backed app to App Service Deploy a C# key-value editor to App Service with Terraform, reading and writing its settings in App Configuration with a managed identity instead of a connection string. app-configurationapp-serviceazurerm-providerhashicorp-terraformopentofu Deploying a .NET Aspire app to App Service Deploy a .NET Aspire guestbook to App Service using the Bicep that Aspire generates, or run it on your machine with aspire run, with its entries in Blob Storage, a moderation queue in Queue Storage and its output cache in Azure Managed Redis. app-serviceaspirebicepcontainer-registrydotnetredisstorage Deploying a Cosmos DB-backed app to App Service Deploy a TypeScript Tasks app to App Service with Terraform, storing its data in Cosmos DB and connecting to it with a managed identity. app-serviceazurerm-providercosmos-dbhashicorp-terraformopentofu Deploying a PostgreSQL-backed app to App Service Build a TypeScript Notes app into Container Registry and deploy it to App Service with Terraform, connecting to PostgreSQL Flexible Server with a managed identity's Entra token instead of a password. app-serviceazurerm-providercontainer-registryhashicorp-terraformopentofupostgresql Deploying a MySQL-backed Python app to App Service Build a Python (FastAPI) Notes app into Container Registry and deploy it to App Service with Terraform, connecting to MySQL Flexible Server with a managed identity's Entra token instead of a password. app-serviceazurerm-providercontainer-registryhashicorp-terraformmysqlopentofu Running WordPress on App Service with MySQL Deploy WordPress to App Service with Terraform, backed by a MySQL Flexible Server. app-serviceazurerm-providerhashicorp-terraformmysqlopentofu Deploying a SAML application to App Service Deploy a SAML-authenticated CRM to App Service with Terraform, pulling its image from Container Registry, and sign in to it as users from the Directory emulator with different app roles. app-serviceazuread-providerazurerm-providercontainer-registryentra-idhashicorp-terraformopentofu Running a MassTransit saga on App Service with Service Bus and Redis Deploy two .NET apps to App Service with Terraform that talk through MassTransit over Service Bus, keeping the order saga's state in Azure Cache for Redis and signing in to both with managed identities. app-serviceazurerm-providercontainer-registrydotnethashicorp-terraformopentofuredisservice-bus Testing regional failover with App Service, Blob Storage and Service Bus Deploy a .NET orders API to App Service with Terraform, with a Storage Account and a Service Bus namespace in two regions, then take the primary region offline with Chaos Engineering to see whether the app fails over. app-serviceazurerm-providerchaos-engineeringdotnethashicorp-terraformopentofuservice-busstorage Triggering a Function App from Event Grid Deploy a Node.js Function App with Terraform that an Event Grid system topic triggers on every resource deployment in the subscription, recording each one in PostgreSQL. azurerm-providerevent-gridfunction-apphashicorp-terraformopentofupostgresql Running Durable Functions on a Durable Task Scheduler Deploy a .NET Durable Functions app with Terraform that uses a Durable Task Scheduler as its backend, connecting with a managed identity, with orchestration versioning and extended sessions turned on. azapi-providerazurerm-providerdotnetdurable-task-schedulerfunction-apphashicorp-terraformopentofustorage Reading Key Vault secrets from App Service Deploy a TypeScript app to App Service with Terraform that reads a Key Vault secret two ways, through a Key Vault reference and directly with the SDK, using a managed identity, then rotate the secret to see when each one picks up the new version. app-serviceazurerm-providercontainer-registryhashicorp-terraformkey-vaultopentofu Signing in to App Service with App Service Authentication Deploy a Python app to App Service with Terraform behind App Service Authentication (EasyAuth), using an app registration in the Directory emulator, and see the identity and tokens App Service passes to the app. app-serviceazuread-providerazurerm-providerentra-idhashicorp-terraformopentofu Blue/green deployments with App Service deployment slots Deploy two releases of a TypeScript app to a web app and its staging slot with Terraform, then swap them to see which app settings move with the release and which stay with the slot. app-serviceazurerm-providercontainer-registryhashicorp-terraformopentofu Passing messages from App Service through Service Bus into Table Storage Deploy a producer and a consumer to App Service with Terraform that pass messages through a Service Bus queue into Table Storage, each with its own managed identity and only the roles it needs. app-serviceazurerm-providercontainer-registryhashicorp-terraformopentofuservice-busstorage Passing messages from a Function App through Service Bus into Table Storage Deploy a Node.js Function App with Terraform that sends messages to a Service Bus queue, picks them up with a Service Bus trigger and stores them in Table Storage, with every binding connecting through a managed identity. azurerm-providerfunction-apphashicorp-terraformopentofuservice-busstorage Streaming telemetry from App Service through Event Hubs Deploy a producer and a consumer to App Service with Terraform that stream device readings through a partitioned Event Hub, with the consumer keeping its checkpoints in Blob Storage so it picks up where it left off after a restart. app-serviceazurerm-providercontainer-registryevent-hubshashicorp-terraformopentofustorage Firing an Azure Monitor alert from an App Service app Deploy a TypeScript app to App Service with Terraform that sends its telemetry to Application Insights, where a log search alert rule counts its failed requests and an Action Group posts the alert to a webhook on a second app. alertsapp-serviceapplication-insightsazurerm-providercontainer-registryhashicorp-terraformopentofu Running a URL shortener on a Function App and App Service with PostgreSQL Deploy a .NET URL shortener with Terraform: a Function App serves the links and an admin site on App Service signs admins in with App Service Authentication, both using PostgreSQL and Application Insights through a managed identity. app-serviceapplication-insightsazuread-providerazurerm-providerdotnetentra-idfunction-apphashicorp-terraformopentofupostgresql Fronting two Function Apps with API Management Deploy two Node.js Function Apps behind one API Management gateway with Terraform, which checks a single subscription key, applies a rate limit and adds each app's function key so callers can't go around it. api-managementazurerm-providerfunction-apphashicorp-terraformopentofu Deploy an App Service Plan to Locally using an ARM Template Provisions a Linux App Service Plan (B1 SKU), into a Resource Group of your choosing. arm-template Deploy a Function App to Locally using an ARM Template Provisions a Storage Account, a Linux App Service Plan and a Linux Function App, into a Resource Group of your choosing. arm-template Deploy a Linux Web App to Locally using an ARM Template Provisions a Linux App Service Plan and a Linux Web App, into a Resource Group of your choosing. arm-template Deploy an App Service Plan to Locally using a Bicep Template Provisions a Linux App Service Plan (B1 SKU), into a Resource Group of your choosing. bicep Deploy a Function App to Locally using a Bicep Template Provisions a Storage Account, a Linux App Service Plan and a Linux Function App, into a Resource Group of your choosing. bicep Deploy a Linux Web App to Locally using a Bicep Template Provisions a Linux App Service Plan and a Linux Web App, into a Resource Group of your choosing. bicep Deploy an App Service Plan to Locally using Terraform and the Azure/azapi provider Provisions a Resource Group containing a Linux App Service Plan (B1 SKU). azapi-providerhashicorp-terraform Deploy a Function App to Locally using Terraform and the Azure/azapi provider Provisions a Resource Group containing a Storage Account, a Linux App Service Plan and a Linux Function App. azapi-providerhashicorp-terraform Deploy a Linux Web App to Locally using Terraform and the Azure/azapi provider Provisions a Resource Group containing a Linux App Service Plan and a Linux Web App. azapi-providerhashicorp-terraform Deploy an App Service Plan to Locally using Terraform and the hashicorp/azurerm provider Provisions a Resource Group containing a Linux App Service Plan (B1 SKU). azurerm-providerhashicorp-terraform Deploy a Function App to Locally using Terraform and the hashicorp/azurerm provider Provisions a Resource Group containing a Storage Account, a Linux App Service Plan and a Linux Function App. azurerm-providerhashicorp-terraform Deploy a Linux Web App to Locally using Terraform and the hashicorp/azurerm provider Provisions a Resource Group containing a Linux App Service Plan and a Linux Web App. azurerm-providerhashicorp-terraform Deploy an App Service Plan to Locally using OpenTofu and the Azure/azapi provider Provisions a Resource Group containing a Linux App Service Plan (B1 SKU). azapi-provideropentofu Deploy a Function App to Locally using OpenTofu and the Azure/azapi provider Provisions a Resource Group containing a Storage Account, a Linux App Service Plan and a Linux Function App. azapi-provideropentofu Deploy a Linux Web App to Locally using OpenTofu and the Azure/azapi provider Provisions a Resource Group containing a Linux App Service Plan and a Linux Web App. azapi-provideropentofu Deploy an App Service Plan to Locally using OpenTofu and the opentofu/azurerm provider Provisions a Resource Group containing a Linux App Service Plan (B1 SKU). azurerm-provideropentofu Deploy a Function App to Locally using OpenTofu and the opentofu/azurerm provider Provisions a Resource Group containing a Storage Account, a Linux App Service Plan and a Linux Function App. azurerm-provideropentofu Deploy a Linux Web App to Locally using OpenTofu and the opentofu/azurerm provider Provisions a Resource Group containing a Linux App Service Plan and a Linux Web App. azurerm-provideropentofu

Documentation

A local cloud for you and your AI agents.

Your Azure infrastructure, running on your machine. Deploy in seconds, break things freely, and ship to Azure when you're ready.