Forum Discussion
josendf
Mar 01, 2021Copper Contributor
Unable to retrieve user photo from Azure AD profile
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 neit...
josendf
Copper Contributor
Hi Vasil, Thank you for you reply. We are still getting HTTP 500 "Exception of type 'Microsoft.Fast.Profile.Core.Exception.ProfileInternalServerException' was thrown.", We will try to open a support case. Best regards
z0m1x
Nov 07, 2021Copper Contributor
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"
}
}
}
The other one works, that starts with "Ew" Same as in Graph Explorer
Anyone?