Hi @Roberto Lambertini
I understand that the oid
claim is not included in the ID token in Microsoft Entra ID External tenants.
According to this document https://learn.microsoft.com/en-us/entra/external-id/customers/reference-oidc-claims-mapping-customers The ID token does not include the oid
claim, which is why you are not getting it in the ID token. Unfortunately, there is no way to customize these claims.
I would like to request that you share your feedback on our feedback channel https://feedback.azure.com/d365community/forum/22920db1-ad25-ec11-b6e6-000d3a4f0789 Which would be open for the user community to upvote & comment on. This allows our product teams to effectively prioritize your request against our existing feature backlog and gives insight into the potential impact of implementing the suggested feature.
Hope this helps. Do let us know if you any further queries.
Thanks,
Navya.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.