What's GitHub Copilot for Azure?
GitHub Copilot for Azure is a Visual Studio Code extension that includes a set of Azure skills for specialized domain knowledge, and integrates support for GitHub Copilot agent mode. Use Azure skills for deep, service-specific guidance and leverage Azure tools in agent mode to automatically complete Azure tasks. Go to the release notes for details on the latest updates.
Azure Skills

Agent mode

Note: GitHub Copilot for Azure currently only supports Windows x64, Windows ARM64, macOS x64, macOS ARM64 and Linux x64.
Azure Skills
GitHub Copilot for Azure includes a set of Azure skills that provide specialized domain knowledge and workflows for Azure services. Skills can be easily installed using the built-in commands and work with agent mode.
Core skills for deploying applications to Azure include:
- azure-prepare – Prepares your application for Azure deployment by generating infrastructure-as-code (Bicep or Terraform), azure.yaml, and Dockerfiles. Use this skill to create, modernize, or set up applications for Azure hosting.
- azure-validate – Validates your deployment configuration and infrastructure files to catch issues before deploying, ensuring your application is ready for Azure.
- azure-deploy – Executes Azure deployments for prepared applications using
azd up, azd deploy, terraform apply, or az deployment commands with built-in error recovery.
View the full list of available skills at github.com/microsoft/azure-skills.
Installation
Github Copilot for Azure installs skills at activation. At that point, you may see a toast like the following:

If you don't see the toast notification, you can manually install them either globally or locally using the commands listed below. To remove local skills, delete the corresponding files from .agents/skills/. Uninstalling the extension will uninstall the Azure Skills globally.
@azure: Install Azure Skills Globally – Installs Azure skills into the global (home directory) location, making them available across all workspaces.
@azure: Uninstall Azure Skills Globally – Removes all globally installed Azure skills.
@azure: Install Azure Skills Locally – Installs Azure skills into the current workspace directory (under .agents/skills/).
Agent mode
Agent mode can help you complete Azure-related tasks by automatically using tools from GitHub Copilot for Azure. You can let agent mode decide on those tools, or you can guide the process by choosing particular tools from the GitHub Copilot for Azure toolset.
GitHub Copilot for Azure tools include:
#azure_get_auth_context: Gets the current authentication state, including which account you are signed in to, the current tenant in use, and the default subscriptions selected.
#azure_set_auth_context: Sets the current authentication state. You can switch to a different account, change the tenant in use, or select default subscriptions.
Azure MCP
GitHub Copilot for Azure installs the Azure MCP Server extension as a dependency. Azure MCP Server offers a wide range of tools for developing applications using Azure services. You can learn more about the tools Azure MCP Server offers in this documentation.
Custom Agents
GitHub Copilot for Azure includes several custom agents that provide specialized workflows for specific Azure tasks:
Infrastructure as Code (IaC) Agents
- Azure IaC Generator – Central hub for generating Infrastructure as Code (Bicep, ARM, Terraform, Pulumi) with format-specific validation and best practices.
- Azure IaC Exporter – Export existing Azure resources to Infrastructure as Code templates via Azure Resource Graph analysis and Azure Resource Manager API calls.
Deployment & Migration Agents
- DeployToAzure – Custom agent focusing on deploying Azure resources.
- LambdaToFunctionMigration – Migrate AWS Lambda functions to Azure Functions with comprehensive support for assessment, code migration, infrastructure generation, validation, and deployment.
- Azure_function_codegen_and_deployment – Generate and deploy Azure Functions with comprehensive planning, code generation, and deployment automation.
- Azure_Static_Web_App – Create and deploy Azure Static Web Apps.
Cost Optimization Agents
- AzureCostOptimizeAgent – Identify, quantify, and recommend cost savings across an Azure subscription.
- AzqrCostOptimizeAgent – Use Azure Quick Review (azqr) to identify cost-impacting issues and quick wins.
Specialized Builders
- MCP AppService Builder – Plan, scaffold, extend, and deploy .NET 10 MCP App Service MCP servers with azd/Bicep and RBAC.
Custom Prompts
GitHub Copilot for Azure includes custom prompts for AWS Lambda to Azure Functions migration workflow:
- LambdaMigration-Phase1-AssessLambdaProject – Assess the AWS Lambda codebase for migration to Azure Functions.
- LambdaMigration-Phase2-MigrateLambdaCode – Migrate AWS Lambda code to Azure Functions.
- LambdaMigration-Phase3-GenerateFunctionsInfra – Generate infrastructure as code files for the Azure Functions project.
- LambdaMigration-Phase4-ValidateCode – Validate the migrated Azure Functions code.
- LambdaMigration-Phase5-ValidateInfra – Validate the infrastructure as code files.
- LambdaMigration-Phase6-DeployToAzure – Deploy resources to Azure.
- LambdaMigration-GetStatus – Retrieve the current status of the migration.

- Set mode to Agent in Chat.
- Select your model. We recommend using Claude models such as Claude Opus for improved tool invocation.
- Try to include details in your prompts, especially about your Azure resources.
Alternatively, if you want to select a specific tool, you can say #<name of the tool>, followed by your prompt.
For general guidance on using agent mode, visit Use Agent mode in VS Code.
Examples of prompts:
- Create an Azure storage account and connect to a file upload app
- Deploy a local Python Flask app to Azure
- Create a ToDo web app and deploy it to Azure
- Create a bicep file to deploy a MySQL database to West US 3 region
How do I get started?
To use GitHub Copilot for Azure, you’ll need:
- An active GitHub Copilot license.
- The GitHub Copilot Chat extension.
- A Microsoft account.
New to Azure? Sign up for free and get a $200 credit to use on Azure services. Learn more about Azure
Commands
@azure: Install Azure Skills Globally – Installs Azure skills into the global (home directory) location, making them available across all workspaces.
@azure: Uninstall Azure Skills Globally – Removes all globally installed Azure skills.
@azure: Install Azure Skills Locally – Installs Azure skills into the current workspace directory (under .agents/skills/).
@azure: Show output channel – Opens the Azure output channel for viewing skill-related logs and diagnostics.
@azure: Make a feature request - Opens the GitHub feature request issue template in your default browser at the GitHub Copilot for Azure repository.
@azure: Report an issue - Opens the GitHub bug report issue template in your default browser, pre-filled with your app version and platform details (OS, architecture, release).
Privacy and preview terms
By using GitHub Copilot Chat, you agree to GitHub Copilot Chat preview terms. Review the transparency note to learn about usage, limitations, and ways to improve Copilot Chat during the technical preview.
Your code is yours. We follow responsible practices in accordance with our Privacy Statement to ensure that your code snippets will not be used as suggested code for other users of GitHub Copilot.
To get up-to-date security fixes, use the latest version of the Copilot extension and Visual Studio Code.
Telemetry
Visual Studio Code collects usage data and sends it to Microsoft to help improve our products and services. Read the Microsoft Privacy Statement to learn more. If you don't want to send usage data to Microsoft, you can set the telemetry.enableTelemetry setting to false. Get more information in the FAQ section.
Learn more about GitHub Copilot for Azure.
Sign up for a free trial of GitHub Copilot.
Learn more about Responsible Use of GitHub Copilot Chat in your IDE.