I'm trying to authenticate to Graph using Postman. I have the following request:
Type: Post Url: https://login.microsoftonline.com/[MyTenantIdHere]/oauth2/v2.0/token
Body = Raw:
{
client_id: "[MyClientID]",
grant_type: "client_credentials",
scope: "https%3A%2F%2Fgraph.microsoft.com%2F.default",
client_secret: "[MyClientSecret"
}
However, I'm getting this error:
"error_description": "AADSTS900144: The request body must contain the following parameter: 'grant_type'.
Any idea how to solve this?