"MailboxNotHostedInExchangeOnline"尝试从MS Graph获取用户照片时 [英] "MailboxNotHostedInExchangeOnline" when trying to get user photos from MS Graph

查看:111
本文介绍了"MailboxNotHostedInExchangeOnline"尝试从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代码404MailboxNotEnabledForRestAPI更改为HttpStauts代码MailboxNotHostedInExchangeOnline >.这是意料之外的,因此我们已经撤消了此更改,并紧急推出了针对产品的修复程序.

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屋!

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