我正在嘗試創建架構擴展。我有令牌中的
「scp」:「Directory.AccessAsUser.All」。不知道它失敗的原因。500嘗試創建架構擴展時出錯
POST https://graph.microsoft.com/beta/schemaExtensions
Content-type: application/json
{
"id":"courses",
"description": "Graph Learn training courses extensions",
"targetTypes": [
"Group"
],
"properties": [
{
"name": "courseId",
"type": "Integer"
},
{
"name": "courseName",
"type": "String"
},
{
"name": "courseType",
"type": "String"
}
]
}
錯誤:
{
"error": {
"code": "Service_InternalServerError",
"message": "Encountered an internal server error.",
"innerError": {
"request-id": "1909aef3-b66d-48de-8204-0a41df0a27a8",
"date": "2017-07-17T13:07:20"
}
}
}
僅供參考,請參閱本SO帖子:哪個圖形API應該Azure的AD B2C使用(https://stackoverflow.com/questions/43770376/which-graph-api-should -be-used-azure-ad-b2c) – spottedmahn