Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
microsoft avatar

Python Appservice Deploy

  • 103k installs
  • 1.4k repo stars
  • Updated August 4, 2026
  • microsoft/azure-skills

Python on Azure App Service is a deployment skill for provisioning Python frameworks to Azure App Service Linux.

About

Deploy Python applications (Flask, Django, FastAPI) to Azure App Service Linux. Handles resource group, plan, and web app provisioning with framework detection. Developers use this to quickly move Python services to cloud hosting.

  • Auto-detects Flask, Django, FastAPI
  • One-command resource creation
  • Smart defaults minimize prompts

Python Appservice Deploy by the numbers

  • 103,233 all-time installs (skills.sh)
  • +15,341 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #23 of 1,039 Cloud & Infrastructure skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

python-appservice-deploy capabilities & compatibility

Works with
azure
From the docs

What python-appservice-deploy says it does

Creates RG + Plan + Web App if missing
SKILL.md
npx skills add https://github.com/microsoft/azure-skills --skill python-appservice-deploy

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs103k
repo stars1.4k
Security audit3 / 3 scanners passed
Last updatedAugust 4, 2026
Repositorymicrosoft/azure-skills

How do you deploy Python to Azure App Service?

Deploying Python web applications to managed Azure hosting

Who is it for?

Deploying Python web services to managed cloud hosting

Skip if: Container orchestration, IaC, VNet/Key Vault setup

When should I use this skill?

User asks to deploy Flask, Django, or FastAPI to Azure App Service or says deploy Python to App Service.

What you get

Live Azure App Service Linux web app, resource group, App Service plan, and deployed Python application code

  • Deployed App Service web app
  • Resource group and plan

By the numbers

  • Skill version 1.0.1 from microsoft/azure-skills
  • Targets Python 3.14 on Azure App Service Linux P0v3 plan

Files

SKILL.mdMarkdownGitHub ↗

Python on Azure App Service — Code Deploy

Deploys Python (Flask, Django, FastAPI, generic) code to Azure App Service Linux (P0v3, Python 3.14). Creates RG + Plan + Web App if missing. Hand off to azure-prepare for VNet, Key Vault, databases, or IaC.

MCP tools used: mcp_azure_mcp_subscription_list, mcp_azure_mcp_group_list, mcp_azure_mcp_appservice, mcp_azure_mcp_azd (when azure.yaml is present).

Workflow

1. Resolve context — smart defaults, minimal prompts. Only the app name is interactive; RG (<app>-rg), Plan (<app>-plan), region (current az default or eastus2), subscription are derived. create-app.md §1. 2. Detect framework (advisory, never blocks). detect.md. 3. Choose pathazure.yaml host: appservice → deploy-azd.md; else deploy-azcli.md. 4. Ensure RG → Plan (`P0v3 --is-linux`) → Web App (`--runtime "PYTHON:3.14"`) exist. On transient ARM errors, follow transient-retry.md. create-app.md. 5. Set startup — Flask/Django: none (Oryx auto-detects). FastAPI: always python -m uvicorn main:app --host 0.0.0.0. Other: warn. startup-commands.md. 6. Set `SCM_DO_BUILD_DURING_DEPLOYMENT=true`. 7. Deployazd deploy or az webapp deploy --type zip --track-status false. 8. STOP. Print the post-deploy message (post-deploy-message.md) and end the turn.

Hard rules

  • NO POST-DEPLOY VERIFICATION — after deploy returns, do not run az webapp log tail, curl, Invoke-WebRequest, or any health probe. App Service needs 2–3 min to warm; a quiet log or early 5xx is not failure.
  • SHELL SAFETY — for --runtime always use "PYTHON:3.14" (colon). Never "PYTHON|3.14" (pipe is a shell operator).
  • NEVER `az webapp up` — deprecated. Use Step 7 commands.
  • URL FORMAT — present endpoints as https://... URLs.

Error Handling

See errors.md for the full symptom → cause → fix matrix. Quick triage: missing plan/app → re-run Step 4; container ping timeout on 8000 → fix startup (Step 5); ModuleNotFoundError after deploy → ensure Step 6 ran, redeploy.

Related skills

How it compares

Pick python-appservice-deploy for direct Python code-to-App-Service deploys; use azure-prepare when you need networking, secrets, databases, or infrastructure-as-code.

FAQ

What Python frameworks does python-appservice-deploy support?

python-appservice-deploy supports Flask, Django, FastAPI, and generic Python applications on Azure App Service Linux. It targets Python 3.14 on a P0v3 plan and is not intended for Container Apps, Functions, or non-Python runtimes.

Does python-appservice-deploy create Azure resources automatically?

python-appservice-deploy creates a resource group, App Service plan, and web app when they are missing, then deploys application code. For VNet, Key Vault, databases, or IaC, use the azure-prepare skill instead.

Is Python Appservice Deploy safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.