diff --git a/src/client/Microsoft.Identity.Client.Broker/WamAdapters.cs b/src/client/Microsoft.Identity.Client.Broker/WamAdapters.cs index 928619fafd..211177d437 100644 --- a/src/client/Microsoft.Identity.Client.Broker/WamAdapters.cs +++ b/src/client/Microsoft.Identity.Client.Broker/WamAdapters.cs @@ -322,7 +322,9 @@ public static void ValidateAuthParams( { //MSAL Runtime throws an ApiContractViolation Exception with Tag: 0x2039c1cb (InvalidArg) //When no scopes are passed, this will check if user is passing scopes - if (!authenticationRequestParameters.HasScopes) + var scopes = authenticationRequestParameters.Scope?.ElementAtOrDefault(0); + + if (string.IsNullOrWhiteSpace(scopes)) { logger.Error($"[WamBroker] {MsalError.WamScopesRequired} " + $"{MsalErrorMessage.ScopesRequired}");