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

Community site session details

Session Id : T4N5pUiYR2HQbSyHtQe3uo
Power Automate - Power Automate Desktop
Unanswered

Error User Interface Privacy Isolation (UIPI)

Like (0) ShareShare
ReportReport
Posted on 25 Mar 2023 01:42:12 by 40

RPA is working fine in the server. but when i call from the cloud it is throwing error below.

 

Problem while executing action 'Click'. Double click failed (error while clicking) 

Microsoft.Flow.RPA.Desktop.Modules.SDK.ActionException: Double click failed (error while clicking) ---> System.Exception: 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. Similarly certain commands are restricted to Accessibility/UIAutomation applications. Refer to the project home page and the code samples for more information.
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.Proxy.RemoteAutomationRuntimeProxy.HandleResult[T](Func`2 func)
   at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Actions.ClickElementInWindow.<>c__DisplayClass21_0.<Execute>b__0(IAutomationRuntime r)
   at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.UIAutomationActionBase.PerformAutomation(Action`1 action, UIControl control)
   at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Actions.ClickElementInWindow.Execute(ActionContext context)
   --- End of inner exception stack trace ---
   at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Actions.ClickElementInWindow.Execute(ActionContext context)
   at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)

  • lucaseduardo Profile Picture
    3 on 29 May 2024 at 17:17:15
    Re: Error User Interface Privacy Isolation (UIPI)

    I'm also experiencing a related issue.


    I have a process that runs unattended within windows server 2016 environment. The process clicks often during the whole time, but, only in the end occured to have some trouble with UIPI.


    I think the issue is not in the user interface element, because if it were, i would receive the error message signalizing it.


    This bug is already tracked? Couldn't find something that specific. 


    Problema ao executar a ação 'Click'. Clicar falhou (erro ao clicar)

    Microsoft.Flow.RPA.Desktop.Modules.SDK.Extended.Exceptions.InternalActionException: Clicar falhou (erro ao clicar) ---> System.InvalidOperationException: 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. Similarly certain commands are restricted to Accessibility/UIAutomation applications. Refer to the project home page and the code samples for more information.
    em WindowsInput.WindowsInputMessageDispatcher.DispatchInput(INPUT[] inputs) na /_/src/libs/H.InputSimulator/WindowsInputMessageDispatcher.cs:linha 37
    em WindowsInput.MouseSimulator.MoveMouseToPositionOnVirtualDesktop(Double absoluteX, Double absoluteY) na /_/src/libs/H.InputSimulator/MouseSimulator.cs:linha 163
    em Microsoft.Flow.RPA.Desktop.UIAutomation.DesktopCore.InputSimulator.MouseSimulatorProxyBase.MoveMouseToPosition(Point point)
    em Microsoft.Flow.RPA.Desktop.UIAutomation.Runtime.AutomationRuntimes.UIAutomationRuntimeBase.ClickElementInWindow(IntPtr windowHandle, String selector, MouseClickTypeEnum clickType, RectangleEdgePointEnum elementRectangleEdgePoint, Int32 offsetX, Int32 offsetY)
    em Microsoft.Flow.RPA.Desktop.UIAutomation.Runtime.LocalAutomationRuntime.ClickElementInWindow(UIRuntimeElement element, Int32 offsetX, Int32 offsetY, MouseClickTypeEnum clickType, RectangleEdgePointEnum elementRectangleSubsector)
    --- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
    em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    em Microsoft.Flow.RPA.Desktop.UIAutomation.Runtime.Router.UIAutomationRuntimeRouter.Invoke(MethodInfo targetMethod, Object[] args)
    --- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
    em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    em System.Reflection.DispatchProxyGenerator.Invoke(Object[] args)
    em generatedProxy_2.ClickElementInWindow(UIRuntimeElement , Int32 , Int32 , MouseClickTypeEnum , RectangleEdgePointEnum )
    --- Fim do rastreamento de pilha de exceção remota ---
    em Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.Proxy.RemoteAutomationRuntimeProxy.Invoke(MethodInfo targetMethod, Object[] args)
    --- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
    em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    em System.Reflection.DispatchProxyGenerator.Invoke(Object[] args)
    em generatedProxy_2.ClickElementInWindow(UIRuntimeElement , Int32 , Int32 , MouseClickTypeEnum , RectangleEdgePointEnum )
    em Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Actions.ClickElementInWindow.<Execute>b__25_1(IAutomationRuntimeProxy r, UIRuntimeElement e)
    em Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.UIAutomationActionBase.PerformAutomation(Action`2 action, UIControl control, Boolean logAction)
    em Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Actions.ClickElementInWindow.Execute(ActionContext context)
    --- Fim do rastreamento de pilha de exceções internas ---
    em Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Actions.ClickElementInWindow.Execute(ActionContext context)
    em Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)



  • VenuMV Profile Picture
    4 on 11 Jul 2023 at 10:00:38
    Re: Error User Interface Privacy Isolation (UIPI)

    Can I Know how it got resolved, tried restarting server but same error

  • Nived_Nambiar Profile Picture
    17,956 Super User 2025 Season 2 on 25 Mar 2023 at 16:19:58
    Re: Error User Interface Privacy Isolation (UIPI)

    Good to know that it worked !

     

  • mitsurya Profile Picture
    40 on 25 Mar 2023 at 15:57:20
    Re: Error User Interface Privacy Isolation (UIPI)

    Thank you for your reply. Yes I logged into the server. after restarting the server it worked fine.  looks like cloud also taking some time to reflect the desktop changes.

  • Nived_Nambiar Profile Picture
    17,956 Super User 2025 Season 2 on 25 Mar 2023 at 02:31:20
    Re: Error User Interface Privacy Isolation (UIPI)

    Hi @mitsurya 

     

    It seems like an issue with permission.

     

    Could you confirm, whether you are logged in while  running the bot in server as you said it working fine in server ?

     

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2