Azure AD NameID Claim transformation/Customization for a SaaS applicaiton

muraamar 21 Reputation points
2021-02-04T10:53:03.363+00:00

I am in the process of configuring/Integrating a SaaS-based application with Azure AD.

This application is currently configured with ADFS and has a Claim rule to append the alphabet character "hr" in front of the employeeID. eg "hr00000"

We are trying to achieve the same claim issuance from Azure AD. Is there a way to accomplish this in the Azure AD?

"Join" transformation rule is limited only with the verified domain name.

And I tried other transformation rules with no luck.

Thanks

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,383 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Shashi Shailaj 7,581 Reputation points Microsoft Employee
    2021-02-05T15:54:05.187+00:00

    Hello @muraamar ,

    I think you are referring to the Special Claims - transformations section of the article Customize app SAML token claims which describes one way to use the Join() function. The claim transformation section below provides more details.

    64528-image.png

    If you need a custom claim like you have specified , you will need to manually type the claim . Please find the screenshots for more clarifications.

    64631-image.png
    64620-image.png
    64519-image.png
    64520-image.png
    64632-image.png

    This should return your claim in the below format .

    <Attribute Name="http://schemas.microsoft.com/identity/claims/Hrclaim">  
     <AttributeValue>hr123453</AttributeValue>  
    </Attribute>  
    

    Hope this helps. I have written another answer with details on similar issue and would encourage you to check the same as well. In case this does not help you or I have misunderstood your query , please do let me know more details in comments and we will continue the conversation . If this worked for you , please do accept this as answer so that it helps other members searching for similar queries.

    Thank you.

    1 person found this answer helpful.