我正在尝试使用 Postman 向 Graph 进行身份验证。我有以下要求:
类型:帖子 网址:https://login.microsoftonline.com/[MyTenantIdHere]/oauth2/v2.0/token
身体=原始:
{
client_id: "[MyClientID]",
grant_type: "client_credentials",
scope: "https%3A%2F%2Fgraph.microsoft.com%2F.default",
client_secret: "[MyClientSecret"
}
但是,我收到此错误:
"error_description": "AADSTS900144: 请求正文必须包含 以下参数:'grant_type'。
知道如何解决这个问题吗?