Why does transformation doesn't work after IfEmpty() being used in Entra ID SAML Claim configuration

Giservin Tifira Zain 20 Reputation points
2024-07-17T09:12:48.1466667+00:00

User's image

Based on above image, I do transformation with RegexReplace() after IfEmpty() being invoked. If it's true then it'll output the user.mail, so the RegexReplace operation should be done in user.mail, but why doesn't it work? and it only returns the mail but not doing the RegexReplace operation?

When I do it without IfEmpty, just one single RegexReplace Transformation operation, it works well

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

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.