MsalError.CurrentBrokerAccount Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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