Skip to content

Commit 6dc0f6c

Browse files
authored
Merge pull request #10226 from iomimtso/rdp-cyberark-not-supported
AB#8391: Cyberark connection not supported in RDP
2 parents 31b8ab4 + 6a16cda commit 6dc0f6c

3 files changed

Lines changed: 35 additions & 0 deletions

File tree

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
title: Troubleshoot CyberArk Connection Failures for RDP Automation
3+
description: Troubleshoot CyberArk connection failures for RDP automation in Power Automate. Find solutions to ensure seamless remote desktop connections.
4+
ms.reviewer: iomimtso, iopanag, v-shaywood
5+
ms.custom: sap:Desktop flows\UI or browser automation
6+
ms.date: 11/20/2025
7+
---
8+
# RDP automation fails to connect to a machine through CyberArk
9+
10+
This article helps you resolve an issue in which you can't connect to a machine through CyberArk when you use Remote Desktop Protocol (RDP) automation in Microsoft Power Automate for desktop.
11+
12+
## Symptoms
13+
14+
When you execute an RDP automation and it attempts to connect to a machine through CyberArk, the Power Automate agent for virtual desktops doesn't establish communication with Power Automate for desktop, and you receive the following error message:
15+
16+
> A device attached to the system is not functioning.
17+
18+
:::image type="content" source="media/cyberark-connection-not-supported/rdp-connection-failed.png" alt-text="The error message that you receive when you try to connect through CyberArk.":::
19+
20+
However, when you connect directly to the machine by using RDP without CyberArk, the connection works as expected, and Power Automate for desktop successfully communicates with the agent.
21+
22+
## Cause
23+
24+
CyberArk creates a nested remote connection path. This condition interferes with the agent-to-desktop communication that's required for UI and browser automation. Power Automate for desktop doesn't support nested remote connections.
25+
26+
## Solution
27+
28+
To resolve this issue:
29+
30+
- Use a direct RDP connection to the target machine instead of connecting through CyberArk.
31+
- Make sure that the Power Automate agent for virtual desktops is running and correctly registered on the machine.
32+
33+
[!INCLUDE [Third-party disclaimer](../../../../../includes/third-party-disclaimer.md)]
Loading

support/power-platform/power-automate/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ items:
101101
href: desktop-flows/ui-automation/ui-automation-action-fails-errors.md
102102
- name: Interactions with RDP or Citrix applications take a long time and fail
103103
href: desktop-flows/ui-automation/ui-rdp-automation/interactions-with-rdp-citrix-takes-long-and-fails.md
104+
- name: RDP automation fails to connect to a machine through CyberArk
105+
href: desktop-flows/ui-automation/ui-rdp-automation/cyberark-connection-not-supported.md
104106
- name: Set drop-down list value in window/on web page action fails
105107
href: desktop-flows/ui-automation/set-drop-down-list-value-fails.md
106108
- name: UI element highlighting or hovering issues in virtual desktops

0 commit comments

Comments
 (0)