Thank you for following up on and I apologize for the misunderstanding!
Based off our Get a token from the token cache using MSAL.NET documentation "when you acquire an access token using (MSAL.NET), the token is cached. When the application needs a token, it should first call the AcquireTokenSilent method to verify if an acceptable token is in the cache. The recommended pattern is to call the AcquireTokenSilent
method first. If AcquireTokenSilent
fails, then acquire a token using other methods". For more info.
Can you try using AcquireTokenInteractive
, similar to our doc, to acquire a token? I also found some documentation on regarding AcquireTokenForClient
, which says don't call AcquireTokenSilent
before you call AcquireTokenForClient
, because AcquireTokenSilent uses the user token cache. For more info.
I hope this helps!
Thank you again for your time and patience throughout this issue.