[英]Outlook Profile Picture not showing after Microsoft known issue shared on 30th SEPT
GET /users/{id |获取/用户/{id | userPrincipalName}/photo
userPrincipalName}/照片
I am using this graph API to get outlook profile picture it was working perfectly before 30th SEPT Microsoft has shared some known issues: https://learn.microsoft.com/en-us/graph/known-issues#groups我正在使用此图 API 获取 outlook 个人资料图片它在 9 月 30 日之前运行良好 Microsoft 分享了一些已知问题: https://learn.microsoft.com/en-us/graph/known-issues#groups
enter image description here But some how it has stop working as before I got below error: enter image description here但一些它是如何停止工作的,就像我遇到以下错误之前一样:
Unauthorized: Access is denied due to invalid credentials.未授权:由于凭据无效,访问被拒绝。 You do not have permission to view this directory or page using the credentials that you supplied.
您无权使用您提供的凭据查看此目录或页面。
Anyone have any idea about this??有人对此有任何想法吗?
I don't know about before september 30th, but recently I worked on a project and what works for me is the following:我不知道 9 月 30 日之前,但最近我在做一个项目,对我有用的是:
GET /users/{id | userPrincipalName}/photo/$value
Take a look at the official documentation and hope it helps you.看看官方文档,希望对你有帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.