Skip to content

Commit 38e00dd

Browse files
committed
PR feedback
1 parent 020c1da commit 38e00dd

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

support/power-platform/power-automate/desktop-flows/troubleshoot-ui-flow-invalid-credentials-error-using-aad-account.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
---
22
title: Desktop flow invalid credentials error when using a Microsoft Entra account
3-
description: Resolves the InvalidConnectionCredentials or WindowsIdentityIncorrect error that occurs when you run a desktop flow using a Microsoft Entra account.
3+
description: Learn how to resolve InvalidConnectionCredentials, WindowsIdentityIncorrect, and AADSTS50126 errors in Power Automate desktop flows caused by Microsoft Entra account issues.
44
ms.reviewer: guco,aartigoyle, v-shaywood
55
ms.date: 08/20/2024
66
ms.custom: sap:Desktop flows\Cannot create desktop flow connection
77
---
88
# Desktop flow invalid credentials error when you use a Microsoft Entra account
99

10-
This article provides a resolution for the `InvalidConnectionCredentials` or `WindowsIdentityIncorrect` error code that occurs when you run a desktop flow using a [Microsoft Entra account](/entra/fundamentals/whatis#terminology).
10+
This article provides resolutions for the `InvalidConnectionCredentials` or `WindowsIdentityIncorrect` errors that might occur when you run a desktop flow using a [Microsoft Entra account](/entra/fundamentals/whatis#terminology). These errors typically indicate issues with device join status, account synchronization, or credential mismatches between the desktop flow connection and the target machine.
11+
12+
This article also covers the `AADSTS50126` error, which occurs when credential validation fails because of an invalid username or password, particularly in scenarios involving federated users.
1113

1214
_Applies to:_   Power Automate
1315
_Original KB number:_   4555623
@@ -86,7 +88,7 @@ You might encounter the error when using a Microsoft Entra account for several r
8688

8789
To resolve an AADSTS50126 error, the preferred and most secure method is to configure [Certificate-Based Authentication (CBA)](/power-automate/desktop-flows/configure-certificate-based-auth).
8890

89-
If you can't configure CBA, federated users can use an alternative approach when administrators of the on-premises Identity Provider (IdP) configure Password Hash Sync (PHS) to synchronize password hashes to the cloud. In this scenario, federated users can authenticate directly against Microsoft Entra ID (ESTS) by configuring a Home Realm Discovery (HRD) policy that explicitly allows cloud password validation.
91+
If you can't configure CBA, federated users can use an alternative approach when administrators of the on-premises Identity Provider (IdP) configure [password hash synchronization](/entra/identity/hybrid/connect/whatis-phs) (PHS) to synchronize password hashes to the cloud. In this scenario, federated users can authenticate directly against Microsoft Entra ID (ESTS) by configuring a [Home Realm Discovery](/entra/identity/enterprise-apps/home-realm-discovery-policy) (HRD) policy that explicitly allows cloud password validation.
9092

9193
To enable this configuration, set the following HRD policy value:
9294

@@ -99,3 +101,4 @@ For detailed instructions, see [Enable direct ROPC authentication of federated u
99101
- [Create desktop flow connections](/power-automate/desktop-flows/desktop-flow-connections)
100102
- [Invalid credentials error when running desktop flows in Power Automate for desktop](invalid-credentials-errors-running-desktop-flows.md)
101103
- ["Logon type has not been granted" error when running a desktop flow or creating a connection](logon-type-has-not-been-granted.md)
104+
- [What is federation with Microsoft Entra ID?](/entra/identity/hybrid/connect/whatis-fed)

0 commit comments

Comments
 (0)