
Hello,
I am trying to run a flow on a VM in unattended mode. The VM is up with no user sessions on. The flow is running fine when run on my physical device. It also runs fine when I run the same flow on the VM when I am on the VM. Ultimately I want to schedule this flow to run on the VM in unattended mode. I setup the connection and that part is good. When I try to schedule/run the flow on the VM (from being on the physical machine), it is erroring out on populate text field.
The error is "Problem while executing action 'PopulateTextFieldUsePhysicalKeyboard'. Failed to write text in form field. "
Prior to this there are other instructions like lacnch excel, broswer which work fine. How can I resolve this issue? Please advise. Do I need to setup any additional software on either/both physical machine and VM?
Unattended bot runs at a lower resolution, try your automation with a lowered one, see if that's the cause, if it is follow the guide in this article (https://learn.microsoft.com/en-us/power-automate/desktop-flows/how-to/set-screen-resolution-unattended-mode)
Otherwise if that's not it, it could also just be a simple wait issue, put a wait right before the populate action and try again (has happened to me many times before, bot runs slower I guess)
Finally if its neither of those, you'll have to switch to Send Keys as a last resort.