SKILL

python-appservice-deploy

Deploy Python (Flask/Django/FastAPI) code to Azure App Service Linux. WHEN: "Flask App Service", "Django App Service", "FastAPI App Service", "deploy Python to App Service". DO NOT USE FOR: Container Apps, Functions, non-Python, Terraform/Bicep/IaC, full infra — use azure-prepare.

Target: Cloud, operations & security. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • Python on Azure App Service — Code Deploy
  • Workflow
  • Hard rules
  • Error Handling

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: mcpazuremcpsubscriptionlist, mcpazuremcpgrouplist, mcpazuremcpappservice, mcpazuremcpazd (when azure.yaml is present). Prerequisite: Verify the latest stable Azure CLI; update with approval and recheck if needed. 1. Resolve context — smart defaults, minimal prompts. Only the app name is interactive; RG ( -rg), Plan ( -plan), region (current az default or eastus2), subscription are derived. create-app.md §1. 2. Detect framework (advisory, never blocks). detect.md. 3. Choose path — azure.yaml host: appservice → deploy-azd.md; else deploy-azcli.md. 4. Ensure RG → Plan (P0v3 --is-linux) → Web App (--runtime "PYTHON:3.14") exist. Before creating a plan, invoke azure-quotas to check quota availability. 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 SCMDOBUILDDURINGDEPLOYMENT=true. 7. Deploy — a

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
microsoft/skills
Source file
.github/plugins/azure-skills/skills/python-appservice-deploy/SKILL.md
Fixed revision
9287b443662d2433c85621c7325ee72a0ce499b5
Read the complete original documentation ↗

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: Microsoft Skills · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-10T19:02:07.934Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.