我有一个多租户应用程序,它设置了 webhook 来监视到达SentItems
文件夹的新电子邮件。有时我会收到一个随机租户的通知,即收到了一封新电子邮件,但我无法通过 Microsoft Graph 或 EWS 在用户邮箱中找到它。
我收到此 ID 已到达的通知:
AQMkAGE1YmY5ZTM3LTdhYjYtNGU2MS05MDJkLWQzMDgxNDZlN2EwMQBGAAADJ2k4Z_nN2EesAOQmmgC7dgcA_OcbH5po-EylTmt0f90rNAAAAgEJAAAA_OcbH5po-EylTmt0f90rNAAAAQOK3wAAAA==
但SentItems
文件夹中唯一的消息是:
[0]: "AQMkAGE1YmY5ZTM3LTdhYjYtNGU2MS05MDJkLWQzMDgxNDZlN2EwMQBGAAADJ2k4Z_nN2EesAOQmmgC7dgcA_OcbH5po-EylTmt0f90rNAAAAgEJAAAA_OcbH5po-EylTmt0f90rNAAAAQOK6wAAAA=="
[1]: "AQMkAGE1YmY5ZTM3LTdhYjYtNGU2MS05MDJkLWQzMDgxNDZlN2EwMQBGAAADJ2k4Z_nN2EesAOQmmgC7dgcA_OcbH5po-EylTmt0f90rNAAAAgEJAAAA_OcbH5po-EylTmt0f90rNAAAAQOK6gAAAA=="
[2]: "AQMkAGE1YmY5ZTM3LTdhYjYtNGU2MS05MDJkLWQzMDgxNDZlN2EwMQBGAAADJ2k4Z_nN2EesAOQmmgC7dgcA_OcbH5po-EylTmt0f90rNAAAAgEJAAAA_OcbH5po-EylTmt0f90rNAAAAQOK6QAAAA=="
[3]: "AQMkAGE1YmY5ZTM3LTdhYjYtNGU2MS05MDJkLWQzMDgxNDZlN2EwMQBGAAADJ2k4Z_nN2EesAOQmmgC7dgcA_OcbH5po-EylTmt0f90rNAAAAgEJAAAA_OcbH5po-EylTmt0f90rNAAAAQOK6AAAAA=="
[4]: "AQMkAGE1YmY5ZTM3LTdhYjYtNGU2MS05MDJkLWQzMDgxNDZlN2EwMQBGAAADJ2k4Z_nN2EesAOQmmgC7dgcA_OcbH5po-EylTmt0f90rNAAAAgEJAAAA_OcbH5po-EylTmt0f90rNAAAAQOK5wAAAA=="
[5]: "AQMkAGE1YmY5ZTM3LTdhYjYtNGU2MS05MDJkLWQzMDgxNDZlN2EwMQBGAAADJ2k4Z_nN2EesAOQmmgC7dgcA_OcbH5po-EylTmt0f90rNAAAAgEJAAAA_OcbH5po-EylTmt0f90rNAAAAQOK5AAAAA=="
[6]: "AAMkAGE1YmY5ZTM3LTdhYjYtNGU2MS05MDJkLWQzMDgxNDZlN2EwMQBGAAAAAAAnaThn6c3YR6wA5CaaALt2BwD45xsfmmj8TKVOa3R-3Ss0AAAAAAEJAAD45xsfmmj8TKVOa3R-3Ss0AAA9xTdMAAA="
[7]: "AAMkAGE1YmY5ZTM3LTdhYjYtNGU2MS05MDJkLWQzMDgxNDZlN2EwMQBGAAAAAAAnaThn6c3YR6wA5CaaALt2BwD45xsfmmj8TKVOa3R-3Ss0AAAAAAEJAAD45xsfmmj8TKVOa3R-3Ss0AAAHDRc_AAA="
[8]: "AQMkAGE1YmY5ZTM3LTdhYjYtNGU2MS05MDJkLWQzMDgxNDZlN2EwMQBGAAADJ2k4Z_nN2EesAOQmmgC7dgcA_OcbH5po-EylTmt0f90rNAAAAgEJAAAA_OcbH5po-EylTmt0f90rNAAAAQOK1wAAAA=="
并且在邮箱中的任何地方都找不到电子邮件。实际上,我认为其中两个 ID 与父文件夹的 ID 不匹配很奇怪,但其余的却匹配。
04/07 更新:
马克请求了完整的通知,但我没有这个 ID。悬停我有一个新的,该项目不存在。该通知是多个通知的一部分,但我找不到的是这个:
{
"subscriptionId":"70f45211-1096-4282-b34a-b37219ff7756",
"subscriptionExpirationDateTime":"2018-07-04T23:00:02.7089152+00:00",
"changeType":"created",
"resource":"Users/2e1b31b1-9ba8-43b0-92e2-d7e7eb740017/Messages/AAMkADZhMWJhNjQ3LTJkZGQtNGViYS05MTBlLWExYzg1YWU4YjU1OABGAAAAAAC0KduT98_pQLvg9lqbswvNBwCXszCEea-1T5Fvw2GeYIEvAAAAAAEJAACXszCEea-1T5Fvw2GeYIEvAAAAH3cQAAA=",
"resourceData":{
"@odata.type":"#Microsoft.Graph.Message",
"@odata.id":"Users/2e1b31b1-9ba8-43b0-92e2-d7e7eb740017/Messages/AAMkADZhMWJhNjQ3LTJkZGQtNGViYS05MTBlLWExYzg1YWU4YjU1OABGAAAAAAC0KduT98_pQLvg9lqbswvNBwCXszCEea-1T5Fvw2GeYIEvAAAAAAEJAACXszCEea-1T5Fvw2GeYIEvAAAAH3cQAAA=",
"@odata.etag":"W/\"CQAAABYAAACXszCEea/1T5Fvw2GeYIEvAABTkl6J\"",
"id":"AAMkADZhMWJhNjQ3LTJkZGQtNGViYS05MTBlLWExYzg1YWU4YjU1OABGAAAAAAC0KduT98_pQLvg9lqbswvNBwCXszCEea-1T5Fvw2GeYIEvAAAAAAEJAACXszCEea-1T5Fvw2GeYIEvAAAAH3cQAAA="
},
"clientState":"e698cb6b-03f6-4ecb-847d-aa142a21176d"
},
更新 05-07:另一个:
{
"subscriptionId":"3f7f0518-1e1c-4126-b046-ead9251692e8",
"subscriptionExpirationDateTime":"2018-07-06T19:00:11.8955691+00:00",
"changeType":"created",
"resource":"Users/dcfcac62-511b-425c-93ad-e7f786f67f90/Messages/AAMkADdjMzk2ZmE5LWFhZTgtNDY4MC04NTQ3LWQ1NTc1N2FhYWU5OQBGAAAAAADHkc19ugpQQYziYaUQfoyOBwB4OcB73fiVTK3E3hTiQwPfAAAAAAEJAAB4OcB73fiVTK3E3hTiQwPfAAMSo0tHAAA=",
"resourceData":{
"@odata.type":"#Microsoft.Graph.Message",
"@odata.id":"Users/dcfcac62-511b-425c-93ad-e7f786f67f90/Messages/AAMkADdjMzk2ZmE5LWFhZTgtNDY4MC04NTQ3LWQ1NTc1N2FhYWU5OQBGAAAAAADHkc19ugpQQYziYaUQfoyOBwB4OcB73fiVTK3E3hTiQwPfAAAAAAEJAAB4OcB73fiVTK3E3hTiQwPfAAMSo0tHAAA=",
"@odata.etag":"W/\"CQAAABYAAAB4OcB73fiVTK3E3hTiQwPfAAMTQCkA\"",
"id":"AAMkADdjMzk2ZmE5LWFhZTgtNDY4MC04NTQ3LWQ1NTc1N2FhYWU5OQBGAAAAAADHkc19ugpQQYziYaUQfoyOBwB4OcB73fiVTK3E3hTiQwPfAAAAAAEJAAB4OcB73fiVTK3E3hTiQwPfAAMSo0tHAAA="
},
"clientState":"59f393b1-6200-4c4e-9ce3-7d70a009359c"
}