Outlook 使用MS Graph添加事件订阅时出错

Outlook 使用MS Graph添加事件订阅时出错,outlook,microsoft-graph-api,Outlook,Microsoft Graph Api,我正在使用MS graph subscription端点()为我的一些最终用户outlook帐户在日历事件上添加订阅。对于某些帐户(并非所有帐户),此操作失败,并出现以下错误: { "error": { "code": "ExtensionError", "message": "Operation: Create; Exception: [Status Code: ServiceUnav

我正在使用MS graph subscription端点()为我的一些最终用户outlook帐户在日历事件上添加订阅。对于某些帐户(并非所有帐户),此操作失败,并出现以下错误:

{
  "error": {
    "code": "ExtensionError",
    "message": "Operation: Create; Exception: [Status Code: ServiceUnavailable; Reason: Target resource 'xxxx-xxx-xxx-xxxx' hosted on database 'xxxx-xxx-xxx-xxxx' is currently on backend 'Unknown']",
    "innerError": {
      "date": "2021-05-31T08:27:37",
      "request-id": "c7c38d7a-617c-4601-9684-0f924e86248a",
      "client-request-id": "c7c38d7a-617c-4601-9684-0f924e86248a"
    }
  }
}
就在添加订阅之前,我的代码已经能够向同一日历添加新事件,因此我认为我的访问令牌具有访问该日历的正确权限。所以我不明白我怎么能得到一个“ExtensionError”

下面是我运行以尝试添加订阅的C#代码:

var subscription = new Subscription
{
    ChangeType = "created,updated,deleted",
    NotificationUrl = GetNotificationUrl(),
    Resource = $"me/calendars/{calendarId}/events",
    ExpirationDateTime = DateTimeOffset.Now.AddHours(70),
    ClientState = clientState,
};

await graphServiceClient
    .Subscriptions
    .Request()
    .Header("Prefer", $"IdType=\"ImmutableId\"")
    .AddAsync(subscription);
(1) 通过在POSTMAN/Graph Explorer中进行相同的调用,尝试将问题从代码中分离出来(2)启用NGROK以查看它是否提供了更多的洞察力(3)如果问题持续存在或间歇性出现,通过查看错误听起来像是服务问题。考虑打开Office门户中的支持票,以便他们能够进行调查。