The Microsoft Graph .NET Client Library supports the use of TokenCredential classes in the Azure.Identity library. You can read more about available Credential classes here and examples on how to ...
The Microsoft Graph JavaScript client library is a lightweight wrapper around the Microsoft Graph API that can be used server-side and in the browser.