Microsoft 365管理API,currentStatus昨天返回"statusTime"场地 [英] Microsoft 365 management API, currentStatus returns yesterday "statusTime" field

查看:131
本文介绍了Microsoft 365管理API,currentStatus昨天返回"statusTime"场地的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在努力迁移到Office365/M365,当我们对Microsoft Management API进行API调用以获取状态时,statusTime字段为昨天.有什么想法吗?

We're working on migrating to Office365/M365 and when we make an API call to the Microsoft Management API for status, the statusTime field is yesterday. Any ideas why?

https://manage.office.com/api/v1.0/(tenant)/ServiceComms/CurrentStatus

这是来自Exchange Online状态的部分json:

Here's a partial json from the Exchange Online status:

        "Status": "ServiceRestored",
        "StatusDisplayName": "Service restored",
        "StatusTime": "2018-10-01T18:49:36.4528522Z",
        "Workload": "Exchange",
        "WorkloadDisplayName": "Exchange Online"

StatusTime比我当前的时区晚1天.时间似乎在UTC时间,但在UTC时间-1天.我很困惑为什么?我认为这将是当前状态.

StatusTime is exactly 1 day behind from my current timezone. The time appears to be in UTC but its UTC - 1 day. I'm confused why? I thought it would be current status.

有什么想法吗?

谢谢.

推荐答案

当您调用Microsoft Management API的状态时,您将获得当前和正在进行的服务事件以及维护事件的实时视图.

When you call to the Microsoft Management API for status, you will get a real-time view of current and ongoing service incidents and maintenance events.

如果要显示当前时区,可以尝试在本地切换时区.

If you want to display the current time zone, you could try to switch time zones locally.

Microsoft Management API将不会返回您的当前时区.

The Microsoft Management API will not return your current timezone.

有关更多信息,请查看以下链接:

For more information, please review the following link: Get Current Status

这篇关于Microsoft 365管理API,currentStatus昨天返回"statusTime"场地的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆