Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 4b7jneJXf2QOt2Do+6kyct
Power Automate - Power Automate Desktop
Unanswered

How to automate VDI using PAD

Like (0) ShareShare
ReportReport
Posted on 9 Feb 2023 06:38:10 by

Hi,

 

How to automate VMware VDI using power automate desktop and how to bypass MFA 

 

 

Thanks in advance

 

  • momlo Profile Picture
    1,527 Super User 2024 Season 1 on 09 Feb 2023 at 08:07:02
    Re: How to automate VDI using PAD

    Hi @Satish_Uppala 

    What do yo mean exactly when saying "how to automate VDI"?

    There are 3 scenarios:

     

    1. You install full Power Automate Desktop and machine runtime on the VDI, then run flows on that machine, flow accesses applications and web sites on that VDI. In this scenario it does not matter if this is VDI or physical machine, it is just computer.

     

    2. For some reason you cannot / do not want to install full Power Automate Desktop/machine runtime on the VDI. Then you install Power Automate for VM agent and full machine runtime on any other computer (VM or physical). You execute/run your flow on that machine with full machine runtime, it then connects to the VDI and executes UI automation by communicating with the agent installed on VDI. Web automation you need to execute on the machine with full machine runtime.
    https://learn.microsoft.com/en-us/power-automate/desktop-flows/virtual-desktops

     

    3. If for any reasons you cannot install the power automate desktop for VM agent, your last option is to execute your flows on another computer with full PAD/machine runtime installed and then use the combination of image recognition/ocr/mouse movements/send keys etc - that sucks but is doable in some scenarios

     

    When it comes to 2fa - if this is in corporate/managed environment - work with your IT to disable it for automation service accounts (not regular user's account), that's the proper way.

    If not possible, but still you want to automate it - you can create flow that logs into the app, receives the 2fa prompt, asks user to enter the code/whatever needs to be entered/done, and once user confirm, it continues with next actions.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard
Loading started