Skip to content

Commit 7796fab

Browse files
authored
Merge pull request #8077 from MicrosoftDocs/main
Auto push to live 2025-01-21 18:00:03
2 parents 1d3b92b + 984d90d commit 7796fab

5 files changed

Lines changed: 182 additions & 35 deletions

File tree

support/azure/azure-storage/files/security/files-troubleshoot-linux-nfs.md

Lines changed: 71 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Troubleshoot NFS file shares - Azure Files
33
description: Troubleshoot issues with NFS Azure file shares.
44
ms.service: azure-file-storage
55
ms.custom: sap:Security, linux-related-content
6-
ms.date: 10/11/2024
6+
ms.date: 01/21/2025
77
ms.reviewer: kendownie
88
---
99

@@ -24,6 +24,76 @@ This article lists common issues related to NFS Azure file shares and provides p
2424
| Standard file shares (GPv2), GRS/GZRS | :::image type="icon" source="media/files-troubleshoot-linux-nfs/no-icon.png" border="false"::: | :::image type="icon" source="media/files-troubleshoot-linux-nfs/no-icon.png" border="false"::: |
2525
| Premium file shares (FileStorage), LRS/ZRS | :::image type="icon" source="media/files-troubleshoot-linux-nfs/no-icon.png" border="false"::: | :::image type="icon" source="media/files-troubleshoot-linux-nfs/yes-icon.png" border="false":::|
2626

27+
## Use the Always-On Diagnostics tool
28+
29+
You can use the Always-On Diagnostics (AOD) tool to collect logs on NFSv4 and SMB Linux clients. The daemon runs in the background as a system service and can be configured to detect anomalies in a variety of sources such as dmesg logs, debug data, and error and latency metrics. It can capture data from tcpdump, nfsstat, mountstsat, and other sources, along with the system's CPU and memory usage. The tool can be useful for collecting debug information on field issues that can be hard to reproduce.
30+
31+
AOD is currently compatible with systems running SUSE Linux Enterprise Server 15 (SLES15) and Red Hat Enterprise Linux 8 (RHEL8). Follow the appropriate installation steps.
32+
33+
### [RHEL](#tab/RHEL)
34+
35+
Follow these instructions to install the Always-On Diagnostics tool on Red Hat Enterprise Linux 8.
36+
37+
1. Download the repo config package.
38+
39+
```
40+
curl -ssl -O https://packages.microsoft.com/config/rhel/8/packages-microsoft-prod.rpm
41+
```
42+
43+
2. Install the repo config package.
44+
45+
```
46+
sudo rpm -i packages-microsoft-prod.rpm
47+
```
48+
49+
3. Delete the repo config package after installing and updating the package index files.
50+
51+
```
52+
rm packages-microsoft-prod.rpm
53+
sudo dnf update
54+
```
55+
56+
4. Install the package.
57+
58+
```
59+
sudo dnf install aod
60+
```
61+
62+
### [SLES](#tab/SLES)
63+
64+
Follow these instructions to install the Always-On Diagnostics tool on SUSE Linux Enterprise Server 15.
65+
66+
1. Add the Microsoft repo. You might need to add the Microsoft repository key to your list of trusted keys.
67+
68+
```
69+
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
70+
sudo zypper addrepo --check --refresh --name 'Microsoft' https://packages.microsoft.com/sles/15/prod microsoft
71+
```
72+
73+
2. Refresh the repositories.
74+
75+
```
76+
sudo zypper refresh
77+
```
78+
79+
3. Check if the repo has been added and the aod package is available for installation.
80+
81+
```
82+
zypper search aod
83+
```
84+
85+
4. Install the package.
86+
87+
```
88+
sudo zypper install aod
89+
```
90+
91+
### [Ubuntu](#tab/Ubuntu)
92+
93+
The Always-On Diagnostics tool is not yet available for Ubuntu.
94+
95+
---
96+
2797
## chgrp "filename" failed: Invalid argument (22)
2898

2999
### Cause 1: idmapping isn't disabled

support/azure/azure-storage/files/security/files-troubleshoot-linux-smb.md

Lines changed: 74 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ ms.reviewer: kendownie, v-weizhu
1111

1212
This article lists common issues that can occur when using SMB Azure file shares with Linux clients. It also provides possible causes and resolutions for these problems.
1313

14-
You can use [AzFileDiagnostics](https://github.com/Azure-Samples/azure-files-samples/tree/master/AzFileDiagnostics/Linux) to automate symptom detection and ensure that the Linux client has the correct prerequisites. It helps set up your environment to get optimal performance. You can also find this information in the [Azure file shares troubleshooter](https://support.microsoft.com/help/4022301/troubleshooter-for-azure-files-shares).
15-
1614
> [!IMPORTANT]
1715
> This article only applies to SMB shares. For details on NFS shares, see [Troubleshoot NFS Azure file shares](/azure/storage/files/files-troubleshoot-linux-nfs).
1816
@@ -24,6 +22,80 @@ You can use [AzFileDiagnostics](https://github.com/Azure-Samples/azure-files-sam
2422
| Standard file shares (GPv2), GRS/GZRS | :::image type="icon" source="media/files-troubleshoot-smb-authentication/yes-icon.png" border="false"::: | :::image type="icon" source="media/files-troubleshoot-smb-authentication/no-icon.png" border="false"::: |
2523
| Premium file shares (FileStorage), LRS/ZRS | :::image type="icon" source="media/files-troubleshoot-smb-authentication/yes-icon.png" border="false"::: | :::image type="icon" source="media/files-troubleshoot-smb-authentication/no-icon.png" border="false"::: |
2624

25+
## Run diagnostics
26+
27+
Diagnostics tools can be helpful for ensuring that clients have the correct prerequisites and for collecting debug information on field issues that can be hard to reproduce.
28+
29+
### Use AzFileDiagnostics
30+
31+
You can use [AzFileDiagnostics](https://github.com/Azure-Samples/azure-files-samples/tree/master/AzFileDiagnostics/Linux) to automate symptom detection and ensure that the Linux client has the correct prerequisites. It helps set up your environment to get optimal performance.
32+
33+
### Use the Always-On Diagnostics tool
34+
35+
You can also use the Always-On Diagnostics (AOD) tool to collect logs on SMB and NFSv4 Linux clients. The daemon runs in the background as a system service and can be configured to detect anomalies in a variety of sources such as dmesg logs, debug data, and error and latency metrics. It can capture data from tcpdump, nfsstat, mountstsat, and other sources, along with the system's CPU and memory usage.
36+
37+
AOD is currently compatible with systems running SUSE Linux Enterprise Server 15 (SLES15) and Red Hat Enterprise Linux 8 (RHEL8). Follow the appropriate installation steps.
38+
39+
#### [SLES](#tab/SLES)
40+
41+
Follow these instructions to install the Always-On Diagnostics tool on SUSE Linux Enterprise Server 15.
42+
43+
1. Add the Microsoft repo. You might need to add the Microsoft repository key to your list of trusted keys.
44+
45+
```
46+
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
47+
sudo zypper addrepo --check --refresh --name 'Microsoft' https://packages.microsoft.com/sles/15/prod microsoft
48+
```
49+
50+
2. Refresh the repositories.
51+
52+
```
53+
sudo zypper refresh
54+
```
55+
56+
3. Check if the repo has been added and the aod package is available for installation.
57+
58+
```
59+
zypper search aod
60+
```
61+
62+
4. Install the package.
63+
64+
```
65+
sudo zypper install aod
66+
```
67+
68+
#### [RHEL](#tab/RHEL)
69+
70+
Follow these instructions to install the Always-On Diagnostics tool on Red Hat Enterprise Linux 8.
71+
72+
1. Download the repo config package.
73+
74+
```
75+
curl -ssl -O https://packages.microsoft.com/config/rhel/8/packages-microsoft-prod.rpm
76+
```
77+
78+
2. Install the repo config package.
79+
80+
```
81+
sudo rpm -i packages-microsoft-prod.rpm
82+
```
83+
84+
3. Delete the repo config package after installing and updating the package index files.
85+
86+
```
87+
rm packages-microsoft-prod.rpm
88+
sudo dnf update
89+
```
90+
91+
4. Install the package.
92+
93+
```
94+
sudo dnf install aod
95+
```
96+
97+
---
98+
2799
## <a id="timestampslost"></a>Time stamps were lost when copying files
28100

29101
On Linux/Unix platforms, the `cp -p` command fails if different users own file 1 and file 2.
Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,52 @@
11
---
2-
title: Power Automate for desktop installation logs
3-
description: Introduces the locations that contain Power Automate for desktop installation logs.
4-
ms.reviewer: quseleba, guco
5-
ms.date: 09/13/2024
2+
title: Power Automate for desktop logs
3+
description: Introduces the locations that contain Power Automate for desktop logs.
4+
ms.reviewer: quseleba, guco, madiazor, johndund
5+
ms.date: 01/22/2025
66
ms.custom: sap:Desktop flows\Working with Power Automate for desktop
77
---
8-
# Power Automate for desktop installation logs
8+
# Power Automate for desktop logs
99

10-
If your Power Automate for desktop installation fails, you can use the logs described in this article to diagnose and resolve issues. If you need to contact [Microsoft Support](https://www.microsoft.com/power-platform/products/power-automate/support) for assistance with installation issues, collect the following logs in a .zip file and include them in the support request to expedite the investigation.
10+
When troubleshooting issues with Power Automate for desktop, you might need to collect logs for customer support to analyze. These logs can be for a failed installation, problems running desktop flows, or issues with Power Automate or the machine runtime application.
1111

1212
_Applies to:_ &nbsp; Power Automate
1313
_Original KB number:_ &nbsp; 4555577
1414

1515
## Installer logs
1616

17-
These logs can be found in the _%temp%_ folder of the user who performed the installation. You can find them by typing _%temp%_ in the address bar of File Explorer. The files of interest are:
17+
The easiest way to get installer logs is to export them using the link provided at the end of a failed installation. When your installation fails and displays "There's a problem installing," select the **installation log files** link located under the **Troubleshooting tips** section.
18+
19+
:::image type="content" source="media/how-to-get-power-automate-desktop-installer-logs/installation-log-files.png" alt-text="Screenshot of the page that contains the installation log files link that you can use to export the installer logs.":::
20+
21+
If you need to get the installer files manually, they can be found in the _%temp%_ folder of the user who performed the installation. You can find them by typing _%temp%_ in the address bar of File Explorer to locate the following files:
1822

1923
- _Power Automate for desktop\_*.log_
2024
- _Power Automate for desktop\_\*\_\*\_MicrosoftFlowRPA.log_
2125

22-
The _Power Automate for desktop\_*.log_ file contains the general reason why the installation failed. The _Power Automate for desktop\_\*\_\*\_MicrosoftFlowRPA.log_ file has more detailed information.
26+
The _Power Automate for desktop\_*.log_ file contains the general reason for the installation failure. The _Power Automate for desktop\_\*\_\*\_MicrosoftFlowRPA.log_ file provides more detailed information.
2327

2428
:::image type="content" source="media/how-to-get-power-automate-desktop-installer-logs/power-automate-installer-logs.png" alt-text="Screenshot of the Power automate for desktop installer logs.":::
2529

26-
### How to export the Installer logs
30+
## On-premises product logs
2731

28-
If your installation encounters an error and displays the message "There's a problem installing," you can find more details by selecting the "installation log files" link located under the **Troubleshooting tips** section. This will allow you to export the installer logs.
32+
For issues with creating flows, [using the Runtime Application to register](/power-automate/desktop-flows/manage-machines#register-a-new-machine) or configure your machine, or issues during cloud runtime, you might need to gather on-premises logs.
2933

30-
:::image type="content" source="media/how-to-get-power-automate-desktop-installer-logs/installation-log-files.png" alt-text="Screenshot of the page that contains the installation log files link that you can use to export the installer logs.":::
34+
The easiest way to do this is to use the Power Automate machine runtime application. If you have the application installed, you can [use it to export logs automatically](/power-automate/desktop-flows/troubleshoot#collect-machine-logs).
3135

32-
## Program data logs
33-
34-
These are logs of the components installed on your machine. You can find them by typing the path _%programdata%\Microsoft\Power Automate\Logs_ in the address bar of File Explorer.
36+
If you need to collect on-premises logs manually, they can be found in _%programdata%\Microsoft\Power Automate\Logs_.
3537

3638
> [!NOTE]
3739
> You need administrator privileges to read or copy these files to another folder. After copying them to a different folder, non-administrator users can open them.
3840
3941
## Event Viewer logs
4042

41-
These logs are helpful when a Windows service fails to start.
43+
Event Viewer application logs are helpful when an application crashes or a Windows service fails to start.
4244

4345
Follow these steps to view and save the logs:
4446

4547
1. Open the Windows Event Viewer.
46-
2. Go to **Windows Logs** > **Application**, find the error, and review the information in the **General** and **Details** tabs.
47-
3. If needed, use the **Filter Current Log** menu to filter by **Event level** or **Logged** time (such as the last hour).
48+
2. Go to **Windows Logs** > **Application**, and look for an error with the source corresponding to the application that experienced the problem.
49+
3. Use the **Filter Current Log** menu to filter by **Event level** or **Logged** time (such as the last hour) if needed.
4850
4. To save the filtered log file, select **Save Filtered Log File As** and save it as an event file.
4951

5052
:::image type="content" source="media/how-to-get-power-automate-desktop-installer-logs/power-automate-event-viewer-logs.png" alt-text="Screenshot of an example error logged in the Event Viewer.":::
51-
52-
## More information
53-
54-
[Troubleshoot installation issues in Power Automate for desktop](power-automate-desktop-installation-issues.md)

support/power-platform/power-automate/desktop-flows/power-automate-desktop-installation-issues.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Installation issues in Power Automate for desktop
33
description: Helps troubleshoot stallation issues in Power Automate for desktop.
44
ms.reviewer: guco, johndund
5-
ms.date: 09/12/2024
5+
ms.date: 01/20/2025
66
ms.custom: sap:Desktop flows\Installation issues
77
---
88
# Troubleshoot installation issues in Power Automate for desktop
@@ -29,7 +29,7 @@ For a complete list of prerequisites, see [Prerequisites and limitations](/power
2929

3030
## Gather diagnostic information
3131

32-
Installation logs can provide useful details about the installation and help you diagnose and fix issues. For more information about where to find the logs, see [Power Automate for desktop installation logs](how-to-get-power-automate-desktop-installer-logs.md).
32+
Installation logs can provide useful details about the installation and help you diagnose and fix issues. For more information about where to find the logs, see [Power Automate for desktop installation logs](how-to-get-power-automate-desktop-installer-logs.md#installer-logs).
3333

3434
## Known issues and workarounds
3535

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:_ &nbsp; 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)