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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Unattended mode - Virt...
Power Automate
Unanswered

Unattended mode - Virtual Machine OS update/restart

(1) ShareShare
ReportReport
Posted on by 53

Hi,

 

I want to run my flows in unattended mode using Azure Virtual Machine. At VM I want to set up active hours. Outside these active hours, I want to do OS updates + restart at VM. 

How to check in the flow if VM is turned on, and also prevent some flow instances will start just before VM moves to maintenance mode?

 

 

Thank you

I have the same question (0)
  • momlo Profile Picture
    1,527 Super User 2024 Season 1 on at

    So you want to ensure the machine is available before PA triggers PAD action?

    Yeah, it's a pity that the power automate management connector does not have this action, I hope they will add this someday.

    https://learn.microsoft.com/en-us/troubleshoot/power-platform/power-automate/troubleshoot-errors-running-attended-or-unattended-desktop-flows

     

     

    You could try to check the "follow machine" table in Dataverse for the "Status" value.

     

    You could set up a custom timeout and retry policy in the PAD action in PAD.

    And custom logic to retry shall they still fall.

     

    https://learn.microsoft.com/en-us/troubleshoot/power-platform/power-automate/troubleshoot-errors-running-attended-or-unattended-desktop-flows

     

    https://poszytek.eu/en/microsoft-en/office-365-en/rpa-en/troubleshooting-power-automate-desktop-error-codes/

     

     

  • MikeAutomates Profile Picture
    53 on at

    Thank you.

    Yes, I want to check if the VM is available before running PAD. 

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 796

#2
Valantis Profile Picture

Valantis 568

#3
Haque Profile Picture

Haque 538

Last 30 days Overall leaderboard