Skip to content

Commit 34b87f0

Browse files
authored
update
1 parent 30394dc commit 34b87f0

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

support/entra/entra-id/app-integration/msal-client-exception-failed-to-get-user-name.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,9 @@ Or
2929
> Microsoft.Identity.Client.MsalClientException: Failed to get user name>
3030
> System.ComponentModel.Win32Exception: Access Denied
3131

32-
> [!NOTE]
33-
> The error message originates from Windows.
34-
3532
## Cause
3633

37-
The error occurs because MSAL calls the [GetUserNameEx](/windows/win32/api/secext/nf-secext-getusernameexa) function from `secur32.dll`. For more information, see [MSAL WindowsNativeMethods.cs - GetUserNameEx](https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/blob/01ecd12464007fc1988b6a127aa0b1b980bca1ed/src/client/Microsoft.Identity.Client/Platforms/Features/DesktopOS/WindowsNativeMethods.cs#L66).
34+
The error originates from Windows. It occurs because MSAL calls the [GetUserNameEx](/windows/win32/api/secext/nf-secext-getusernameexa) function from `secur32.dll`. For more information, see [MSAL WindowsNativeMethods.cs - GetUserNameEx](https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/blob/01ecd12464007fc1988b6a127aa0b1b980bca1ed/src/client/Microsoft.Identity.Client/Platforms/Features/DesktopOS/WindowsNativeMethods.cs#L66).
3835
3936
## Solution
4037

0 commit comments

Comments
 (0)