Difference in amount of information provided by OCID userinfo.

Aashutosh Aryal 40 Reputation points

User's image

User's image

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
9,101 questions
Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,456 questions
Microsoft Entra
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
17,523 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Fabio Andrade 400 Reputation points Microsoft Employee

    Hi @Aashutosh Aryal

    Thanks for reaching out to Microsoft Q&A!

    Could you please confirm if the user without the family_name and given_name claims have both attributes filled on EntraID?

    Also, could you also confirm if you are using the same request to get an access token on both cases following this document?




  2. Aashutosh Aryal 40 Reputation points

    Decrypting an ID token requires me to fetch the signing certificates from microsoft then decrypting it, and found that the userinfo endpoint was quicker and simpler for my use case.

    As for the answer, it turns out that I have to use the common tenant for the authorization url for it to work with both my organizational and external personal microsoft accounts.

    0 comments No comments