python-appservice-deploy Skill: Deploy Flask, Django or FastAPI to Azure
Makes your agent deploy a Python web app (Flask, Django or FastAPI) to Azure App Service on Linux, creating any missing Azure resources.
- Installs
- 236.1K
- on skills.sh
- Stars
- 1.6K
- on GitHub
- Files
- 12
- besides SKILL.md
- Updated
- Oct 2026
- last repo commit
The skill runs an 8-step workflow. It fills in defaults (resource group named after the app, a plan, region from your az default or eastus2), detects your framework, then makes sure a resource group, a P0v3 Linux plan and a Python 3.14 web app exist. It sets the startup command, turns on build during deployment, and deploys with azd deploy if an azure.yaml exists or az webapp deploy as a zip otherwise. Only the app name is asked interactively.
It stops after the deploy and prints a post-deploy message. By design it does not probe the app afterwards, because App Service needs 2 to 3 minutes to warm up. It calls Azure MCP tools, so use it with the Azure plugin. Containers, Functions, Terraform or Bicep, and full infrastructure are out of scope and go to azure-prepare.
Good for
- Python developers who want a one-prompt deploy to Azure App Service
- Teams on Azure who want a repeatable deploy routine for Flask, Django or FastAPI
- Claude Code and Copilot users with the Azure plugin installed
Install python-appservice-deploy
Claude Code
- 1
Copy this prompt.
Install the python-appservice-deploy skill in Claude Code. Run this command: /plugin install azure@claude-plugins-official Then check that it loaded and tell me how to use it.
- 2
Paste it into Claude Code. It shows the change and asks before running it.
Requires Azure account, Node.js 18+, Azure CLI (az login).
Use the plugin rather than the single skill. The skill calls Azure MCP tools (subscription list, group list, App Service and azd), and the README says the plugin wires in the Azure MCP Server. Sign in with az login first, and azd auth login if you deploy with azd.
From the project README. Source.
What's in the skill
When it loads
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.
Sections in SKILL.md
- Workflow
- Hard rules
- Error Handling
Key facts
- Author
- Microsoft
- License
- MIT
- Installs on skills.sh
- 236,062 (Nov 2, 2026)
- Last repo commit
- Oct 30, 2026
What it includes
Derives resource group, plan, region and subscription; only asks for the app name
Defaults: <app>-rg, <app>-plan, your az default region or eastus2.
Runs code ·
1. Resolve contextAdvisory check for Flask, Django, FastAPI or generic; never blocks
Files ·
2. Detect frameworkazure.yaml with App Service host uses azd; otherwise Azure CLI
3. Choose pathCreates the resource group, P0v3 Linux plan and Python 3.14 web app if missing
Retries on transient Azure errors using the bundled retry-az-create script.
Runs code ·
4. Ensure resourcesNone for Flask and Django; FastAPI gets a uvicorn command
Other frameworks get a warning.
Write ·
5. Set startupSets SCM_DO_BUILD_DURING_DEPLOYMENT to true
Write ·
6. Enable build on deployRuns azd deploy, or az webapp deploy with a zip package
The deprecated az webapp up is never used.
Runs code ·
7. DeployPrints a post-deploy message with https URLs and ends; no health checks
8. Stop and reportA symptom, cause and fix table for deploy errors
Quick triage: container ping timeout on port 8000 means fix the startup command.
Read ·
references/errors.md
From the official docs
Permissions
High risk
The skill creates paid Azure resources and deploys your code under your signed-in account. Check the subscription and region before approving, and try it on a test app first.
What it can do
- Read your data
- Create and change things
- Delete things
- Read-only mode
Watch out for
It creates paid Azure resources
It adds a resource group, a P0v3 Linux plan and a web app. Check the subscription and region it chose before you approve, and delete what you do not need. github.com
It deploys your code to a live endpoint
The app goes out as soon as the deploy returns. Use a test subscription or app name for first runs.
It runs bundled shell scripts
Four helper scripts generate app names and retry Azure create calls. Read them if you need to be sure.
Technical details
| Talks to | Azure Resource Manager and App Service |
|---|---|
| Scopes |
|
Questions
What does python-appservice-deploy do?
It deploys Flask, Django or FastAPI code to Azure App Service on Linux and creates the resource group, plan and web app if they are missing.
How do I install it in Claude Code?
Use the install box above, which installs the Azure plugin. The skill relies on Azure MCP tools that the plugin sets up, and you need to be signed in with az login.
Does it need an Azure account?
Yes. It needs an Azure subscription and the Azure CLI signed in. If your project has an azure.yaml it uses azd, which needs azd auth login.
Does it cost money?
The skill creates a P0v3 Linux App Service plan, which is a paid Azure resource. Check Azure pricing for your region and delete resources you do not need.
Is it safe?
It creates and changes real Azure resources under your signed-in account and deploys your code, and it runs bundled shell scripts for app names and create retries. Check the subscription it picked, review commands before you approve them, and try it on a test app first.
Why does it not check the app after deploying?
By design. The SKILL.md says App Service needs 2 to 3 minutes to warm up, so a quiet log or early 5xx error is not a failure. Give it a few minutes before you test.
What should I use for containers, Functions or Terraform?
The SKILL.md says this skill is not for Container Apps, Functions, non-Python apps, Terraform or Bicep, or full infrastructure, and points to azure-prepare for those.
Information
updated Nov 2, 2026
- Repository
- microsoft/azure-skills
- Folder
skills/python-appservice-deploy
Sources
Docs, issue trackers and discussions this page is built from.
Show all 2Hide
- microsoft/azure-skills README · github.com
- microsoft/azure-skills python-appservice-deploy SKILL.md · github.com