VMs included in all reservations

Pawel Markowski 0 Reputation points
2023-02-28T15:42:07.5633333+00:00

Hi,

I would like to ask how can I get report to see all Azure VMs that are included in any reservation I have.
Curretnyl I can only check VMs belong to certain reservation, but it is not a solution as I hae plenty of reservations and I want to see all at once. Thanks.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
6,981 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Michael Durkan 12,136 Reputation points MVP
    2023-02-28T15:56:49.3266667+00:00

    Hi

    in the Azure Portal, you can go to All Services >> Reservations.

    This will give info on scope, type and utilization, and will also allow you to download a CSV report.

    Hope this helps,

    Thanks

    Michael Durkan

    • If the reply was helpful please upvote and/or accept as answer as this helps others in the community with similar questions. Thanks!
    0 comments No comments

  2. vipullag-MSFT 23,806 Reputation points Microsoft Employee
    2023-03-01T04:41:27.5033333+00:00

    Hello Pawel Markowski

    Welcome to Microsoft Q&A Platform, thanks for posting your query here.

    Adding to previous response from Micheal, you can also try Azure Resource Graph Explorer to get the reservation details.

    Open Resource Graph Explorer from the Azure portal. Run below query in the editor:

    where type =~ 'microsoft.compute/virtualmachines'

    | summarize count() by tostring(properties.extended.instanceView.reservation.id)

    The query result will show the number of VMs included in each reservation. You can click on each reservation ID to see the details of the VMs included in that reservation. You can also download CSV as shown in below screenshot.

    User's image

    Hope this helps.

    Please 'Accept as answer' if it helped, so that it can help others in the community looking for help on similar topics.