I'm testing my login system that uses only Microsoft accounts as login. I want when a user logs in I want to read there profile and also their profile picture.
The claim I have right now:
<ClaimsSchema>
<ClaimType Id="picture">
<DisplayName>Picture</DisplayName>
<DataType>string</DataType>
</ClaimType>
</ClaimsSchema>
Also if I use Microsoft graph to get a profile picture it only returns a picture if there is one (the default picture with your initials does't count as a picture) is there a way to use the initials picture as a picture?
Or how do I configure the policy to read the profile picture?