Get token
POST https://login.microsoftonline.com/{{tenant_id}}/oauth2/v2.0/token
Request Body
[{"name"=>"client_id", "value"=>"{{client_id}}", "datatype"=>"string"}, {"name"=>"client_secret", "value"=>"{{client_secret}}", "datatype"=>"string"}, {"name"=>"scope", "value"=>"https://graph.microsoft.com/.default", "datatype"=>"string"}, {"name"=>"grant_type", "value"=>"client_credentials", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |