Azure用户的图形端点 [英] Graph Endpoint for Azure users
问题描述
我正在尝试从邮递员访问azure中的用户,我收到以下错误
{
  "错误":{
      "code":"Authorization_RequestDenied","
      " message":"完成操作的权限不足。",
      "innerError":{
          "request-id":" d435bcbf-a064-41a1-b6b1-c20cd2bd2166",
          "date":" 2019-03-06T06:01:56"
      }¥b $ b   }
}
我已经在Windows Azure Active Directory和Microsoft Graph中授予了权限。但我仍然看到上面的错误信息。
Hello Abuthahir,
您使用的是客户端凭据流吗?
您需要以下任何权限" User.Read.All,User.ReadWrite.All,Directory.Read.All,Directory .ReadWrite.All 跨度>"分配给应用程序的
可以拨打用户电话。
参考: https://docs.microsoft.com/en-us/graph/ api / user-get?view = graph-rest-1.0
您可以在https://jwt.ms解码您正在使用的令牌以查看是否存在权限。
I am trying to access a user in azure from postman and i get the below error
{
"error": {
"code": "Authorization_RequestDenied",
"message": "Insufficient privileges to complete the operation.",
"innerError": {
"request-id": "d435bcbf-a064-41a1-b6b1-c20cd2bd2166",
"date": "2019-03-06T06:01:56"
}
}
}
I have given permissions in Windows Azure Active Directory as well as Microsoft Graph. But still i see the above error message.
Hello Abuthahir,
are you using the client credentials flow ?
You need any of the following permissions "User.Read.All, User.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All" assigned to the application to be able to make get user call.
Ref: https://docs.microsoft.com/en-us/graph/api/user-get?view=graph-rest-1.0
You can decode the token you are using at https://jwt.ms to see if the permissions are present.
这篇关于Azure用户的图形端点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!