当尝试使用管理员访问令牌通过下面的api获取数据时,获得404错误

https://graph.microsoft.com/v1.0/users/xxxxx-xxxxx-xxxx5f90/drive/root

以下是404状态代码的错误响应:

{
  "error": {
    "code": "itemNotFound",
    "message": "The resource could not be found.",
    "innerError": {
      "request-id": "xxxxxxxxxxxxxx-e38bf8246e0a",
      "date": "2017-05-08T13:40:17"
    }
  }
}

仅供参考,api适用于使用管理员访问令牌的现有用户 . 但它没有使用激活帐户的新添加的OneDrive用户 .