Not sure If Copilot Studio can do this

rr-4098 2,351 Reputation points
2026-07-14T15:16:12.49+00:00

I am still new to Copilot Studio. I have been building agents with Agent Builder but the agent I want to build may be beyond that. With Studio is it possible to built an agent to do the following.

  1. prompt users to log into portal.azure.com
  2. copolit will provide a list of subscriptions and the user will select the one they want
  3. Get current charges
  4. List Advisior recommendations
  5. List all resources with a error \ warning
  6. List any resources created in the past 24 hours
Microsoft Copilot | Other

Answer accepted by question author
Tehreem Farooqi 160 Reputation points
2026-07-17T07:16:03.74+00:00

Yes, this can be built in Microsoft Copilot Studio. Copilot Studio would act as the conversational layer, while Azure APIs, Power Automate agent flows, or custom connectors retrieve the required data.

A possible design would be:

  • User authentication: Configure Microsoft Entra ID authentication so the user signs in through the agent. The agent can then access Azure using the signed-in user’s permissions instead of asking them to manually log in to the Azure portal.
  • List Azure subscriptions: Create an agent tool or flow that calls the Azure Resource Manager API to retrieve the subscriptions the user can access. The agent can display them using an Adaptive Card or selection list.
  • Select a subscription: Store the selected subscription ID in a Copilot Studio variable so it can be passed to the other tools during the conversation.
  • Get current charges: Use the Azure Cost Management API through an agent flow or custom connector to return month-to-date cost, forecasted cost, or cost grouped by resource group or service. The user must have permission to view cost information.
  • List Advisor recommendations: Call the Azure Advisor API or query Azure Resource Graph to retrieve recommendations related to cost, security, reliability, performance, and operational excellence.
  • Find resources with errors or warnings: Combine Azure Resource Health, Azure Monitor alerts, and Activity Log data. This allows the agent to show unhealthy resources, active alerts, failed deployments, and recent management errors.
  • List resources created in the past 24 hours: Query Azure Resource Graph Change Analysis and filter for resources with a "Create" change during the previous 24 hours.
  • Present a summary: The agent can use generative orchestration to combine the results into a single environment overview and allow users to ask follow-up questions such as “show only critical alerts” or “which resources cost the most?”

For a low-code solution, each operation can be implemented as a separate Power Automate agent flow. For a more scalable production solution, the Azure operations could be exposed through an Azure Function or API Management service and added to Copilot Studio as custom tools.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.