Difference in amount of information provided by OCID userinfo.

Aashutosh Aryal 40 Reputation points
2023-11-01T13:14:39.4633333+00:00

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.
11,829 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,843 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.
21,367 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Fabio Andrade 1,580 Reputation points Microsoft Employee
    2023-11-03T23:02:10.84+00:00

    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?

    https://learn.microsoft.com/en-us/entra/identity-platform/userinfo#permissions

    Thanks,

    Fabio


  2. Aashutosh Aryal 40 Reputation points
    2023-11-17T02:58:19.3833333+00:00

    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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.