Building an expression in Azure Enterprise application attribute mapping

azure-000 1 Reputation point
2024-05-21T16:52:24.95+00:00

I am trying to understand how to write an expression within my Enterprise Application attribute mapping section with the following requirement

I need to pass the following to the destination app (Salesforce Perms)

I want to take the givenName (first name) source attribute and the sn (last name) and pass the first letter of the givenName and the first 5 digits of the sn so:

Bob Smith should equal bsmith using the expression

Can someone give me any advice or an example that will give me the result.

Thanks in advance

looking here for reference so far

https://learn.microsoft.com/en-us/entra/identity/app-provisioning/functions-for-customizing-application-data

Microsoft Entra
{count} votes

1 answer

Sort by: Most helpful
  1. Vahid Ghafarpour 20,500 Reputation points
    2024-05-21T17:23:06.9+00:00

    Thanks for posting your question in the Microsoft Q&A forum.

    Did you try to use concat and left functions?

    Concat(Left([givenName], 1), Left([sn], 5))
    

    ** Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful **

    0 comments No comments