我们正在尝试创建具有Microsoft Graph扩展名的架构,并在Azure上使用具有管理员权限/角色的帐户时继续获取Authorization_RequestDenied
。
我们正在执行第extensibility_schema_groups页上的步骤 并使用Graph Explorer
默认设置在Graph Explorer上运行良好,并且我们成功使用额外的权限User.ReadWrite.All
,Directory.ReadWrite.All
,Directory.AccessAsUser.All
登录。
这是我们在Graph Explorer上执行的请求:
POST到https://graph.microsoft.com/v1.0/schemaExtensions,正文:
{
"id":"our_validated_domain",
"description": "Contact data from Dynamics 365",
"targetTypes": [
"User"
],
"properties": [
{
"name": "emailaddress1",
"type": "String"
},
{
"name": "emailaddress2",
"type": "String"
},
{
"name": "parentcustomerid",
"type": "String"
},
{
"name": "birthdate",
"type": "DateTime"
}
]}
响应:
Authorization_RequestDenied