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 / UI actions failing whe...
Power Automate
Unanswered

UI actions failing when RDP is minimized or in Unattended mode

(0) ShareShare
ReportReport
Posted on by 4

Hi all,

 

I have a desktop flow to automate a process in Business Central. Everything works just fine but as soon as I minimize the RDP or I try to launch the bot in unattended mode via cloud (with RDP session closed), it always fails at the second or third UI action (click in webpage). 

 

Do you have any idea what might be causing this??

 

The error I'm getting is: 

Failed to (activity)

Some simulated input commands were not sent successfully. The most common reason for this happening are the security features of Windows including User Interface Privacy Isolation (UIPI). Your application can only send commands to applications of the same or lower elevation.

  • Anil_g Profile Picture
    668 Moderator on at

    @GinesCirera 

     

    Couple of reasons why it can happen

     

    1. rather than disconnecting it is always better to signout the session this might cause ui to be locked

    2. Is there any sleep time configured on the machine?if yes we can disable it or increase the time

    3. When minimized mostly it might not work as expected as generally when minimized ui would be disconnected or not available..

     

    cheers

  • CU16071609-1 Profile Picture
    6,255 Moderator on at

    @GinesCirera 

     

    When running your bots in unattended mode, avoid accessing your VM while the bot is operational. After scheduling your flow for unattended execution, the cloud orchestrator requires that your machine be available for connection and where bot automatically sign in your VM with predefined user credentials 

     


    Thanks,
    Deenuji Loganathan 👩‍💻
    Automation Evangelist 🤖
    Follow me on LinkedIn 👥

    -------------------------------------------------------------------------------------------------------------
    If I've helped solve your query, kindly mark my response as the solution ✔ and give it a thumbs up!👍 Your feedback supports future seekers 🚀

     

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 426

#2
11manish Profile Picture

11manish 308 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 159

Last 30 days Overall leaderboard