Skip to content

Commit 7f1a241

Browse files
authored
Merge pull request #8028 from MicrosoftDocs/users/johndund/disconnectedaftersignout
AB#3457: Add support doc for machine appearing offline after sign out
2 parents 45bdbc0 + b0a20ce commit 7f1a241

1 file changed

Lines changed: 16 additions & 9 deletions

File tree

support/power-platform/power-automate/desktop-flows/troubleshoot-direct-connectivity-issues.md

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
title: Direct connectivity issues in Power Automate for desktop
33
description: Provides more information about how to solve the direct connectivity issues in Power Automate for desktop.
44
ms.reviewer: guco, madiazor, johndund, qliu
5-
ms.date: 11/21/2024
6-
ms.custom: sap:Desktop flows\Power Automate for desktop errors
5+
ms.date: 01/22/2025
6+
ms.custom: sap:Desktop flows
77
---
88
# Direct connectivity issues in Power Automate for desktop
99

@@ -14,7 +14,7 @@ _Original KB number:_   5016345
1414

1515
## Symptoms
1616

17-
Consider the following scenarios when using direct machine connectivity (not the data gateway, which has been deprecated for desktop flows):
17+
When attempting to run your desktop flows from a cloud flow or manage your desktop flow machines, you might encounter one of the following issues:
1818

1919
#### Scenario 1
2020

@@ -27,15 +27,19 @@ Consider the following scenarios when using direct machine connectivity (not the
2727
2828
#### Scenario 2
2929

30-
- Desktop flows run on a registered machine as long as a user session is running (attended runs) or even for some minutes after the last user has logged off (unattended runs).
30+
- Desktop flows run on a registered machine as long as a user session is running (attended runs) or even for some minutes after the last user signs out (unattended runs).
3131
- The connection to the machine is lost after some minutes (for example, 15 minutes).
32-
- The connection is re-established once a user logs back on to the machine.
32+
- The connection is re-established once a user signs back in to the machine.
33+
34+
#### Scenario 3
35+
36+
When you sign out of your Windows computer, the machine status in the Power Automate portal shows as disconnected.
3337

3438
## Cause
3539

36-
Direct to machine connectivity uses Azure WCF relays to allow the Microsoft cloud to connect to on-premises machines and schedule desktop flow runs. The Power Automate Windows service that runs on-premises opens a relay listener that connects to the Azure cloud by opening web sockets.
40+
Direct to machine connectivity uses [Azure WCF relays](/azure/azure-relay/relay-what-is-it#wcf-relay) to allow the Microsoft cloud to connect to on-premises machines and schedule desktop flow runs. The Power Automate Windows service that runs on-premises opens a relay listener that connects to the Azure cloud by opening web sockets.
3741

38-
The most common cause of relay connectivity issues is the machine losing connection to the network. This can be caused by your machine not being powered on or losing network when no user is signed in to the machine for instance.
42+
The most common cause of relay connectivity issues is the machine losing connection to the network. This can be caused by your machine not being powered on or losing network when no user is signed in to the machine.
3943

4044
The Power Automate service runs under its own Windows account (NT Service\UIFlowService by default) which must have access to the network and be able to connect to _*.servicebus.windows.net_ (for more information, see [network requirements](/power-automate/ip-address-configuration#desktop-flows-services-required-for-runtime).)
4145

@@ -54,13 +58,16 @@ You can refer to [Proxy setup](https://support.microsoft.com/topic/power-automat
5458

5559
2. Understand the topology of the network: what network devices does the traffic hop through before being handed off to the public internet: NAT, firewalls, proxies and so on. Get logs from these devices during impacted runs, and logs from the outermost network device attesting that the traffic to _*.servicebus.windows.net_ is handed off to the public internet.
5660

57-
3. Get WCF logs from UI flow service. For more information, see the [Enable WCF tracing](#enable-wcf-tracing) section below.
61+
3. If your network traffic runs though a proxy, attempt to mitigate the issue by [changing the on-premises account](/power-automate/desktop-flows/troubleshoot#change-the-on-premises-service-account) with which the Power Automate service (UIFlowService) runs.
62+
63+
4. Get WCF logs from the Power Automate service (UIFlowService). For more information, see the [Enable WCF tracing](#enable-wcf-tracing) section below.
5864

59-
4. Make sure your network configuration allows web socket traffic and long-running connections: a common pattern is proxies or other network devices killing connections after a set time.
65+
5. Make sure your network configuration allows web socket traffic and long-running connections: a common pattern is proxies or other network devices killing connections after a set time.
6066

6167
## What information to include when opening a support ticket
6268

6369
- Your network topology: what are the devices that traffic goes through. (see the step 2 in the section above)
70+
- Whether the Power Automate service (UIFlowService) on your machine is running as the default account (NT Service\UIFlowService) or if it has been changed to run as a different account.
6471
- Logs from your network devices showing that the traffic is indeed handed off to the public internet. Include times of the issues and the time zones used by the logs.
6572
- WCF traces from the impacted machines. (see the [Enable WCF tracing](#enable-wcf-tracing) section below)
6673
- Desktop flow run IDs of impacted runs.

0 commit comments

Comments
 (0)