Skip to content

Instantly share code, notes, and snippets.

@phillipharding
Created March 18, 2019 13:54
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save phillipharding/35c48da6bdf09a2410cd66686d23b966 to your computer and use it in GitHub Desktop.
POST /{tenant id}/oauth2/token HTTP/1.1
Host: login.microsoftonline.com
Content-Type: application/x-www-form-urlencoded
cache-control: no-cache
client_id:{client id}
client_secret:{client secret}
grant_type:refresh_token
refresh_token:{refresh_token_value}
resource:https://graph.microsoft.com/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment