Microsoft Graphを使用してproxyAddressおよびextensionAttribute1を更新します。
ただし、proxyAddressesは読み取り専用で、extensionAttribute1はhttps://graph.microsoft.com/v1.0/ $メタデータに存在しないため更新できません。Microsoft Graphを使用してproxyAddressesおよびextensionAttribute1のようなExchangeに関連する属性を更新する方法
実際にはエラーが発生します。
PATCH https://graph.microsoft.com/v1.0/users/[email protected]
{
"proxyAddresses": [
"SMTP:[email protected]",
"smtp:[email protected]"
]
}
response:
{
"error": {
"code": "Request_BadRequest",
"message": "Property 'proxyAddresses' is read-only and cannot be set.",
"innerError": {
"request-id": "84c5ca8e-47ad-44e3-b98f-e6c37f9139b7",
"date": "2016-06-22T15:53:35"
}
}
}
PATCH https://graph.microsoft.com/v1.0/users/[email protected]
{
"extensionAttribute1": "aaa"
}
response:
{
"error": {
"code": "Request_BadRequest",
"message": "One or more extension property values specified are invalid.",
"innerError": {
"request-id": "cdd06584-70a8-4c82-8fa7-be520c28c0ee",
"date": "2016-06-22T15:51:57"
}
}
}
更新する方法がある場合は教えてください。
に役立ちますが、直接グラフAPI経由のproxyAddressesを更新できるように役立つだろう。 EXOでメールボックスを作成すると、Azure ADにプロキシアドレスをすぐに同期させるようには見えません。そのため、Azure ADは正しくないproxyAddressをEXOオブジェクトにプッシュします。 –