Microsoft's official Azure skill for pre-deployment checks: validates azure.yaml, Bicep or Terraform, RBAC role assignments and managed identity permissions before an agent deploys.
Python App Service Deploy Skill
Microsoft's skill for deploying Flask, Django or FastAPI code to Azure App Service on Linux, creating the resource group, plan and web app when missing, with strict rules for startup commands and packaging.
Install
Other ways to install
About
- Deploys Flask, Django, FastAPI or generic Python code to App Service Linux
- Creates resource group, P0v3 Linux plan and web app when missing
- Only the app name is interactive; other names and region are derived
- azd deploy when azure.yaml is present, Azure CLI zip deploy otherwise
- Framework-specific startup commands (uvicorn for FastAPI)
- Quota check before creating a plan
- Hard rules for LF line endings, Django collectstatic and the PYTHON:3.14 runtime string
Python App Service Deploy is an official skill in Microsoft's azure-skills repository with a deliberately narrow job: put an existing Python web app (Flask, Django, FastAPI or generic) onto Azure App Service Linux as a code deployment. Containers, Azure Functions, other languages and infrastructure-as-code are out of scope and handed to the azure-prepare skill, as are VNets, Key Vault and databases.
The workflow keeps prompts to a minimum: only the app name is asked for, while the resource group (<app>-rg), plan (<app>-plan), region and subscription are derived. It detects the framework, chooses azd deploy when an azure.yaml targets App Service and the Azure CLI otherwise, and makes sure the resource group, a P0v3 Linux plan and a web app on the PYTHON:3.14 runtime exist, checking quota with the azure-quotas skill before creating a plan. Flask and Django need no startup command; FastAPI always gets python -m uvicorn main:app --host 0.0.0.0. It sets SCM_DO_BUILD_DURING_DEPLOYMENT=true and deploys a zip with az webapp deploy.
Its hard rules encode common failures: normalise shell and startup files to LF line endings, require STATIC_ROOT and a passing collectstatic for Django remote builds, write the runtime with a colon rather than a pipe, never use the deprecated az webapp up, and do not probe the site right after deploying, since App Service needs two to three minutes to warm up. It uses the Azure MCP server's subscription, group, App Service and azd tools. MIT licensed.
SKILL.md
The instructions your agent loads, as published by Microsoft.
Related Skills
See all Python App Service Deploy alternativesMicrosoft's official skill for preparing apps for Azure with the Azure Developer CLI: writes a deployment plan first, then generates azure.yaml, Bicep or Terraform infrastructure and Dockerfiles before handing off to validation.
Skill: Azure Deploy
by Microsoft
Microsoft's official skill for executing Azure deployments of already-prepared apps: it checks for a validated deployment plan, runs azd up, azd deploy, terraform apply or az deployment with error recovery, then verifies endpoints and RBAC roles.
Microsoft's skill that takes an existing AKS cluster to a running AI model with AI Runway: cluster check, controller install, GPU assessment, inference provider setup (KAITO, Dynamo, KubeRay) and a first deployment.