title: How To Generate A Token For Delegated Permissions (Microsoft Graph)
body: <p>I want to send messages to a team's channel.
  So far, I've been able to create teams, create users among various other operations successfully, the token I generated works just fine. Sending messages to a channel however only works with delegated permissions and the request to send a message fails with error code 401.</p>
  <p><em>login.microsoftonline.com/tenant_id/oauth2/v2.0/token</em> is the end point I'm using the default scope i.e. <em>graph.microsoft.com/.default</em> which informs the Microsoft Identity platform of Application Permissions of the App only, how do I modify the POST request to generate a token to honor delegated permissions for the App and send messages to the channel ?</p>
  <p>In other words, I would like to know how to generate a token when making use of a Graph API that only supports delegated permissions ?</p>