App Service

Sites

Microsoft.Web/sites

Control plane
Supported
Data plane
Partial
API versions
12 11 stable
Ships in
Plugin Microsoft.Web 2026.11
Plan
Standard and above

Data as of 2026-11-20

API versions

The API versions Locally supports for Microsoft.Web/sites.

API versionStatusControl planeData plane
2026-08-01 stable Supported Partial
2026-07-15 stable Supported Partial
2026-03-15 stable Supported Partial
2026-03-01-preview preview Supported Partial
2025-05-01 stable Supported Partial
2025-03-01 stable Supported Partial
2024-11-01 stable Supported Partial
2024-04-01 stable Supported Partial
2023-12-01 stable Supported Partial
2023-01-01 stable Supported Partial
2021-02-01 stable Supported Partial
2020-12-01 stable Supported Partial

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.

Nested resource types

The resource types nested under Microsoft.Web/sites. Click one to see more information.

Features

  • Code deployments built with Oryx and served from a container: Node, .NET, Python, PHP, Java and Ruby.
  • Custom containers with DOCKER|<image>, on port 80 or WEBSITES_PORT.
  • Sidecars: a SITECONTAINERS app runs its main container and sidecars together.
  • Function Apps, with triggers fired by Locally's Storage, Service Bus, Event Hubs, Cosmos DB and Event Grid emulators.
  • Durable Functions, with the task hub in the app's Storage Account, an Azure SQL database or a Durable Task Scheduler (Standard).
  • Function keys: HTTP triggers enforce authLevel with ?code= or x-functions-key.
  • Kudu: zip deploy, OneDeploy, git push, deployment status and logs, the VFS and command APIs, and log stream.
  • Remote build when SCM_DO_BUILD_DURING_DEPLOYMENT is true.
  • Stop, start and restart: a stopped app answers 403 and its triggers stop firing.
  • Managed identity, system-assigned and user-assigned, including identity-based binding connections.
  • App Service Authentication: the /.auth endpoints, X-MS-CLIENT-PRINCIPAL headers, the token store and Authorization: Bearer.
  • Health check on healthCheckPath for Web Apps.
  • WebJobs, triggered (on demand or on a schedule) and continuous.
  • Startup command from appCommandLine.
  • Application Insights: a linked app gets APPLICATIONINSIGHTS_CONNECTION_STRING.
  • Event Grid events: Microsoft.Web.AppUpdated on restart, stop and app settings changes.
  • Chaos Engineering can fail, throttle, slow down or cut requests, restart, freeze or kill the app, force a cold start, and delay, drop or duplicate trigger deliveries. Team

Limitations

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.

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.

Site Virtual Network Connections

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

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.

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 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 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 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 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 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 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.