“MailboxNotHostedInExchangeOnline"尝试从 MS Graph 获取用户照片时片时、用户、quot、MailboxNotHostedInExchangeOnli

2023-09-06 17:32:07 作者:孤单。

使用

`https://graph.microsoft.com/beta/users/${email}/photo/$value`

上周一直在为我工作,但现在它引发 400 错误错误输出

had been working for me last week but now it throws a 400 error Error Output

邮箱由本地或非 Exchange 服务器托管,不受支持."

"Mailbox is hosted by an on-premise or non-Exchange server, which is not supported."

据我所知,我们的结局没有任何改变.使用 v1.0 似乎没有任何区别.我认为用户照片存储在本地交换中,然后在 AAD 同步.像这样至少一年来一直运行良好.

As far as I know nothing has changed from our end. Using the v1.0 doesn't seem to make any difference. I think the user photos are stored on an on-premise exchange but are then synced up at AAD. This has been working fine for at least a year like this.

有人知道最近几天有什么变化吗?对此有任何记录在案的解决方案吗?

Anybody know if anything has changed in the last few days? Any documented solutions to this?

推荐答案

Exchange Online 团队试图清理一些错误代码,因此他们将 MailboxNotEnabledForRestAPI 更改为 HttpStatus 代码 404MailboxNotHostedInExchangeOnline 与 HttpStauts 代码 400.这是无意的,因此我们已恢复此更改,并正在紧急推出修复程序.

Exchange Online team was trying to clean up some error codes and such they changed MailboxNotEnabledForRestAPI with HttpStatus code 404 to MailboxNotHostedInExchangeOnline with HttpStauts code 400. This was un-intended and such we have since reverted this change, and are rolling out the fixes to prod with urgency.

 
精彩推荐
图片推荐