Skip to content

Commit 4e02c39

Browse files
authored
Merge pull request #8352 from MicrosoftDocs/main
Auto push to live 2025-03-02 18:00:02
2 parents f820971 + 400615f commit 4e02c39

File tree

12 files changed

+369
-5
lines changed

12 files changed

+369
-5
lines changed

support/azure/azure-kubernetes/create-upgrade-delete/aks-increased-memory-usage-cgroup-v2.md

Lines changed: 31 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
title: Increased memory usage reported in Kubernetes 1.25 or later versions
33
description: Resolve an increase in memory usage that's reported after you upgrade an Azure Kubernetes Service (AKS) cluster to Kubernetes 1.25.x.
4-
ms.date: 07/13/2023
5-
editor: v-jsitser
4+
ms.date: 03/03/2025
5+
editor: momajed
66
ms.reviewer: aritraghosh, cssakscic, v-leedennis
77
ms.service: azure-kubernetes-service
88
ms.custom: sap:Create, Upgrade, Scale and Delete operations (cluster or nodepool)
@@ -23,23 +23,49 @@ You experience one or more of the following symptoms:
2323

2424
## Cause
2525

26-
This increase is caused by a change in memory accounting within version 2 of the Linux control group (cgroup) API. [Cgroup v2](https://kubernetes.io/docs/concepts/architecture/cgroups/) is now the default cgroup version for Kubernetes 1.25 on AKS.
26+
This increase is caused by a change in memory accounting within version 2 of the Linux control group (`cgroup`) API. [Cgroup v2](https://kubernetes.io/docs/concepts/architecture/cgroups/) is now the default `cgroup` version for Kubernetes 1.25 on AKS.
2727

2828
> [!NOTE]
29-
> This issue is distinct from the memory saturation in nodes that's caused by applications or frameworks that aren't aware of cgroup v2. For more information, see [Memory saturation occurs in pods after cluster upgrade to Kubernetes 1.25](./aks-memory-saturation-after-upgrade.md).
29+
> This issue is distinct from the memory saturation in nodes that's caused by applications or frameworks that aren't aware of `cgroup` v2. For more information, see [Memory saturation occurs in pods after cluster upgrade to Kubernetes 1.25](./aks-memory-saturation-after-upgrade.md).
3030
3131
## Solution
3232

3333
- If you observe frequent memory pressure on the nodes, upgrade your subscription to increase the amount of memory that's available to your virtual machines (VMs).
3434

3535
- If you see a higher eviction rate on the pods, [use higher limits and requests for pods](/azure/aks/developer-best-practices-resource-management#define-pod-resource-requests-and-limits).
3636

37+
- `cgroup` v2 uses a different API than `cgroup` v1. If there are any applications that directly access the `cgroup` file system, update them to later versions that support `cgroup` v2. For example:
38+
39+
- **Third-party monitoring and security agents**:
40+
41+
Some monitoring and security agents depend on the `cgroup` file system. Update these agents to versions that support `cgroup` v2.
42+
43+
- **Java applications**:
44+
45+
Use versions that fully support `cgroup` v2:
46+
- OpenJDK/HotSpot: `jdk8u372`, `11.0.16`, `15`, and later versions.
47+
- IBM Semeru Runtimes: `8.0.382.0`, `11.0.20.0`, `17.0.8.0`, and later versions.
48+
- IBM Java: `8.0.8.6` and later versions.
49+
50+
- **uber-go/automaxprocs**:
51+
If you're using the `uber-go/automaxprocs` package, ensure the version is `v1.5.1` or later.
52+
53+
- An alternative temporary solution is to revert the `cgroup` version on your nodes by using the DaemonSet. For more information, see [Revert to cgroup v1 DaemonSet](https://github.com/Azure/AKS/blob/master/examples/cgroups/revert-cgroup-v1.yaml).
54+
55+
> [!IMPORTANT]
56+
> - Use the DaemonSet cautiously. Test it in a lower environment before applying to production to ensure compatibility and prevent disruptions.
57+
> - By default, the DaemonSet applies to all nodes in the cluster and reboots them to implement the `cgroup` change.
58+
> - To control how the DaemonSet is applied, configure a `nodeSelector` to target specific nodes.
59+
60+
3761
> [!NOTE]
3862
> If you experience only an increase in memory use without any of the other symptoms that are mentioned in the "Symptoms" section, you don't have to take any action.
3963
4064
## Status
4165

42-
We're actively working with the Kubernetes community to fix the underlying issue, and we'll keep you updated on our progress. We also plan to change the eviction thresholds or [resource reservations](/azure/aks/concepts-clusters-workloads#resource-reservations), depending on the outcome of the fix.
66+
We're actively working with the Kubernetes community to resolve the underlying issue. Progress on this effort can be tracked at [Azure/AKS Issue #3443](https://github.com/kubernetes/kubernetes/issues/118916).
67+
68+
As part of the resolution, we plan to adjust the eviction thresholds or update [resource reservations](/azure/aks/concepts-clusters-workloads#resource-reservations), depending on the outcome of the fix.
4369

4470
## Reference
4571

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
title: Web Automation Fails When Machine Runtime and MSIX Versions Are Different
3+
description: Solves a web automation error that occurs when the machine runtime application and the Power Automate for desktop store installation (MSIX) versions are different.
4+
ms.custom: sap:Desktop flows\UI or browser automation
5+
ms.reviewer: amitrou
6+
ms.author: nimoutzo
7+
author: NikosMoutzourakis
8+
ms.date: 03/03/2025
9+
---
10+
# Web automation action fails when the machine runtime and Microsoft Store (MSIX) versions are different
11+
12+
This article provides a workaround for the "Negotiation failed" error that occurs when a web automation action fails to run in Power Automate for desktop.
13+
14+
## Symptoms
15+
16+
Consider the following scenario:
17+
18+
- You installed [Power Automate for desktop from Microsoft Store (MSIX)](/power-automate/desktop-flows/install#install-power-automate-from-microsoft-store).
19+
- You installed the machine runtime using an older version of the [MSI installer](/power-automate/desktop-flows/install#install-power-automate-using-the-msi-installer).
20+
- You created a flow in Power Automate for desktop to automate a web page with an [extension-based browser](/power-automate/desktop-flows/install-browser-extensions) and ran the flow from the cloud.
21+
22+
In this scenario, the web automation action fails with the following error:
23+
24+
> Negotiation failed
25+
26+
This issue applies when running any web automation action under the [Browser Automation group](/power-automate/desktop-flows/automation-web) in unattended or attended mode.
27+
28+
## Cause
29+
30+
When the Power Automate for desktop MSIX installation is a different version than the machine runtime application, the Message Host (from the MSIX installation) running from the browser is a different version than the machine runtime expects. This discrepancy causes the flow to fail with a "Negotiation failed" error.
31+
32+
## Workaround
33+
34+
We don't recommend having both the MSI and MSIX versions of Power Automate on the same machine. If you do this, uninstall one version or ensure that the machine runtime application and the MSIX installation versions are the same.
35+
36+
For more information on Power Automate for desktop versions, see [Released versions for Power Automate for desktop](/power-platform/released-versions/power-automate-desktop).
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
---
2+
title: Launch Excel Action Failures
3+
description: Solves errors related to the Launch Excel action in Power Automate for desktop.
4+
ms.reviewer: amitrou
5+
ms.author: nimoutzo
6+
author: NikosMoutzourakis
7+
ms.custom: sap:Desktop flows\Office automation
8+
ms.date: 03/03/2025
9+
---
10+
# Error occurs when opening an Excel file in Power Automate for desktop
11+
12+
This article helps solve errors that occur when you try to open a blank or existing Excel file in Power Automate for desktop.
13+
14+
## "Exception from HRESULT: 0x800xxxxx" error
15+
16+
> System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x800xxxxx
17+
18+
### Cause
19+
20+
This error can occur if:
21+
22+
- Office apps (or just Excel) aren't properly installed.
23+
- Power Automate for desktop isn't properly installed.
24+
- The Excel file is synchronized with OneDrive.
25+
26+
### Resolution
27+
28+
- Manually [uninstall](/power-automate/desktop-flows/install#uninstall-power-automate) and [reinstall](/power-automate/desktop-flows/install) Power Automate for desktop. If it doesn't work, ensure you have Excel properly installed.
29+
- To work around the error caused by the synchronization with OneDrive, see [Using Excel files synchronized through OneDrive or SharePoint](/power-automate/desktop-flows/actions-reference/excel#using-excel-files-synchronized-through-onedrive-or-sharepoint).
30+
31+
## "Could not load file or assembly or one of its dependencies" error
32+
33+
> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Office.Interop.Excel' or one of its dependencies. The system cannot find the file specified.
34+
35+
### Cause
36+
37+
The Excel application isn't installed on the machine.
38+
39+
### Resolution
40+
41+
Ensure you have Excel installed on the machine.
42+
43+
## "Access to the path 'C:\YourPath\YourFile.xlsx' is denied" error
44+
45+
> System.UnauthorizedAccessException: Access to the path 'C:\YourPath\YourFile.xlsx' is denied.
46+
47+
### Cause
48+
49+
The document is located in a restricted file path, or Power Automate for desktop doesn't have permission to open and access the document.
50+
51+
### Resolution
52+
53+
Move the file to a directory where Power Automate for desktop has access.
54+
55+
## "The process cannot access the file 'C:\YourPath\YourFile.xlsx'" error
56+
57+
> System.IO.IOException: The process cannot access the file 'C:\YourPath\YourFile.xlsx' because it is being used by another process.
58+
59+
### Cause
60+
61+
The Excel application is locked, and no other process can access it.
62+
63+
### Resolution
64+
65+
Terminate all opened Excel processes and restart Power Automate for desktop.
66+
67+
## "80040154 Class not registered" error
68+
69+
> System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {*ID*} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
70+
71+
### Cause
72+
73+
This issue can occur if you're using an older version of Excel, such as Excel 2013 or earlier.
74+
75+
### Resolution
76+
77+
Ensure you have Excel 2013 or a later version installed on your machine.
78+
79+
## "System.OutOfMemoryException: Out of memory" error
80+
81+
### Cause
82+
83+
The Excel application crashes due to insufficient memory or high memory utilization caused by a specific extension running on Excel.
84+
85+
### Resolution
86+
87+
Terminate all opened Excel applications and try again.
88+
89+
## More information
90+
91+
[Excel actions in Power Automate](/power-automate/desktop-flows/actions-reference/excel)
Loading
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
title: Retrieve Email Messages from Outlook Doesn't Work
3+
description: Solves an issue related to the Retrieve email messages from Outlook action in Microsoft Power Automate.
4+
ms.custom: sap:Desktop flows\Office automation
5+
ms.reviewer: amitrou
6+
ms.author: nimoutzo
7+
author: NikosMoutzourakis
8+
ms.date: 03/03/2025
9+
---
10+
# The "Retrieve email messages from Outlook" action doesn't work as expected
11+
12+
This article solves an issue where the [Retrieve email messages from Outlook](/power-automate/desktop-flows/actions-reference/outlook) action doesn't return any results in Microsoft Power Automate.
13+
14+
## Symptoms
15+
16+
When you use the **From contains** filter in the **Retrieve email messages from Outlook** action in Power Automate, no results are returned.
17+
18+
## Cause
19+
20+
In some cases, the email addresses of Exchange users are in an X500 format (for example, /o\=<organization-name\>/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=\<mailbox\>) instead of the standard mail format (`[email protected]`). When you use the **Retrieve email messages from Outlook** action in Power Automate, the **From contains** filter might not work if the filtering is performed with the X500 format email.
21+
22+
If that's the case, use the X500 format email in the **From contains** filter.
23+
24+
You can retrieve the X500 format email using the Exchange PowerShell cmdlet:
25+
26+
```powershell
27+
Get-Mailbox -Identity username | ft legacyExchangeDN.
28+
```
29+
30+
Alternatively, you can look in `%LocalAppData%\Microsoft\Outlook` for an XML file that contains a section called **LegacyDn**.
31+
32+
## Workaround
33+
34+
To work around this issue:
35+
36+
- Use other actions for email operations, such as:
37+
38+
- [Exchange Server actions](/power-automate/desktop-flows/actions-reference/exchange).
39+
- [Microsoft 365 Outlook actions](/connectors/office365/#get-emails-(v3)).
40+
41+
- Perform the filtering by using a **For each** loop to iterate through the returned messages. For example:
42+
43+
:::image type="content" source="media/retrieve-emails-filtering/loop-emails-filter.png" alt-text="Screenshot of an example of retrieving emails using a For each loop." lightbox="media/retrieve-emails-filtering/loop-emails-filter.png":::
44+
45+
## More information
46+
47+
[Outlook actions](/power-automate/desktop-flows/actions-reference/outlook)
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
title: The Server Threw an Exception When Opening SAP
3+
description: Solves an error that occurs when a user tries to open the SAP application automated by Power Automate for desktop.
4+
ms.reviewer: amitrou
5+
ms.author: nimoutzo
6+
author: NikosMoutzourakis
7+
ms.custom: sap:Desktop flows\SAP automation
8+
ms.date: 03/03/2025
9+
---
10+
# The server threw an exception when opening SAP
11+
12+
This article helps you resolve an error that occurs when a user tries to open the SAP application automated by Power Automate for desktop.
13+
14+
## Symptoms
15+
16+
When a user tries to open the SAP application, they receive the following error message:
17+
18+
> The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT)): Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK.ActionException: Action failed. ---> System.Runtime.InteropServices.COMException: The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))
19+
20+
## Cause
21+
22+
This issue can occur if the user doesn't have scripting permissions to use the SAP actions.
23+
24+
## Resolution
25+
26+
To solve the issue, [check and enable the SAP scripting](/power-automate/guidance/rpa-sap-playbook/prerequisites#sap-gui-scripting-configuration) for the user who needs to use the SAP actions.
27+
28+
## More information
29+
30+
[Introduction to SAP GUI–based RPA in Power Automate Desktop](/power-automate/guidance/rpa-sap-playbook/introduction)
31+
32+
[!INCLUDE [Third-party disclaimer](../../../../includes/third-party-disclaimer.md)]
Loading
9.91 KB
Loading
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
---
2+
title: No Element Highlighted or Error When Hovering over UI or Web Element
3+
description: Solves an issue that occurs when you hover the mouse cursor over a UI or web element of an application or webpage in Power Automate for desktop.
4+
ms.reviewer: amitrou
5+
ms.author: nimoutzo
6+
author: NikosMoutzourakis
7+
ms.custom: sap:Desktop flows\UI or browser automation
8+
ms.date: 03/03/2025
9+
---
10+
# UI element isn't highlighted or an error occurs when hovering over a UI or web element
11+
12+
This article helps you resolve issues you might encounter when using the UI element picker in virtual desktops, such as Citrix or Remote Desktop Protocol (RDP) environments.
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 or RDP window with the [UI element picker](/power-automate/desktop-flows/ui-elements#ui-elements-types) enabled, you might see:
17+
18+
1. The element isn't highlighted.
19+
2. An error message about enabling the [Power Automate agent for virtual desktops](/power-automate/desktop-flows/virtual-desktops#install-the-power-automate-agent-for-virtual-desktops).
20+
21+
> Enable UI automation in virtual desktop
22+
> To automate using UI elements on virtual desktops, ensure the Power Automate agent for virtual desktops is installed and running on the remote machine.
23+
24+
:::image type="content" source="media/rdp-no-highlight/agent-not-running.png" alt-text="Screenshot of the Enable UI automation in virtual desktop error.":::
25+
26+
## Cause
27+
28+
The communication with the remote agent components doesn't work.
29+
30+
## Resolution
31+
32+
1. Ensure the Power Automate Citrix or RDP plugin is registered.
33+
34+
1. While the virtual desktop platform (Citrix Desktop, Citrix Virtual Apps, Remote Desktop app, or a remote desktop with Windows RDP communication) is active, run the [troubleshooter](/power-automate/desktop-flows/troubleshooter) by navigating to **Help** > **Troubleshooter** in Power Automate.
35+
36+
> [!TIP]
37+
> The troubleshooter can be manually opened via the console and the flow designer, through the dedicated menu under **Help** > **Troubleshooter**. It can also be opened via the process file **PAD.Troubleshooter.exe**, which can be found in the installation folder of Power Automate for desktop.
38+
39+
1. Run **Troubleshoot UI/Web automation issues** to view the diagnostics for the communication. If an error appears in the Citrix or RDP section, expand it for more details and solutions.
40+
41+
2. If the troubleshooter indicates that the remote agent isn't running, check if the agent is running in the Citrix or RDP session.
42+
43+
Check the tray icon for the agent icon when the virtual desktop platform is active. If the icon exists, hover over it to confirm it's still running. If it is, right-click the tray icon to open the menu and select **Status**. The agent's status and the reason for the error will be displayed.
44+
45+
:::image type="content" source="media/rdp-no-highlight/agent-disconnected-icon.png" alt-text="Screenshot of the agent icon showing the Power Automate agent for virtual desktops is disconnected.":::
46+
47+
3. If the agent is confirmed not running and Citrix is in use, ensure that the agent is installed on every Citrix server.
48+
49+
4. If the agent is running, check the following conditions based on the agent's tray icon status:
50+
51+
- **A device on the system is not functioning**: The Citrix plugin isn't loaded on the host system.
52+
53+
To troubleshoot the issue, run the [troubleshooter](/power-automate/desktop-flows/troubleshooter) while the virtual desktop platform is active and check for errors in the **UI Automation** section.
54+
55+
- **Citrix Virtual Channel policy enabled**: The **Virtual channel allow list** policy on Citrix is set to **Enabled** or **Default**.
56+
57+
The default setting for this policy is **Enabled** or **Default**. However, if this policy isn't disabled, the Power Automate agent can't communicate with Power Automate for desktop. To resolve communication issues, work with your Citrix administrator to set the policy to **Disabled** and ensure Citrix machines are restarted after applying the policy.
58+
59+
- **Citrix VDA version < 2407**: The **Virtual channel allow list** policy on Citrix is set to **Enabled** or **Default**.
60+
61+
The default setting for this policy is **Enabled** or **Default**. However, if this policy isn't disabled, the Power Automate agent can't communicate with Power Automate for desktop. To resolve communication issues, work with your Citrix administrator to set the policy to **Disabled** and ensure Citrix machines are restarted after applying the policy.
62+
63+
- **Citrix VDA Version >= 2407**: The older **Virtual channel allow list** policy can remain at **Default**, but a different policy must be set.
64+
65+
Set the **Virtual channel allow list for DVC** policy with the following values:
66+
67+
- `C:\Program Files (x86)\Power Automate agent for virtual desktops\PAD.RDP.ControlAgent.exe,Microsoft.Flow.RPA.Desktop.UIAutomation.RDP.DVC.Plugin,PAD\CONTROL`
68+
69+
- `C:\Users\*\AppData\Local\Microsoft\Power Automate Desktop\RDP Automation Agents\*\PAD.RDP.AutomationAgent.exe,Microsoft.Flow.RPA.Desktop.UIAutomation.RDP.DVC.Plugin,PAD\UIA`
70+
71+
Ensure Citrix machines are restarted after applying the policy.
72+
73+
## More information
74+
75+
[Automate on virtual desktops](/power-automate/desktop-flows/virtual-desktops)
Loading

0 commit comments

Comments
 (0)