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
# An unattended desktop flow run fails with the MSEntraMachineAlwaysPromptingForPassword error
10
10
@@ -29,7 +29,29 @@ Your unattended desktop flow run fails with the "MSEntraMachineAlwaysPromptingFo
29
29
30
30
Power Automate for desktop can't validate your Microsoft Entra ID (formerly Azure Active Directory) credentials on the machine. This issue is typically caused by a group policy setting on your machine.
31
31
32
-
## Resolution
32
+
## Resolution 1: Use Microsoft Entra authentication for Remote Desktop with a user certificate
33
+
34
+
This resolution requires Power Automate for desktop version 2.50 or later and must be used when no [multifactor authentication (MFA) exception](~/power-platform/power-automate/administration/conditional-access-and-multi-factor-authentication-in-flow.md#details) can be granted to the desktop flow connection account.
35
+
36
+
For steps on how to set up Microsoft Entra certificate based authentication for Power Automate, see [Configure certificate-based authentication (preview)](/power-automate/desktop-flows/configure-certificate-based-auth).
37
+
38
+
## Resolution 2: Use Microsoft Entra authentication for Remote Desktop with a username and password
39
+
40
+
This resolution requires Power Automate for desktop version 2.49 or later. If you don't have MFA enabled for the account used by the desktop flows connection, you can set up Microsoft Entra authentication using a username and password instead.
41
+
42
+
1. Open the Registry Editor (regedit) with administrative privileges. Navigate to the following registry path, create a new DWORD-32 value with the name `UseRdsAadAuthentication`, and then set the value of `UseRdsAadAuthentication` to **1**.
2.[Hide the consent prompt dialog for a target device group](/power-automate/desktop-flows/run-unattended-desktop-flows#admin-consent-for-unattended-runs-using-cba-or-sign-in-credentials-with-nla-preview).
49
+
50
+
3. Restart the Power Automate service.
51
+
52
+
4. Use a Microsoft Entra ID connection with username and password credentials. Note that an MFA exception is required for this account.
53
+
54
+
## Resolution 3: Disable fPromptForPassword
33
55
34
56
To solve this issue, check the group policy setting on your machine.
0 commit comments