Azure AD claim transformation Limit number of Characters

Dhilipan Ramadass 66 Reputation points
2021-05-12T16:42:06.307+00:00

Hello,

We have requirement to extract email prefix and limit the characters to 1st 20. cant find any expression for this. Can anyone help ?

Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

1 answer

Sort by: Most helpful
  1. James Hamil 27,221 Reputation points Microsoft Employee Moderator
    2021-05-12T20:47:23.957+00:00

    Hi @Dhilipan Ramadass , you can use string transformations, mainly StringSubstring. You can take the email prefix and then take a substring from that. I hope this helps! Please let me know if you have any questions.

    If this answer helped you, please mark it as "Verified" so other users may reference it.

    Thank you,
    James

    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.