Hi,
I am facing issue when i am running power apps on windows VM.
My app launches windows chrome browser and enters credentials and run submit. It runs every 5 minutes and collects the load time.
This is running in a VM.
When i connect the VM using remote desk top connection and runs the scripts it is working.
But when i close the remote desk top connection. Script is failing.
App works only till launching the browser, it is unable to enter credentials. I am using UP Path.
Any leads.
If a remote desktop connection to VM is open, it is working fine for all the iterations.
My expectation is it should run in the server even i am not remotely connecting to VM.
Error:
Correlation Id: e30caec9-81bb-46ce-b0f5-3a008d571694
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.: Microsoft.Flow.RPA.Desktop.Modules.SDK.ActionException: Failed to write text in form field. ---> 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 WindowsInput.WindowsInputMessageDispatcher.DispatchInput(INPUT[] inputs)
at WindowsInput.MouseSimulator.MoveMouseToPositionOnVirtualDesktop(Double absoluteX, Double absoluteY)
at Microsoft.Flow.RPA.Desktop.UIAutomation.DesktopCore.InputSimulator.MouseSimulatorProxyBase.MoveMouseToPosition(Point point)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Common.WebAutomationRuntime.PerformClickAtElement(IWebAutomationBrowser browser, String cssSelectorForElement, ClickType clickType, RectangleEdgePoint mousePositionRelativeToElement, Int32 offsetX, Int32 offsetY)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Common.WebAutomationRuntime.<>c_DisplayClass36_0.<PopulateTextFieldOnWebPagePhysical>b_0(Boolean wait, IWebAutomationBrowser browser)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Common.WebAutomationRuntime.<>c_DisplayClass11_0`1.<ExecuteWebAutomationActionCore>b_0()
at Microsoft.Flow.RPA.Desktop.UIAutomation.Core.Utilities.Clock.Execute[T](TimeSpan timeout, TimeSpan period, Func`1 action, Func`2 successCondition)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Common.WebAutomationRuntime.ExecuteWebAutomationActionCore[T](IWebAutomationBrowser automationBrowser, WebAutomationOptions webAutomationOptions, Func`3 coreFunction, Predicate`1 successCondition)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Common.WebAutomationRuntime.ExecuteWebAutomationAction[T](IWebAutomationBrowser webBrowserInstanceVariant, WebAutomationOptions webAutomationOptions, Func`3 coreFunction)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Common.WebAutomationRuntime.PopulateTextFieldOnWebPagePhysical(IWebAutomationBrowser webBrowserInstanceVariant, String cssSelectorForFormFieldElement, String textValue, Boolean emulateTyping, Boolean unfocusTextFieldAfterFillingIt, WebAutomationOptions webAutomationOptions, PopulateTextModeEnum operation)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Common.WebAutomationRuntime.PopulateTextFieldOnWebPage(IWebAutomationBrowser webBrowserInstance, String cssSelectorForFormFieldElement, String textValue, String dialogButtonToPress, Boolean emulateTyping, Boolean waitForPageToLoad, Int32 courseOfActionIfDialogAppears, Boolean unfocusTextFieldAfterFillingIt, Int32 operationMode, Boolean usePhysicalKeyboard, TimeSpan waitForPageToLoadTimeout)
at Microsoft.Flow.RPA.Desktop.UIAutomation.AutomationServer.Host.WebAutomationRuntimeService.<>c_DisplayClass24_0.<PopulateTextFieldOnWebPage>b_0(IWebAutomationBrowser b)
at Microsoft.Flow.RPA.Desktop.UIAutomation.AutomationServer.Host.WebAutomationRuntimeService.<>c_DisplayClass31_0.<GetBrowserAndExecute>b_0(IWebAutomationBrowser b)
at Microsoft.Flow.RPA.Desktop.UIAutomation.AutomationServer.Host.WebAutomationRuntimeService…
WarrenBelz
109
Most Valuable Professional
Michael E. Gernaey
82
Super User 2025 Season 1
MS.Ragavendar
72