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 : gJjeOYWeAUAm0E8ziLT1ka
Power Apps - Power Apps Pro Dev & ISV
Unanswered

Power Apps on Windowns VM

Like (0) ShareShare
ReportReport
Posted on 5 Apr 2023 11:23:03 by 6

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…

 

 

 

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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473