Blog Post

Azure Architecture Blog
3 MIN READ

AI for Operations - Copilot Agent Integration

TaleTom's avatar
TaleTom
Icon for Microsoft rankMicrosoft
Jul 18, 2025

Extending the Azure AI for Operations Framework with Copilot Studio Agents for FinOps and Update Management

Solution ideas

The original framework introduced several Logic App and Function App patterns for SQL BPA, Update Manager, Cost Management, Anomaly Detection, and Smart Doc creation.

In this article we add two Copilot Studio Agents, packaged in the GitHub repository Microsoft Azure AI for Operation Framework, designed to be deployed in a dedicated subscription (e.g., OpenAI-CoreIntegration):

  1. Copilot FinOps Agent – interactive cost & usage analysis
  2. Copilot Update Manager Agent – interactive patch status & one-time updates

Architecture

 

Copilot FinOps Agent

A Copilot Studio agent that lets stakeholders chat in natural language to retrieve, compare, and summarise cost data—without leaving Teams.

Dataflow

#StageDescription
Initial TriggerUser message (Teams / Copilot Studio web) invoke topicThe conversation kicks off the topic “Analyze Azure Costs”.
1Pre-ProcessingPower Automate flow captures tenant ID, subscription filters, date range.
2Cost QueryAzure Cost Management APIs pull actual and previous spend, returning JSON rows (service name, cost €).
3OpenAI AnalysisData is analyzed by OpenAI\Copilot Agent following the flow structure.
4Response FormattingCopilot Studio flow format the output as a table.
5Chat ReplyCopilot agent posts the insight list. Users can ask any kind of question related the FinOps topic.

Components

  • Microsoft Copilot Studio (Developer licence) – low-code agent designer
  • Power Automate Premium – orchestrates REST calls, prompt assembly, file handling
  • Azure Cost Management + Billing – source of spend data (Rest API)
  • Azure OpenAI Service – GPT-4o and o3-mini reasoning & text generation
  • Microsoft Teams – chat surface for Q&A, cards, and adaptive actions

Potential use cases

  • Finance teams asking “Why did VM spend jump last week?”
  • Engineers requesting a monthly cost overview before sprint planning
  • Leadership dashboards that can be drilled into via natural-language chat

Copilot Update Manager Agent

A Copilot Studio agent that surfaces patch compliance and can trigger ad-hoc One-Time Updates for selected VMs directly from the chat.

Dataflow

#StageDescription
Initial TriggerUser message (Teams / Copilot Studio web) invoke topic. The conversation kicks off the topic “Analyze Azure Costs”.
1Pre-ProcessingFlow validates RBAC and captures target scope (subscription / RG / VM).
2Patch Status QueryAzure Update Manager & Resource Graph query patchassessmentresources for KBs, severities, pending counts.
3OpenAI ReportGPT-4o - o3-mini generates:
• VM-level summary (English)
• General Overview
4Adaptive CardPower Automate builds an Adaptive Card listing non-compliant VMs with “One-time Update”- "No action" buttons.
5aUser Action – ReviewUser inspects details or asks follow-up questions.
5bUser Action – Patch NowClicking One-time Update calls Update Manager REST API to start a One-Time Update job.
6ConfirmationAgent posts job ID, live status, and final success / error summary.

Components

  • Microsoft Copilot Studio – conversational front-end
  • Power Automate Premium – API orchestration & status polling
  • Azure Update Manager – compliance data & patch execution
  • Azure OpenAI Service – explanation & remediation text
  • Microsoft Teams – Adaptive Cards with action buttons

Potential use cases

  • Service owners getting a daily compliance digest with the ability to remediate on demand
  • Security officers validating zero-day patch rollout status via chat
  • Help-desk agents triaging “Is VM X missing critical updates?” without opening the Azure portal

Prerequisites

ResourceQuantityNotes
Copilot Studio Developer licence1Assign in Microsoft 365 Admin Center
Power Automate Premium licence1 userNeeded for HTTP, Azure AD, OpenAI connectors
Microsoft Teams1 userChat interface
Azure subscription1Dedicated OpenAI-CoreIntegration recommended
GitHub repolatestMicrosoft Azure AI for Operation Framework Copilot Agent

Copilot Studio User Experience

 

Deployment steps (high level)

  1. Assign licences – Copilot Studio Developer + Power Automate Premium
  2. Create Copilot Studio Agent
    New Agent → Skip to configure → fill basics → Create → Settings → disable GenAI orchestration
  3. Import topics
  4. Publish & share the agent to Teams.
  5. Verify permission scopes for Cost Management and Update Manager APIs.
  6. Start chatting!

Feel free to clone the GitHub repo, adapt the topics to your tag taxonomy or FinOps dashboard structure, and let us know in the comments how Copilot Agents are transforming your operational workflows and... Stay Tuned for the next updates!

Contributors

Principal authors
Tommaso Sacco | Cloud Solutions Architect
Simone Verza | Cloud Solution Architect

Special thanks
Carmelo Ferrara | Director CSA
Antonio Sgrò | Sr CSA Manager
Marco Crippa | Sr CSA Manager

Updated Jul 18, 2025
Version 1.0