用于GCC高O365租户的Office 365服务通信API无法正常工作

问题描述

我正在尝试通过Office 365服务通信API访问GCC高O365租户的O365订阅服务。 Office 365服务通信API参考在此处: https://docs.microsoft.com/en-us/office/office-365-management-api/office-365-service-communications-api-reference

根据API参考,我为我的应用注册添加了 ServiceHealth.Read 权限。

My Permissions

然后根据文档https://docs.microsoft.com/en-us/microsoft-365/enterprise/microsoft-365-u-s-government-gcc-high-endpoints?view=o365-worldwide, 我将端点更改为manage.office365.us。

我发送带有令牌的请求以查询数据。

https://manage.office365.us/api/v1.0/{tenant_identifier}/ServiceComms/Messages

但是响应是一个错误:

{"error": {"code": "","message": "Authorization has been denied for this request."}}

我的问题是:终结点有东西吗?或api不支持GCC Hight租户?或添加ID的权限错误?

此外,我有类似的问题,例如:Microsoft Graph API reports endpoint for GCC High not working?,对此问题有任何更新吗?

解决方法

几周后出现了同样的问题。我们从Microsoft收到的答案是,在GCC High(尚无ETA)下,Communications API尚不可用。

欢迎来到GCC高!

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...