Enterprise App SAML claim transformation

Danny Salinas 1 Reputation point

I have a working Enterprise App configured for authentication against AAD, but have an issue with one of the attributes in the claims response. I would like to transform user.department to remove all spaces and commas from the string. I thought it'd be fairly straightforward, perhaps with RegExReplace() and Trim(), but can't figure it out. Has anyone done this? A pointer in the right direction would be much appreciated. Thank you.

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