MsalError.CurrentBrokerAccount Field

Definition

This error code comes back from AcquireTokenSilent(IEnumerable<String>, IAccount) calls when the OperatingSystemAccount user is passed as the account parameter. Only some brokers (WAM) can login the current user.

Mitigation

On Windows, use the broker via .WithBroker(true), use a different account, or otherwise call AcquireTokenInteractive(IEnumerable<String>)
public const string CurrentBrokerAccount;
val mutable CurrentBrokerAccount : string
Public Const CurrentBrokerAccount As String 

Field Value

Applies to