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

Map orphan account via analytics

NID27
Regular Contributor
Regular Contributor

Hi,

 

I am trying to map orphan accounts via analytics. I have written a below query but gives error.

SELECT accountkey as 'acctkey' , name from accounts where status not in (1,'Active','Manually Provisioned') and endpointkey=8 and accountkey not in (select accountkey from user_accounts)

NID27_0-1717404039728.png

Thanks

Nidhi Sharma

4 REPLIES 4

pmahalle
All-Star
All-Star

@NID27 

Looks like query is correct but can you try below once, by removing single quotes

SELECT accountkey as acctkey, name from accounts where status not in (1,'Active','Manually Provisioned') and endpointkey=8 and accountkey not in (select accountkey from user_accounts)


Pandharinath Mahalle(Paddy)
If this reply helps your question, please consider selecting Accept As Solution and hit Kudos 🙂

Raghu
All-Star
All-Star

@NID27  we can't map orphan accoutns via analytics , based on csv file you upload

 

select a.name,a.accountkey as acctKey, endpointkey, 'disableAccount' as Default_Action_For_Analytics from accounts a where accountkey not in (select accountkey from user_accounts)

https://docs.saviyntcloud.com/bundle/EIC-Admin-v24x/page/Content/Chapter17-EIC-Analytics/Managing-An...

 

 

https://forums.saviynt.com/t5/identity-governance/map-orphan-account-with-analytics/m-p/77115#M49161

 


Thanks,
Raghu
If this reply answered your question, Please Accept As Solution and hit Kudos.

HI @Raghu ,

It's working for me in 24.4. What do you mean by CSV upload? @NID27  Try with query above.


Pandharinath Mahalle(Paddy)
If this reply helps your question, please consider selecting Accept As Solution and hit Kudos 🙂

rushikeshvartak
All-Star
All-Star

K is small in your query

SELECT accountkey as 'acctKey' , name from accounts where status not in (1,'Active','Manually Provisioned') and endpointkey=8 and accountkey not in (select accountkey from user_accounts)

 


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