グループと連絡先のスキーマ拡張を作成しました。スキーマ拡張でカスタムデータとの連絡先を作成できません。グループ作業
最初の問題:拡張機能を使用して連絡先ではなくカスタムデータを使用して新しいグループを作成できます。スキーマ拡張でカスタムデータを使用して新しい連絡先を作成しようとすると、次のエラーが表示されます。
{
"error":
{
"code": "RequestBodyRead",
"message": "The property 'extcivhhslh_sbtest1' does not exist on type 'Microsoft.OutlookServices.Contact'. Make sure to only use property names that are defined by the type or mark the type as open type.",
"innerError":
{
"request-id": "5686a76f-f016-47aa-82a3-acd9ab57e3ae",
"date": "2017-06-14T05:44:22"
}
}
}
問題#2:https://developer.microsoft.com/en-us/graph/docs/concepts/extensibility_schema_groupsで5番目の例のように、私は拡張子でカスタムデータを得ることができる必要があります。私のテストでは、カスタムデータをエクステンションに戻すことはありません。
拡張子は次のようになります。
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#schemaExtensions",
"value": [
{
"id": "extcivhhslh_sbtest1",
"description": "SbGraph test extensions",
"targetTypes": [
"contact",
"group"
],
"status": "Available",
"owner": "da033fe6-d48e-435d-8014-e98a4b166900",
"properties": [
{
"name": "customerType",
"type": "String"
}
]
}
]
}
'' GET https://graph.microsoft.com/v1.0/schemaExtensions?$filter=id EQ「extcivhhslh_sbtest1'''の出力は何ですか? – RasmusW