Views:

Applies to Product - Power Automate
 

What’s happening?
The Power Automate cloud flow in attended mode is unable to click a button within the AppScan application after entering and opening it on a Windows VM. This operation was successful on a previous VM, but the same operation cannot be performed on a new VM.
 

Reason:
The application AppScan is running with elevated rights. When a desktop flow is triggered by a cloud flow, actions that require elevated privileges will not have any effect, preventing Power Automate from accessing applications that run with elevated rights.
 

Resolution:

  1. Verify if the AppScan application is running with elevated rights. If it is, consider running Power Automate with elevated rights as well.
  2. Check the properties of the AppScan application to see if it is set to run as an administrator.
  3. Ensure that the desktop flow is not attempting to interact with the AppScan application while it is running in elevated mode, as this will lead to the "WindowNotFoundException" error.
  4. If the issue persists, consult with the IT team to investigate why the AppScan application is consistently running in elevated mode on the new VM.