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

查看:18
本文介绍了“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 团队试图清理一些错误代码,因此他们将 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.

这篇关于“MailboxNotHostedInExchangeOnline"尝试从 MS Graph 获取用户照片时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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