Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

UserAccount Correlation RUle

sk
Regular Contributor
Regular Contributor

Hello experts,

We have an issue where we are importing accounts from target we are importing only the UPN(UserPrincipalName).

But in users no attribute is storing the UPN value. 

UPN eg: abc.xyz@onmicrosoft.com

User Email eg:abc.xyz@gmail.com

The only common here usersfirstname.lastname

Please let me know how can we corelate 

3 REPLIES 3

NM
Honored Contributor II
Honored Contributor II

Hi @sk , reconstruct the upn using user field in advance config of user account correlation rule

You can use substring function.

PremMahadikar
All-Star
All-Star

Hi @sk ,

Use the below code in account correlation rule:

concat(users.firstname,'.',users.lastname)=SUBSTRING_INDEX(accounts.name,'@',1) # SUBSTRING_INDEX(users.email,'@',1)=SUBSTRING_INDEX(accounts.name,'@',1)

PremMahadikar_1-1721905444619.png

If this helps your question, please consider selecting Accept As Solution and hit Kudos

rushikeshvartak
All-Star
All-Star

CONCAT( REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(users.firstname, '-', ''), '/', ''), ',', ''), '''', ''), '.', ''), '(', ''), ')', ''), ' ', ''), '.', REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(users.lastname, '-', ''), '/', ''), ',', ''), '''', ''), '.', ''), '(', ''), ')', ''), ' ', '') ) = SUBSTRING_INDEX(accounts.name, '@', 1)

replaced all special characters from first name and last name


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.