title: OAuth2 Token on Microsoft Graph API
body: <p>I'm looking for the most simple way to gain a JWT token to use when calling Graph API endpoints. There is endless documentation about OAuth2 and so many ways to do that, but I got lost in the process.
  My scenario is a backend program listening to an Outlook mailbox.</p>
  <p>I read about registering my service in Azure AD etc., but I'm looking for something quicker that bypasses everything. I know such solution exists because in the Graph Explorer it is done fairly easily. I only need the JWT token to make the calls work, nothing more.</p>
  <p>I tried calling <code>/common/oauth2/v2.0/token</code>, but it needs a client_secret which I don't have because I haven't registered my service in Azure. I've tried endlessly to mimic the process that is done in Graph Explorer, but with no luck.</p>