web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How can I display all ...
Power Apps
Unanswered

How can I display all Azure VM's Power state in power app?

(0) ShareShare
ReportReport
Posted on by 4

I have multiple VMs on my Azure subscription I want to show their power state whether they are running or deallocated using PowerApps. how can I do that.

Categories:
I have the same question (0)
  • timl Profile Picture
    36,393 Super User 2025 Season 2 on at

    Hi @YashRathore 

    A good place to start is this blog post by Yash Agarwal

    https://www.bythedevs.com/post/manage-azure-virtual-machines-with-power-apps-and-azure-resource-manager

     

    This shows how to create a custom connector to connect to the Azure API.

    To return the power states of the VMs, the "Virtual Machines - List All API" link in the documentation provides details of the API URL that you would use.

    https://learn.microsoft.com/en-us/azure/virtual-machines/states-billing

     

     

     

  • YashRathore Profile Picture
    4 on at

    Hi @timl,

    I have tried using custom connector, but I think it needs premium license to connect that custom connector to power apps. Pls let me know if there is any other way to do it or if we can get a free trial of premium license.

    YashRathore_0-1697020911226.png

     



  • YashRathore Profile Picture
    4 on at

    Also, I have one more query. I am hitting one Microsoft Azure API which will return the details of all the VMs under that subscription
    Virtual Machines - List All - REST API (Azure Compute) | Microsoft Learn

     

    When I am invoking it using postman it is giving all the data but when I am using power automate HTTP task it is only giving me details of a single VM.  

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard