首页 文章

使用Graph Explorer创建架构扩展的问题

提问于
浏览
1

我作为租户管理员登录了我的开发租户,我正在尝试创建架构扩展,但我得到了 403 Authorization_RequestDenied .

我已将 Directory.AccessAsUser.All 授予Graph Explorer并同意为admin,并进行了双重检查 .

我正在使用以下有效负载对 https://graph.microsoft.com/v1.0/schemaExtensions 运行POST:

{
    "id":"GroupMetadata",
    "description": "some desc",
    "targetTypes": [
        "Group"
    ],
    "properties": [
        {
            "name": "groupType",
            "type": "String"
        }
    ]
}

我收到了回复:

{
    "error": {
        "code": "Authorization_RequestDenied",
        "message": "Insufficient privileges to complete the operation.",
        "innerError": {
            "request-id": "3e3019c6-8ec5-4695-8ea3-b0aaf1ea1d25",
            "date": "2017-09-06T13:14:36"
        }
    }
}

任何有关此事的帮助将不胜感激 .

1 回答

  • 1

    我们 just 为此部署了一个修复程序 . 您现在可以在Graph Explorer中创建/更新/删除模式定义 .

    NOTE :为了使这项工作, must 在所有POST,PATCH或DELETE操作中将 owner 属性指定为您(已登录用户)拥有的应用程序的appId .

    文档将很快更新以反映此更改 . 如果您现在可以通过Graph Explorer完全管理扩展模式定义,请告诉我们 .

    希望这可以帮助,

相关问题