Simon Bisson
Contributing Writer

Azure Copilot: An AI assistant for Azure ops and troubleshooting

news
May 23, 20246 mins

Microsoft has added new skills to its LLM-powered Copilot in Azure and opened up access to everyone.

shutterstock 1018105807 rainbow colored parachute against a blue sky and cirrus clouds
Credit: Sergey Ginak

Microsoft has been polishing up its AI-powered Copilot in Azure for months now, and finally decided itโ€™s ready for everyone to use. A public preview of Copilot in Azure will roll out relatively quickly, over a couple of weeks. If youโ€™re not able to access Copilot in Azure immediately, rest assured you should see it in your Azure Portal soon, where it can help you manage, secure, and tune your Azure cloud infrastructure.

I talked with Erin Chapple, Microsoft CVP, Azure Core Product and Design, about the new service and where itโ€™s likely to go in the future. Like Microsoftโ€™s other service-oriented Copilots, Copilot in Azure isnโ€™t the general-purpose Copilot youโ€™ll find in Bing. Instead, think of Copilot in Azure as a natural language interface to Azure services that can work directly with the Azure Resource Graph and Azure APIs, while retaining context between queries.

[ Download our editorsโ€™ PDF AI as a service (AIaaS) enterprise buyerโ€™s guide today! ]

Itโ€™s important to understand that Copilot in Azure is limited to helping you with Azure services running in your tenant. So, if you want to ask Copilot about a security issue, for example, such as what IP addresses are being used to probe your login service, you need to have both Azure Defender running and a Security Center instance to expose the relevant information to Copilotโ€™s large language model (LLM).

In other words, you canโ€™t use the complex retrieval-augmented generation that powers Copilot in Azure without the appropriate data sources. And while much of the service builds on Azure Resource Manager and Azure Resource Graph, there are features that require more information about your tenant.

How Copilot in Azure can help

Other options offer new ways to solve perennial problems. The question โ€œWhy is my subscription costing so much?โ€ can help track down misconfigurations or instantiated VMs that havenโ€™t been shut down. By having access to the data that underpins your tenant, and using lessons from across the entire global platform, Copilot in Azure is able to point out issues that you may have missed. You can then use it to tune existing apps and services or help you choose a better set of VMs for your application.

That last option is one that Chapple is excited to see being used. โ€œWeโ€™re using insights from the Azure App Services from a diagnostic standpoint and exposing that, and I think that is building out more and more capabilities,โ€ she told me. Getting that information from the Azure Portal requires bringing together information from different tools, using Copilot as a bridge, collating and sorting the information you need to get the best performance from your code.

As Azure encompasses many different services, Copilot in Azure is building out a library of skills that spans both administration and development. For example, if youโ€™re using Copilot with Azure Kubernetes Service, thereโ€™s a skill to create and manage backups, and another that helps you find the YAML configuration files you need to tune your applications. Copilot can even assist you when youโ€™re writing kubectl command lines. Copilot learns from the existing library of Azure design patterns and practices, with Chapple pointing out that โ€œthe model is trained over that, and it can actually use that in its response in order to guide you down the right path from the beginning.โ€

Other Copilot skills help you work with Azure-hosted data, adding the ability to go straight from natural language to SQL when working with your Azure SQL databases. All you need to do is ask questions about your data and Copilot in Azure will generate the appropriate T-SQL statements for you, ready for use in code or in your database administration client. Copilot will explain the queries it generates, making it a useful learning aid, as you will be able to use its examples as lessons to help with future database queries.

Also keep in mind that Copilot in Azure is not a one-shot tool. You can use it to generate reusable assets, for example Azure Resource Manager templates or Azure CLI scripts. After all, reusability has been at the heart of Microsoftโ€™s administration tools since the launch of PowerShell, where itโ€™s always been possible to see, save, and edit the scripts used under the hood of a GUI. Copilot works much the same way, only for natural language interactions, delivering output you can check, share, and reuse.

Troubleshooting Azure with AI

Copilot in Azure is intended to help troubleshoot problems, building on data from Azureโ€™s support library and providing an interactive, conversational path that can narrow down to a specific solution. You donโ€™t have to wait on a round-trip email conversation, or for a phone call. Instead you work with the Copilot chatbot, which allows you to start with a proposed solution and then refine your questions to get the answer you need. Again, getting sample scripts and templates will help you avoid similar issues in the future.

As Chapple notes, โ€œItโ€™s a great educational tool in many ways to say, โ€˜What are the settings that I can use to restrict inbound connectivity?โ€™ as an example.โ€ Her team has been working with early adopters to understand their use cases, with another key use being helping administrators understand their growing cloud environments. Here theyโ€™re asking questions about the environment as the sprawl starts to grow, she says, and questions like โ€œWhat VMs in this resource group have restricted outbound connectivity?โ€

While Copilot in Azure is intended for all Azure users, the AI assistant does have a focus on administrative tasks. That doesnโ€™t mean developers canโ€™t use Copilot to easily retrieve the Azure CLI commands needed to enable some new infrastructure. But Copilot in Azure is intended mainly to ease running large Azure infrastructures, which remains an issue for many organizations.

Chapple expects the role for Copilot in Azure to expand, and even take it outside the Azure Portal into other applications and tools. She describes Copilot as a way of delivering to users the information Microsoft has, through many different channels. โ€œIt wonโ€™t just be the Azure Portal, we want to expose it through the mobile app, through the command line, and through other experiences. So that customers can have this companion right through that operational phase from design to deploy to troubleshoot, to gain access to the information that we have.โ€

Thereโ€™s a possible future for all of Microsoftโ€™s many Copilots hereโ€”as a family of intelligent agents that could hand off context between each other. Imagine starting a query in Copilot in Azure and ending up in GitHub Copilot, without losing your initial question. If that sounds like how we talk to our colleagues, well, thatโ€™s just as it should beโ€”a collaboration between you and your machine assistants.

Simon Bisson

Author of InfoWorld's Enterprise Microsoft blog, Simon Bisson prefers to think of โ€œcareerโ€ as a verb rather than a noun, having worked in academic and telecoms research, as well as having been the CTO of a startup, running the technical side of UK Online (the first national ISP with content as well as connections), before moving into consultancy and technology strategy. Heโ€™s built plenty of large-scale web applications, designed architectures for multi-terabyte online image stores, implemented B2B information hubs, and come up with next generation mobile network architectures and knowledge management solutions. In between doing all that, heโ€™s been a freelance journalist since the early days of the web and writes about everything from enterprise architecture down to gadgets. He is the author of Azure AI Services at Scale for Cloud, Mobile, and Edge: Building Intelligent Apps with Azure Cognitive Services and Machine Learning.

More from this author