Custom claim rule: c:[Type == "http://schemas.microsoft.com", Issuer == "AD AUTHORITY"] => issue(store = "Active Directory", types = ("Email", "FirstName", "LastName"), query = ";mail,givenName,sn;{0}", param = c.Value);

ujjwal sinha 0 Reputation points
2025-03-10T17:07:52.73+00:00

Custom claim rule:

c:[Type == "http://schemas.microsoft.com", Issuer == "AD AUTHORITY"]

=> issue(store = "Active Directory", types = ("Email", "FirstName", "LastName"), query = ";mail,givenName,sn;{0}", param = c.Value); need to create this

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
23,707 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Raja Pothuraju 16,840 Reputation points Microsoft External Staff
    2025-03-19T22:39:30.76+00:00

    Hello @ujjwal sinha,

    I see that you’re looking to convert your ADFS custom claim rule to a Microsoft Entra ID application.

    To configure the same claim rule in Microsoft Entra ID, follow these steps:

    1. Log in to the Azure Portal.
    2. Navigate to Microsoft Entra ID > Enterprise Applications.
    3. Select the application.
    4. Go to Single Sign-On and click Edit under Attributes & Claims.

    User's image

    In your ADFS claim rule, I see that it is passing Email, FirstName, and LastName. To achieve the same in Entra ID, you need to add the corresponding claims.

    User's image

    By default, these claims should be included in the application. If they are missing, you can manually add them by clicking "Add New Claim".

    Please let me know if you need any additional user attributes in the claim.

    I hope this information is helpful. Please feel free to reach out if you have any further questions.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    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.