本文介绍了Office 365服务运行状况最近更新是24小时之前的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当我发送API调用以获取Office 365服务运行状况的当前状态时,最后更新总是恰好晚24小时.

Whenever I send an API call to get the Current Status of the Service Health of Office 365, the last update is always exactly 24 hours behind.

我在此处看到了此引用,但答案为这个问题是无稽之谈,所以我将在这里尝试.

I saw this referenced here but the answer to the question was nonsense, so I will try it here.

PowerShell中的示例代码

Example code in PowerShell

Invoke-RestMethod "https://manage.office.com/api/v1.0/$tenantid/ServiceComms/CurrentStatus" -Headers $officeapiheader

如果当前时间是2019-10-17T05:18:25.469735Z

返回的 StatusTime 字段为2019-10-16T05:18:25.469735Z

整整24小时.

  1. 我是否有可能在通话中犯错误?
  2. 是我所假设的,它实际上是当前状态,并且只是日期时间是错误的?
  3. 该怎么办?
  1. By any chance am I making a mistake in my calls?
  2. Is it as I assume, that, it is actually the current status andonly the datetime is wrong?
  3. What can I do to address this?

推荐答案

来自端点描述(强调我的意思):

From endpoint description (emphasis mine):

结论:您描述的行为是设计使然.

Conclusion: The behavior you described is by design.

从我的检查来看,该端点似乎显示了过去24小时内发生的所有事件/建议.例如,现在(10月17日,23:00),我可以看到具有以下日期的以下事件:

From my checking it seems like that endpoint show all incidents/advisories ongoing within last 24 hours. For example now (17th of October, 23:00) I can see the following incidents with following dates:

  1. 最后更新:2019年10月17日晚上9:18; 开始时间:2019年8月30日晚上9:00
  2. 最后更新:2019年10月17日,下午7:00; 开始时间:2019年9月25日2:00 AM
  3. 开始时间:2019年10月17日下午2:13; 结束时间:2019年10月17日下午3:00

  1. Last updated: October 17, 2019 9:18 PM; Start time: August 30, 2019 9:00 PM
  2. Last updated: October 17, 2019 7:00 PM; Start time: September 25, 2019 2:00 AM
  3. Start time: October 17, 2019 2:13 PM; End time: October 17, 2019 3:00 PM

该问题已经解决,因此可以在管理门户"的历史记录"标签中找到它.

That one is already resolved so in Admin Portal it can be found in 'History' tab.

最后更新:2019年10月14日晚上10:58; 开始时间:2019年10月14日晚上9:23

Last updated: October 14, 2019 10:58 PM; Start time: October 14, 2019 9:23 PM

该消息在过去24小时内未更新,但仍可见

That one wasn't updated in last 24 hours but it's still visible


结论

基于以上示例,这表示显示仍未关闭的项目 + 从现在到24h之前关闭的项目.因此,它不是当前的,但不是昨天的状态.


Conclusion

Based on above examples, it means that items which are still not closed + items which were closed between now and 24h ago are displayed. So it's not the current, but it's not the state from yesterday.

这篇关于Office 365服务运行状况最近更新是24小时之前的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-16 15:17