Mar 01 2021
04:38 AM
- last edited on
Jan 14 2022
03:28 PM
by
TechCommunityAP
Mar 01 2021
04:38 AM
- last edited on
Jan 14 2022
03:28 PM
by
TechCommunityAP
Hi,
We have created several users in an Azure AD tenant and since today we cannot retrieve the user photos via Microsoft Graph requests and also the user photos are not shown in Azure Portal neither we can update the photos. This was working correctly a few days ago.
Any help will be appreciated.
Thank you.
When requesting:
https://graph.microsoft.com/beta/me/photo
https://graph.microsoft.com/beta/me/photo/$value
We are receiving the following error response:
{
"error": {
"code": "AadGraphAuthFailed",
"message": "Exception of type 'Microsoft.Fast.Profile.Core.Exception.ProfileInternalServerException' was thrown.",
"innerError": {
"date": "2021-03-01T12:28:24",
"request-id": "50804d78-04bb-40c1-bbc7-49a2096733df",
"client-request-id": "e429a97c-1457-dbdd-96c6-9afca4d726a9"
}
}
}
Mar 01 2021 09:08 AM
Mar 01 2021 09:12 AM
Nov 07 2021 04:00 AM - edited Nov 07 2021 04:39 AM
Hi, how did you got this working? or anyone else know?
Im using Flutter and when i try with the access token from Graph Explorer that starts with "EwCAA8l6BA..." Not a JWT Token i guess.. It Works. But the getAccessToken() from library aad_oauth; returns a token that starts with "Ey".. JWT token. It works with: https://graph.microsoft.com/v1.0/me/
But not with https://graph.microsoft.com/v1.0/me/photo/$value
There i get:
{
"error": {
"code": "AadGraphAuthFailed",
"message": "Accessing service failed.",
"innerError": {
"date": "2021-11-07T11:54:42",
"request-id": "c39r14a4-e6b4-301c-bd44-ear13c24881d",
"client-request-id": "c32f14a3-e6a4-102b-bd34-ecf12b24886d"
}
}
}
Anyone?