AdalConnectDemo This is a simple example on how to get an authentication token to work with the Microsoft Graph for a public application Go to the Azure Management portal to register a new app This app uses the ADAL library.