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

EO Campaign - Include Active Users with accounts and also accounts with no user association

SPP
New Contributor II
New Contributor II

Hi All,

We have applications with regular accounts( associated with users) and service accounts (not associated to any user).

Need to launch Entitlement Owner campaign for the below cases

1. Active users with active accounts

2. Active service accounts not associated with any user.

SPP_0-1727899120064.png

If I add statuskey='1' in the Users Query, the second case is failing and not including service accounts in the campaign. How can we make sure both the cases are working?

Thanks

 

 

8 REPLIES 8

NM
Honored Contributor II
Honored Contributor II

@SPP inactive users will be having inactive accounts so I believe they will be automatically removed from the campaign and you don't have to apply filter on users query.

rushikeshvartak
All-Star
All-Star
  • Remove filter as inactive users are by default ignored in EO

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

SPP
New Contributor II
New Contributor II

@NM @rushikeshvartak  By default it includes both active and inactive users. There are some active accounts for inactive users. Those should not get included.

SPP_0-1727972428979.png

 

NM
Honored Contributor II
Honored Contributor II

@SPP add below query in account query

accountkey in (select ua.accountkey from user_accounts ua, users u where u.userkey=u.userkey and u.statuskey=1) or 

accountkey not in (select ua.userkey from user_accounts ua)

SPP
New Contributor II
New Contributor II

@NMI still see inactive users showing up in the campaign after the accounts query is added as mentioned.

NM
Honored Contributor II
Honored Contributor II

@SPP add only this and see.

accountkey in (select ua.accountkey from user_accounts ua, users u where ua.userkey=u.userkey and u.statuskey=1)

SPP
New Contributor II
New Contributor II

@NM It shows up only active users now but the service accounts are missing.

accountkey in ((select ua.accountkey from user_accounts ua, users u where ua.userkey=u.userkey and u.statuskey=1) union  (select a.accountkey from accounts a where a.endpointkey in (1 ) and a.accountkey not in (select accountkey from user_accounts)) )

rushikeshvartak_0-1728094439927.png

 


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