How to send Azure AD SAML group claims using regular expressions, as I have multiple conditions to meet

P Sreekar Babu 5 Reputation points
2024-09-23T15:27:37.7666667+00:00

I am looking for some help on regular expression for saml groups, I have set of groups ending with xyz and few groups starting info.test, and info.dev ...etc

I have added the group claim in AzureAD enterprise apps and I have selected source attribute name as sAMAccountName and in advanced claims I have selected customize the name of the group claim, and Name (required) is set to groups and selected Apply regex replace to groups claim content entered following in regex pattern ^.(xyz|info.Dev). and in regex replacement pattern I have mentioned ${1} also tried as $& nothing seems to be working need some help please

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,911 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,263 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,777 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.