In Microsoft Entra (formerly Azure Active Directory) how do I add more claims to the openid-configurations manifest claims-supported json

I know there is already a similar question here: How to add more claims to openid-configuration’s claims_supported? but it was never answered and my question is specifically about Entra (Azure AD) while that one was not specific to that platform.

Right now when I reach out to https://login.microsoftonline.com/{myAppId}/v2.0/.well-known/openid-configuration

I get the following options in my json

    "claims_supported": [
        "sub",
        "iss",
        "cloud_instance_name",
        "cloud_instance_host_name",
        "cloud_graph_host_name",
        "msgraph_host",
        "aud",
        "exp",
        "iat",
        "auth_time",
        "acr",
        "nonce",
        "preferred_username",
        "name",
        "tid",
        "ver",
        "at_hash",
        "c_hash",
        "email"
    ],

The consuming system will only allow me to use claims from that node for the username, and we have a custom claim called employeeId that we’d like to use, but it is not in this list and is not available for use.

Is there any way to add a custom claim to the claims_supported options?

Read more here: Source link