Click HERE to see how Saviynt Intelligence is transforming the industry. |
09/19/2024 10:13 AM
Hi Team,
We have a parent connection to Active Directory and a one of the endpoint as ServiceNow Management, where we have only disabled the endpoint, but the accounts remain active.
1.Is it possible to disable the accounts via a CSV file when the endpoint is inactive?
2. Can we disable the accounts using an enhanced query and how? (They are 2700 Accounts associated with this endpoint)
Thanks,
Gopinath
Solved! Go to Solution.
09/19/2024 10:18 AM
SELECT
CONCAT(ac.name, '-Deleted on-', SYSDATE()) AS accounts__name,
'SUSPENDED FROM IMPORT SERVICE' AS accounts__status,
ac.accountkey AS accounts__primarykey FROM accounts ac,endpoints e where ac.STATUS not in ( 'SUSPENDED FROM IMPORT SERVICE') and ac.endpointkey=e.endpointkey and e.endpointname='Rushi'