"MailboxNotHostedInExchangeOnline"尝试从MS Graph获取用户照片时 [英] "MailboxNotHostedInExchangeOnline" when trying to get user photos from MS Graph
问题描述
使用
`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团队试图清除一些错误代码,因此他们将HttpStatus代码404
的MailboxNotEnabledForRestAPI
更改为HttpStauts代码
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.
这篇关于"MailboxNotHostedInExchangeOnline"尝试从MS Graph获取用户照片时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!