You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: support/azure/virtual-machines/linux/linux-vm-sshconnectionissue-perms.md
+12-14Lines changed: 12 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
1
---
2
2
title: SSH connection to Azure Linux VM fails due to permission and ownership issues
3
3
description: Resolves an issue in which the SSH service fails because the /var/empty/sshd, /var/lib/empty, or /var/run/sshd directory doesn't exist, or it isn't owned by the root user, or it's group-writable or world-writable.
4
-
ms.date: 04/15/2024
5
-
author: saimsh-msft
6
-
ms.reviewer: divargas, adelgadohell
4
+
ms.date: 03/13/2025
5
+
author: pagienge
6
+
ms.reviewer: divargas, adelgadohell, saimsh
7
7
ms.service: azure-virtual-machines
8
8
ms.custom: sap:Cannot connect to my VM, linux-related-content
9
9
ms.collection: linux
@@ -13,15 +13,13 @@ ms.collection: linux
13
13
14
14
**Applies to:**:heavy_check_mark: Linux VMs
15
15
16
-
[!INCLUDE [CentOS End Of Life](../../../includes/centos-end-of-life-note.md)]
17
-
18
16
This article provides solutions to an issue in which connecting to a Linux virtual machine (VM) via Secure Shell (SSH) fails because the _/var/empty/sshd_ directory in RHEL, the _/var/lib/empty_ directory in SUSE, or the _/var/run/sshd_ directory in Ubuntu, doesn't exist, or it isn't owned by the root user, or it's group-writable or world-writable.
19
17
20
18
## Symptoms
21
19
22
20
When you connect to a Linux virtual machine (VM) via SSH, the connection fails. You may receive the following error message about the affected directory, depending on your Linux distribution.
23
21
24
-
### [RHEL/CentOS](#tab/rhelsymp)
22
+
### [RHEL](#tab/rhelsymp)
25
23
26
24
```bash
27
25
sudo tail /var/log/messages
@@ -75,7 +73,7 @@ Here are two methods to repair the VM offline:
75
73
2. Sign in to the VM by using a local administrative account and its corresponding credential or password.
76
74
3. Run the following commands to resolve the permission and ownership issue:
77
75
78
-
### [RHEL/CentOS](#tab/rhelts1)
76
+
### [RHEL](#tab/rhelts1)
79
77
80
78
```bash
81
79
sudo mkdir -p /var/empty/sshd
@@ -111,7 +109,7 @@ In the Azure portal, open the **Properties** window of the VM to check the agent
111
109
1. Go to the Azure portal, locate your VM settings, and then select **Run Command** under **Operations**.
112
110
2. Execute the following shell script by selecting **RunShellScript** > **Run**:
113
111
114
-
### [RHEL/CentOS](#tab/rhelts2)
112
+
### [RHEL](#tab/rhelts2)
115
113
116
114
```bash
117
115
#!/bin/bash
@@ -155,12 +153,12 @@ If you can connect to the VM via SSH, and you want to analyze the details of the
155
153
156
154
Here are two methods to repair the VM offline:
157
155
158
-
-[Use Azure Linux Auto Repair (ALAR).](#offlinetroubleshooting-repairvm)
156
+
-[Use az vm repair](#offlinetroubleshooting-repairvm)
159
157
-[Use the manual method.](#offlinetroubleshooting-manualvm)
160
158
161
-
### <aid="offlinetroubleshooting-repairvm"></a>Use Azure Linux Auto Repair (ALAR)
159
+
### <aid="offlinetroubleshooting-repairvm"></a>Use az vm repair
162
160
163
-
Azure Linux Auto Repair (ALAR) scripts are a part of the VM repair extension described in [Repair a Linux VM by using the Azure Virtual Machine repair commands](repair-linux-vm-using-azure-virtual-machine-repair-commands.md).
161
+
The `az vm repair`, part of the vm-repair extension for the Azure CLI, is described in [Repair a Linux VM by using the Azure Virtual Machine repair commands](repair-linux-vm-using-azure-virtual-machine-repair-commands.md).
164
162
165
163
Follow these steps to automate the manual offline process:
166
164
@@ -177,7 +175,7 @@ Follow these steps to automate the manual offline process:
177
175
178
176
3. Run the following commands to resolve the permission and ownership issues:
179
177
180
-
### [RHEL/CentOS](#tab/rhelts3)
178
+
### [RHEL](#tab/rhelts3)
181
179
182
180
```bash
183
181
mkdir -p /var/empty/sshd
@@ -210,11 +208,11 @@ Follow these steps to automate the manual offline process:
210
208
211
209
### <aid="offlinetroubleshooting-manualvm"></a>Use the manual method
212
210
213
-
If both the serial console and ALAR approach don't apply to you or fail, the repair has to be performed manually. Follow the steps below to manually attach the OS disk to a recovery VM and swap the OS disk back to the original VM:
211
+
If both the serial console and `az vm repair` approach don't apply to you or fail, the repair has to be performed manually. Follow the steps below to manually attach the OS disk to a recovery VM and swap the OS disk back to the original VM:
214
212
215
213
-[Attach the OS disk to a recovery VM using the Azure portal.](troubleshoot-recovery-disks-portal-linux.md)
216
214
-[Attach the OS disk to a recovery VM using Azure CLI.](troubleshoot-recovery-disks-linux.md)
217
215
218
-
Once the OS disk is successfully attached to the recovery VM, follow the detailed [chroot instructions](chroot-environment-linux.md) to mount and chroot to the filesystems of the attached OS disk. Then, follow step 3 in the [Use Azure Linux Auto Repair (ALAR)](#offlinetroubleshooting-repairvm) section to resolve the permission and ownership issues.
216
+
Once the OS disk is successfully attached to the recovery VM, follow the detailed [chroot instructions](chroot-environment-linux.md) to mount and chroot to the filesystems of the attached OS disk. Then, follow step 3 in the [Use az vm repair](#offlinetroubleshooting-repairvm) section to resolve the permission and ownership issues.
219
217
220
218
[!INCLUDE [Azure Help Support](../../../includes/azure-help-support.md)]
Copy file name to clipboardExpand all lines: support/dynamics-365/supply-chain/warehousing/request-xml-size-exceeds-maximum-allowed-value.md
+37Lines changed: 37 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -0,0 +1,37 @@
1
+
---
2
+
title: Size of Request XML Exceeds Maximum Allowed Value Error
3
+
description: Resolves the size of the request xml exceeds the maximum allowed value error in the Warehouse Management mobile app.
4
+
ms.date: 03/13/2025
5
+
# ms.search.form:
6
+
audience: Application User
7
+
ms.reviewer: kamaybac, ivanma
8
+
ms.search.region: Global
9
+
ms.author: ivanma
10
+
ms.search.validFrom: 2025-03-03
11
+
ms.dyn365.ops.version: 10.0.39
12
+
ms.custom: sap:Warehouse management
13
+
---
14
+
# "The size of the request xml exceeds the maximum allowed value" error in the Warehouse management mobile app
15
+
16
+
This article provides a resolution for "The size of the request xml exceeds the maximum allowed value" error that occurs in the [Warehouse Management mobile app](/dynamics365/supply-chain/warehousing/install-configure-warehouse-management-app).
17
+
18
+
## Symptoms
19
+
20
+
When you open a [Display open work list](/dynamics365/supply-chain/warehousing/configure-mobile-devices-warehouse#configure-menu-items-for-activities-and-inquiries) mobile device flow in the Warehouse Management mobile app, you might receive the following error message:
21
+
22
+
> The size of the request xml exceeds the maximum allowed value.
23
+
24
+
## Cause
25
+
26
+
The Warehouse Management mobile app communicates with the Dynamics 365 Supply Chain Management service through an XML file. The system has a built-in limit on the size of this XML file. If there are many warehouse work items to be displayed in the Warehouse Management mobile app, the XML file size might exceed this limit.
27
+
28
+
## Resolution
29
+
30
+
To resolve this issue, follow these steps to reduce the number of warehouse work items shown in the Warehouse Management mobile app:
31
+
32
+
1. Open the **Mobile device menu items** form by navigating to **Warehouse management** > **Setup** > **Mobile device** > **Mobile device menu items**.
33
+
1. Find the impacted menu item.
34
+
1. Select the **Edit query** button in the Action Pane.
35
+
1. Edit the query to reduce the number of displayed warehouse work items.
36
+
37
+
For more information about editing the queries, see [User-configurable queries in Warehouse management](/dynamics365/supply-chain/warehousing/user-configurable-queries-in-warehouse-management).
title: Enable MSAL4J Logging in a Spring Boot Web Application in Microsoft Entra ID
3
+
description: Discusses how to enable MSAL4J logging in a Spring Boot web application in Microsoft Entra.
4
+
ms.date: 03/10/2025
5
+
ms.author: bachoang
6
+
ms.service: entra-id
7
+
ms.custom: sap:Microsoft Entra App Integration and Development
8
+
---
9
+
10
+
# Enable MSAL4J logging in a Spring Boot web application
11
+
12
+
This article provides step-by-step instructions to enable [Microsoft Authentication Library for Java](https://github.com/AzureAD/microsoft-authentication-library-for-java) (MSAL4J) logging by using the [Logback framework](https://logback.qos.ch/) in a Spring Boot web application.
13
+
14
+
## Code sample
15
+
16
+
The complete code sample and configuration guide for this implementation are available on [GitHub](https://github.com/bachoang/MSAL4J_SpringBoot_Logging/tree/main/msal-b2c-web-sample).
17
+
18
+
## Enable MSAL4J logging
19
+
20
+
1. Add the following dependency to your Pom.xml file to include the Logback framework:
21
+
22
+
```xml
23
+
<dependency>
24
+
<groupid>ch.qos.logback</groupid>
25
+
<artifactid>logback-classic</artifactid>
26
+
<version>1.2.3</version>
27
+
</dependency>
28
+
```
29
+
30
+
2. In your app project, create a file in the **src/main/resources** folder, and name the file **Logback.xml**. Then, add the following content:
This Appender configuration logs messages to the console. You can adjust the logging level to `error`, `warn`, `info`, or `verbose` based on your preference. For more information, see [LogBack: Appenders](https://logback.qos.ch/manual/appenders.html).
47
+
3. Set the **logging.config** property to the location of the **Logback.xml** file before the main method:
This code sample is set up to run on the local server (localhost) by using the HTTPS protocol. Follow the steps in [Configure the sample to use your Azure AD B2C tenant](https://github.com/bachoang/MSAL4J_SpringBoot_Logging/tree/main/msal-b2c-web-sample#step-2--configure-the-sample-to-use-your-azure-ad-b2c-tenant) to generate a self-signed certificate. Put the **keystore.p12** file in the resources folder.
69
+
70
+
### App registration configuration
71
+
72
+
To configure app registration in Azure AD B2C, follow these steps:
73
+
74
+
1. Create two app registrations in your Azure AD B2C tenant: One for the web application and the other for the web API.
75
+
2. Expose the required scope in the web API. For more information, see [Configure web API app scopes](/azure/active-directory-b2c/configure-authentication-sample-web-app-with-api?tabs=visual-studio#step-22-configure-web-api-app-scopes).
76
+
3. Configure the web API scope in the **API Permissions** blade for the web application.
77
+
4. Grant admin consent to all configured permissions in the web application.
78
+
79
+
For more information, see [Configure authentication in a sample web app that calls a web API by using Azure AD B2C](/azure/active-directory-b2c/configure-authentication-sample-web-app-with-api).
Copy file name to clipboardExpand all lines: support/power-platform/power-automate/desktop-flows/troubleshoot-errors-running-attended-or-unattended-desktop-flows.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Error code occurs when running an attended or unattended desktop flow
3
3
description: Provides mitigation steps for the error codes that occur when running attended or unattended desktop flows.
|AccountLockedOut|400|Unattended|This error occurs when an internal system policy has prevented an account from creating a session on the machine because of too many sign-in attempts or password change attempts for the account. It's related to an on-premises configuration, not Power Automate licenses. Check that password rotation policies don't interfere with your scheduled runs, causing many incorrect sign-in attempts. If this error occurs regularly, work with your IT administrator to review sign-in attempt logs and account lockout policies.|
67
67
|LogonTypeNotGranted|400|Unattended|For more information, see [troubleshooting documentation for logon type not granted](logon-type-has-not-been-granted.md).|
68
68
|UnallowedTenantForConnectWithSignIn|403|Attended|This error occurs when using a [connect with sign-in](/power-automate/desktop-flows/desktop-flow-connections#connect-with-sign-in-for-attended-runs) connection on an Active Directory (AD) domain-joined machine without adding your tenant to the allowlist. </br> For more information, see ["UnallowedTenantForConnectWithSignIn" error in a Power Automate desktop flow](troubleshoot-unallowed-tenant-for-connect-with-sign-in.md).|
69
+
|MachineNotFound|404|Attended</br>Unattended|This error can occur when the machine is unregistered during a run or if the Dataverse organization has been migrated to a different region. Verify that:</br>- Your machine is still registered by [viewing its status](/power-automate/desktop-flows/manage-machines#view-list-of-machines) in the machine runtime application or the Power Automate portal.</br>- Your [desktop flow connection](/power-automate/desktop-flows/desktop-flow-connections) isn't broken in the Power Automate portal.</br>- [Scripting actions](/power-automate/desktop-flows/actions-reference/scripting) in your flow don't register your machine while the flow is running.|
0 commit comments