Building an expression in Azure Enterprise application attribute mapping

azure-000 1 Reputation point

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

Microsoft Entra
{count} votes

1 answer

Sort by: Most helpful
  1. Vahid Ghafarpour 19,865 Reputation points

    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