Thank you for choosing Microsoft Community.
Working with Power Automate Desktop flows stored in a Remote Desktop environment can be quite efficient. Here are some key points to consider:
Working with Power Automate Desktop Flows in Remote Desktop
Install the Power Automate Agent for Virtual Desktops: Ensure that the Power Automate agent for virtual desktops is installed and running on the remote machine. This agent is necessary for capturing UI elements and deploying UI automation actions.
Running Flows: You can run desktop flows on virtual desktops just like on physical devices. The agent starts automatically when a user logs in to the virtual desktop. If it isn’t running, you can manually start it by searching for "Power Automate agent for virtual desktops" in the Start menu.
Mouse and Keyboard Actions: Power Automate Desktop allows you to simulate mouse movements and clicks. You can use the "Move mouse to image" action to move the mouse to a specific image on the screen.
This action will work even if the monitor of the remote destination is not attached, as long as the remote desktop session is active and the image is visible in the session.
Unattended Runs: For unattended runs, Power Automate creates a remote desktop session on the machine to run the flows. The session is managed and released automatically by Power Automate.
Practical Tips
Ensure Visibility: Make sure that the UI elements or images you want to interact with are visible in the remote desktop session.
Use OCR Actions: If images are not reliable, consider using OCR (Optical Character Recognition) actions to interact with text elements on the screen.
Monitor and Debug: Regularly monitor and debug your flows to ensure they are running as expected in the remote environment.
By following these guidelines, you can effectively manage and run Power Automate Desktop flows in a Remote Desktop environment. If you have any specific scenarios or issues, feel free to share, and I can provide more targeted advice!
Happy to help
Robu 1