Microsoft Graph

Using the Microsoft Graph API JavaScript SDK with App Permissions

Introduction Recently, I wanted to use the Microsoft Graph JavaScript SDK within my Node app. If you are familiar with the SDK, you will know that it will not obtain its own access token - you need to use an authentication provider and feed that to the SDK client. Typically, with browser-based authentication you would authenticate as the user and use something like the implicit grant method with a library such as MSAL.