Hi @Yinyin Qian ,
Thanks for reaching out.
No, Its not feasible to load the existing token cache of ADAL to MSAL as access token would not be the same to consumed by MSAL.
ADAL uses Azure AD v1.0 authority in Azure ADAL and acquire token for resources while MSAL uses v2.0 authority and acquire token for scopes so claims would differ for both the libraries.
Also, The Microsoft identity platform endpoint issues a smaller set of claims in its tokens by default to keep payloads small. If your application a dependency on a particular claim which was in v1.0 token of ADAL, then you need to use optional claims features to include that claim.
So, even though you were able to load the token silently in some way it would not be consumed by MSAL.
You will require one time user’s login to get the fresh access token for MSAL and then cache the token and use token serialization to acquire token silently further.
Refer token cache serialization in MSAL.NET to handle the token in MSAL.
Thanks,
Shweta
----------------------------------------
Please remember to "Accept Answer" if answer helped you.