GitHub Copilot for Azure for Visual Studio 2022 (Public Preview)
GitHub Copilot for Azure is an extension for Visual Studio 2022 that brings powerful Azure developer tools into your Visual Studio, powered by GitHub Copilot and Azure MCP. The extension automatically downloads the Azure MCP server and requires no manual setup. It integrates support for GitHub Copilot agent mode and allows you to automatically complete Azure DevOps and development tasks.

Note:
The Azure MCP server version is updated alongside extension releases, and may lag behind the latest available version by up to three releases.
Agent mode
Agent mode helps you complete Azure-related tasks by automatically leveraging the right tools from the GitHub Copilot for Azure toolset powered by Azure MCP. Agent mode will choose the best tools for your scenario, or you can pick specific tools manually from the toolbox in the Copilot chat window. The suite of tools allow interacting with the following Azure services:
- ⚙️ Azure App Configuration
- 🛡️ Azure Best Practices
- 🖥️ Azure CLI Extension
- 📦 Azure Container Registry (ACR)
- 📊 Azure Cosmos DB (NoSQL Databases)
- 🧮 Azure Data Explorer
- 🐘 Azure Database for PostgreSQL - Flexible Server
- 🛠️ Azure Developer CLI (azd) Extension
- 🚀 Azure Deploy
- 🧮 Azure Foundry
- ☁️ Azure Function App
- 🚀 Azure Managed Grafana
- 🔑 Azure Key Vault
- ☸️ Azure Kubernetes Service (AKS)
- 📦 Azure Load Testing
- 🏪 Azure Marketplace
- 📈 Azure Monitor
- ⚙️ Azure Native ISV Services
- 🛡️ Azure Quick Review CLI Extension
- 📊 Azure Quota
- 🔴 Azure Redis Cache
- 🏗️ Azure Resource Groups
- 🎭 Azure Role-Based Access Control (RBAC)
- 🚌 Azure Service Bus
- 🗄️ Azure SQL Database
- 🗄️ Azure SQL Elastic Pool
- 🗄️ Azure SQL Server
- 💾 Azure Storage
- 📋 Azure Subscription
- 🏗️ Azure Terraform Best Practices
- 🖥️ Azure Virtual Desktop
- 📊 Azure Workbooks
- 🏗️ Bicep
For a full list of available tools, please visit Azure MCP server.

- Set mode to Agent in the Copilot chat window.
- Select a model such as Claude Sonnet 4 (Preview) for best tool invocation.
- Enable Azure tools: After installation, open the Copilot chat window toolbox and toggle the Azure MCP tools you want to use.
- Include resource details in your prompts for best results.
Example prompts:
- Do I have any webapps in my current subscription?

- Look for a WebApp named
<appname>
. Does it have any recent downtime?

- Find what tenants I have access to and what I'm currently using.

- Provide the weburls for these ACA apps.

Ask mode
Note:
Ask mode is only available in VS Code. In Visual Studio 2022, agent mode gives you access to all Azure MCP tools for automated and guided Azure development.
How do I get started?
To use GitHub Copilot for Azure in Visual Studio 2022, you’ll need:
- An active GitHub Copilot license
- The GitHub Copilot Chat extension for Visual Studio 2022
- A Microsoft account
New to Azure? Sign up for free and get a $200 credit for Azure services. Learn more about Azure.
Privacy and preview terms
By using GitHub Copilot Chat, you agree to the GITHUB LICENSE TERMS FOR EXTENSIONS.
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 the latest security fixes, use the newest Copilot extension and Visual Studio 2022.
Telemetry
Visual Studio 2022 collects usage data and sends it to Microsoft to improve products and services.
Read the Microsoft Privacy Statement to learn more.