Partager via


MsalError.UapCannotFindUpn Field

Definition

Cannot get the user from the OS (UWP)

What happens

You called AcquireTokenByIntegratedWindowsAuth(IEnumerable<String>), but the domain user name could not be found.

Mitigation

This might be because you need to add more capabilities to your UWP application in the Package.appxmanifest. See https://aka.ms/msal-net-uwp
public const string UapCannotFindUpn;
val mutable UapCannotFindUpn : string
Public Const UapCannotFindUpn As String 

Field Value

Applies to