gpt4 book ai didi

microsoft-graph-api - 无法发送消息增量遇到错误 ErrorMailboxMoveInProgress

转载 作者:行者123 更新时间:2023-12-04 03:34:25 25 4
gpt4 key购买 nike

我正在使用 delta requset 来跟踪 M365 邮件文件夹的变化:

 GET https://graph.microsoft.com/v1.0/me/mailFolders/{id}/messages/delta
但是我遇到了一些就地存档邮件文件夹的错误(其余都很好)。
{
"error": {
"code": "ErrorMailboxMoveInProgress",
"message": "Mailbox move in progress. Try again later., The user and the mailbox are in different Active Directory sites.",
"innerError": {
"date": "2021-04-21T07:06:41",
"request-id": "eea2a19f-7ab1-4039-9ecb-4d11fbaeba77",
"client-request-id": "eea2a19f-7ab1-4039-9ecb-4d11fbaeba77"
}
}
}
cache-control →private
client-request-id →eea2a19f-7ab1-4039-9ecb-4d11fbaeba77
content-encoding →gzip
content-type →application/json
date →Wed, 21 Apr 2021 07:06:40 GMT
preference-applied →odata.track-changes
request-id →eea2a19f-7ab1-4039-9ecb-4d11fbaeba77
retry-after →15
strict-transport-security →max-age=31536000
transfer-encoding →chunked
vary →Accept-Encoding
x-ms-ags-diagnostic →{"ServerInfo":{"DataCenter":"Korea Central","Slice":"E","Ring":"2","ScaleUnit":"003","RoleInstance":"SE1PEPF00000A3F"}}
我还通过powershell检查在线交换是否有任何进展
Get-MoveRequest | Format-List
但我什么也没得到。
  • 会不会是这个邮箱的临时错误?
  • 为什么它通过powershell 的cmd Get-MoveRequest 显示任何在线交换?

  • 谢谢。

    最佳答案

    这可能是答案:https://developer.microsoft.com/en-us/graph/blogs/accessing-outlook-items-in-a-users-archived-shared-or-delegated-mailboxes-using-microsoft-graph/
    请注意,此类跨邮箱 API 调用从未得到支持,而且性能较低且更容易出错。 (就地存档邮箱是为用户的主邮箱启用的附加邮箱。)
    我相信唯一的选择是使用 EWS。
    How to get In-Place archive mailbox in Exchange Online using Office 365 APIs

    关于microsoft-graph-api - 无法发送消息增量遇到错误 ErrorMailboxMoveInProgress,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67191030/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com