Skip to content

Commit 986105c

Browse files
committed
Initial
1 parent 70719dc commit 986105c

7 files changed

Lines changed: 127 additions & 0 deletions

File tree

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
title: Collecting debug logs from agent for Virtual desktops
3+
description: Guide on how to collect debug logs from remote agent to further investigate issues.
4+
ms.reviewer: amitrou
5+
ms.author: iopanag
6+
author: JohnPanagiotopoulos
7+
ms.custom: sap:Desktop flows\UI or browser automation
8+
ms.date: 20/03/2025
9+
---
10+
11+
# Collecting debug logs from agent for Virtual desktops
12+
13+
This article will help you collect debug logs from remote Agent for Virtual Desktops. Most of the times this is not needed. However, when you have exhausted all troubleshooting methods for an RDP/Citrix issue, collecting debug logs from the remote machine might help with investigation.
14+
15+
## How to enable
16+
17+
1. Login on the remote machine that is affected and set an environment variable either machine-wide or to specific affected user.
18+
19+
- Name: **PAD_DEBUG_RDP**
20+
- Value: **true**
21+
22+
> [!NOTE]
23+
> You might need administrator rights on the remote machine to change environment variables.
24+
25+
2. Log out of the remote affected session and log back in for the variable to take effect.
26+
3. Run the agent and try to perform the usual automation the user is trying to do.
27+
4. Afterwards check on the remote session Desktop folder for a folder named **PAD_RDP_DEBUG**
28+
5. Copy this folder to the desired machine.
29+
6. Check the logs for information you might not want to share.
30+
7. Remove the **PAD_DEBUG_RDP** environment variable from the remote machine to avoid to disable writing logs.
31+
32+
## More information
33+
34+
[Automate on virtual desktops](/power-automate/desktop-flows/virtual-desktops)
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
title: Configuring timeouts for RDP/Citrix automations
3+
description: Guide on how configure certain timeout that affect RDP/Citrix automations on Power Automate.
4+
ms.reviewer: amitrou
5+
ms.author: iopanag
6+
author: JohnPanagiotopoulos
7+
ms.custom: sap:Desktop flows\UI or browser automation
8+
ms.date: 20/03/2025
9+
---
10+
11+
# Configuring timeouts for RDP/Citrix automations
12+
13+
There might be cases where interacting with RDP/Citrix applications might timeout and require additional time to work. These can be configured like the rest of Power Automate timeouts like in [Timeout configuration for UI and browser automation](https://learn.microsoft.com/en-us/power-automate/desktop-flows/how-to/ui-automation-change-timeout-cofiguration). Use this guide to configure the following values as needed.
14+
15+
## Issue: Something takes long time and fails afterwards
16+
17+
The webpage/application may not repond fast to Power Automate requests. This is probably to application/webpage misbehaviour or bad connection to RDP/Citrix environment. Depending the application type you can extend the max wait time Power Automate will wait for response from the application:
18+
19+
- **Java.Bridge.Client.ReadWriteTimeout**: In case the target application is JAVA based, this will additionally increase time waiting for responses. In remote JAVA applications (RDP/Citrix), this is needed to be changed on the remote machine.
20+
- **BrowserNativeMessageHost.MessageTimeout** and **WebExtensionsMessageProxy.SendTimeout**: In case web automation is used, this will increase the max time that will wait for webpage to respond. In remote webpages (RDP/Citrix), this is needed to be changed on the remote machine.
21+
- **RDP.Client.CallTimeOut**: When the application/webpage is on a remote machine, either RDP or Citrix. This will will additionaly increase the max time that will wait for the remote application/webpage to respond.
22+
23+
If the problem is design oriented (e.g. failing to capture an Element from the designer), you will also need to configure the following too:
24+
25+
- **AutomationServerEndpoint.DesignTime.CallTimeout**: This will increase the time the Power Automate Designer will wait for response.
26+
27+
If the problem is in runtime (when running the flow), you will also need to configure the following too:
28+
29+
- **AutomationServerEndpoint.Runtime.CallTimeout**: This will increase the max time that runtime will wait for an action to be performed.
Loading
Loading
Loading
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
title: Elements are highlighted but on runtime clicks are not happening on Citrix Virtual apps
3+
description: Solves an issue that occurs when hovering over elements in Citrix Virtual apps works but on runtime clicks do not work
4+
ms.reviewer: amitrou
5+
ms.author: iopanag
6+
author: JohnPanagiotopoulos
7+
ms.custom: sap:Desktop flows\UI or browser automation
8+
ms.date: 03/03/2025
9+
---
10+
# Elements are highlighted but on runtime clicks are not happening on Citrix Virtual apps
11+
12+
This article helps you resolve an issue you may encounter when trying to click an element in Citrix Virtual apps.
13+
14+
## Symptoms
15+
16+
When you hover the mouse cursor over a UI or web element of an application or webpage inside a Citrix virtual app with [UI element picker](/power-automate/desktop-flows/ui-elements#ui-elements-types) the elements are highlighted and captured, however when used in an action, the interaction is not happening and no error is shown. Test selector works fine.
17+
18+
## Cause
19+
20+
The Citrix Workspace HI DPI settings are interfering with PAD interactions. Mostly affected setups with multiple monitors.
21+
22+
## Resolution
23+
24+
1. Disable Citrix Workspace HIDPI option. From the tray icon right click on the Citrix Workspace icon.
25+
2. Click on 'Advanced Preferences'.
26+
3. Click on 'High DPI' link.
27+
4. On the options shown, select the 'Let the operating system scale the resolution'.
28+
5. Click 'Save' and close the remaining Citrix workspace preferences windows.
29+
6. Close any Citrix Desktops or Virtual apps and start them again.
30+
7. If needed change the Desktop scaling of the machine running PAD to 100%. For unattended machines follow these instructions: [Set screen resolution on unattended mode - Power Automate](https://learn.microsoft.com/en-us/power-automate/desktop-flows/how-to/set-screen-resolution-unattended-mode)
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
title: Troubleshooting RDP or Citrix issues with the Troubleshooter
3+
description: Guide on how use the Power Automate troubleshooter to diagnose RDP/Citrix automation issues.
4+
ms.reviewer: amitrou
5+
ms.author: iopanag
6+
author: JohnPanagiotopoulos
7+
ms.custom: sap:Desktop flows\UI or browser automation
8+
ms.date: 20/03/2025
9+
---
10+
11+
# Troubleshooting RDP or Citrix issues with the Troubleshooter
12+
13+
This article will help you use the Power Automate troubleshooter to diagnose and potentialy solve issues related to RDP or Citrix automation. When faced with such issues, the troubleshooter should be the first course of actions for diagnosing the problem.
14+
15+
## How to diagnose issues with the troubleshooter
16+
17+
1. Make sure the problematic remote RDP/Citrix session/app is up. The troubleshooter will attempt to connect with it to check for issues.
18+
2. Launch the troubleshooter from the Power Automate menu, `Help -> Troubleshooter`
19+
20+
:::image type="content" source="media/troubleshooting-with-the-troubleshooter/troubleshooting-with-the-troubleshooter.png" alt-text="Screenshot of the Power Automate designer help menu with the Troubleshooter option highlighted.":::
21+
22+
3. Click on the `Run` button of the `Troubleshoot UI/Web automation issues` section.
23+
24+
:::image type="content" source="media/troubleshooting-with-the-troubleshooter/troubleshooter-uiautomation-option.png" alt-text="Screenshot of the Power Automate troubleshooter with the 'Run' button of 'UI/Web automation' section highlighted":::
25+
26+
4. After the troubleshooter completes its checks, expand the 'RDP/Citrix UI Automation' section by clicking the right arrow next to it.
27+
28+
:::image type="content" source="media/troubleshooting-with-the-troubleshooter/troubleshooter-rdp-issues.png" alt-text="Screenshot of the Power Automate troubleshooter with the 'RDP/Citrix UI Automation' section expanded and a list off issues are shown in a list along with detected RDP/Citrix clients with its separate issues":::
29+
30+
5. The section shows the errors detected and possible solutions where apply. Furthermore for each RDP/Citrix session/app that was detected, more detailed errors are displayed for each.
31+
32+
## More information
33+
34+
[Automate on virtual desktops](/power-automate/desktop-flows/virtual-desktops)

0 commit comments

Comments
 (0)