Hello Matt Hausfeld,
Thank you for posting in Q&A forum.
This error message usually means that the authentication library tried to acquire a token silently – that is, without bothering the user for input – but found that it couldn’t because of issues with the account information. The part stating "Account type is unknown" indicates that the account provided to the silent token request isn’t recognized as one that can be used for a non‐interactive (silent) token acquisition.
Here are a few suggestions might help further diagnose the issue:
- Verify the account information:
Make sure that the account object you’re passing to the silent token acquisition call actually comes from a previous interactive login. Sometimes if the account details are missing or not correctly cached, the library won’t know how to handle it.
- Review your authority and configuration, double-check that the authority (and tenant) you’re using is appropriate for the type of account.
- When silent token acquisition fails, try to use the interactive login method accordingly if you can fall back to an interactive authentication prompt to re‐establish a valid account context.
Also, here are two similar threads with different scenarios for your references.
I hope the information above is helpful.
If you have any questions or concerns, please feel free to let us know.
Best Regards,
Daisy Zhou
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.