The Microsoft Graph Connect NodeJS Sample Code by Microsoft shows how to use the Microsoft Graph API to retrieve users’ Microsoft account data from Node.js web applications. The sample code supports direct HTTP calls to the API and requires Azure AD 2.0 endpoint for authentication. A developer must also have NodeJS v4 or v5 and a Microsoft account to be able to deploy the sample code.