Microsoft.Identity.Client.Internal.IdToken
class IdToken
The OID claim is a unique identifier (GUID) for the user object in Azure AD.
Guest Users have different OID.
This is a stable ID across all apps.
IMPORTANT: There are rare cases where this is missing!
The sub claim is a unique identifier for user + app.
public IdToken()