Skip to content

Commit 86f8b73

Browse files
authored
Merge pull request #7934 from MicrosoftDocs/lucciz01-Merge-content-from-SMC-article-into-LMC-article-and-redirect
AB#3163: Update agent-connectivity-issues-pad.md
2 parents 185245d + 329aefd commit 86f8b73

1 file changed

Lines changed: 19 additions & 10 deletions

File tree

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,32 @@
11
---
22
title: Agent-related error codes when running an attended or unattended desktop flow
33
description: Provides mitigation steps for the agent-related error codes that occur when running attended or unattended desktop flows.
4-
ms.reviewer: kenseongtan
4+
ms.reviewer: kenseongtan, johndund, guco
55
ms.author: kenseongtan
66
ms.date: 12/27/2024
7-
ms.custom: sap:Desktop flows\Power Automate for desktop errors
7+
ms.custom: sap:Desktop flows
88
---
99
# An agent-related error code occurs when running an attended or unattended desktop flow
1010

1111
This article provides the mitigation steps for the agent-related error codes that occur when running attended or unattended desktop flows.
1212

1313
> [!NOTE]
14-
> If the agent-related error code that you receive isnt listed in the table, contact [Power Automate support](https://www.microsoft.com/power-platform/products/power-automate/support/).
14+
> As a first step, we recommend [updating Power Automate for desktop to the latest version](/power-automate/desktop-flows/install#update-power-automate). If the agent-related error code persists after the upgrade, you can try the following mitigation steps to work around the issue. If the agent-related error code that you receive isn't listed in the table, contact [Power Automate support](https://www.microsoft.com/power-platform/products/power-automate/support/).
1515
16-
## More information
16+
## Error codes
1717

18-
|Error code|Description|Mitigation steps|
19-
|---|---|---|
20-
|AgentNotReachable|The agent running the desktop flow is not reachable.|- Ensure that there are no other users connecting to the machine while there are automations running.</br>- Verify that the machine has sufficient compute and memory resources.</br>- Check if the machine has restarted during the execution.|
21-
|UnresponsiveAgent|The agent running the desktop flow is not responsive.|Verify that the machine has sufficient compute and memory resources.|
22-
|AgentHasNotStarted|Power Automate was able to create a session to run the desktop flow but wasn’t able to start the agent inside the session.|Verify that the machine has sufficient compute and memory resources.|
23-
|GatewayTimeout|This is a general technical error code.|Contact [Power Automate support](https://www.microsoft.com/power-platform/products/power-automate/support/).|
18+
|Error code|Description|Cause|Mitigation steps|
19+
|---|---|---|---|
20+
|AgentNotReachable|The agent running the desktop flow isn't reachable.|This error code occurs when the Power Automate service running on your machine can no longer communicate with the agent in the user session executing your flow. It's typically caused by suboptimal machine performance, such as high CPU usage, and might temporarily block the communication between the service and the agent. For more information about all the prerequisites and limitations you should consider before installing and using Power Automate on your desktop, see [Prerequisites and limitations](/power-automate/desktop-flows/requirements).|<ul><li> Ensure that no other users connect to the machine while automations run.</li><li> Verify that the machine has sufficient compute and memory resources.</li><li> Check if the machine restarts during the execution. </li><li> If you still have the problem, you can try [increasing the time-out the Power Automate service uses to communicate with the agent](#how-to-increase-the-time-out-the-power-automate-service-uses-to-communicate-with-the-agent). By default, the value is set to 10 seconds.</li></ul>|
21+
|UnresponsiveAgent|The agent running the desktop flow isn't responsive.|This error code occurs when the Power Automate service running on your machine can no longer communicate with the agent in the user session executing your flow. It's typically caused by suboptimal machine performance, such as high CPU usage, and might temporarily block the communication between the service and the agent. For more information about all the prerequisites and limitations you should consider before installing and using Power Automate on your desktop, see [Prerequisites and limitations](/power-automate/desktop-flows/requirements).|<ul><li> Verify that the machine has sufficient compute and memory resources. </li><li> If you still have the problem, you can try [increasing the time-out the Power Automate service uses to communicate with the agent](#how-to-increase-the-time-out-the-power-automate-service-uses-to-communicate-with-the-agent). By default, the value is set to 10 seconds.</li></ul>|
22+
|AgentHasNotStarted|Power Automate can create a session to run the desktop flow but can't start the agent inside the session.||Verify that the machine has sufficient compute and memory resources. </br></br> For more information about all the prerequisites and limitations you should consider before installing and using Power Automate on your desktop, see [Prerequisites and limitations](/power-automate/desktop-flows/requirements).|
23+
|GatewayTimeout|It's a general technical error code.||Contact [Power Automate support](https://www.microsoft.com/power-platform/products/power-automate/support/).|
24+
25+
## How to increase the time-out the Power Automate service uses to communicate with the agent
26+
27+
To increase the agent time-out in the registry:
28+
29+
1. Press <kbd>Win</kbd>+<kbd>R</kbd> to open the **Run** dialog. Type **regedit** and press <kbd>Enter</kbd> to open the **Registry Editor**.
30+
1. Navigate to the `Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Power Automate Desktop\Service` registry.
31+
1. Add a new DWORD (32-bit) and name it **AgentPingTimeoutSeconds**. Select the **Decimal** radio button, double-click the new value, and enter a desired value (the suggested value is **30**) in the **Value data** field.
32+
1. Restart the Power Automate service. In **Task Manager**, select the **Services** tab, right-click **UIFlowService** in the list, and then select **Restart**.

0 commit comments

Comments
 (0)