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

Issue with Importing Service Accounts from AD into Saviynt

Shub4Sav
New Contributor II
New Contributor II

Hi Saviynt Admins,
I have a possibly simple question, but I haven't been able to solve it myself. It's about importing service accounts from Active Directory (AD) into Saviynt.

The customer wants both user accounts and service accounts to be imported from AD into Saviynt. The import works well overall and meets most expectations. However, service accounts are being imported just like regular accounts, and the accountType attribute isn't being set correctly.

Currently, we've implemented a workaround: service accounts from AD are imported with a "T" in customProperty14 (which corresponds to extensionAttribute3 in AD). We've also created an enhanced query execution job that detects all accounts with a "T" in customProperty14 and changes the accountType to "Service Account."

Is there any way to set the accountType attribute to "Service Account" directly during the import process?

I found the IMPORTJSON function in the connection, but based on what I saw in the documentation, is it only related to timeouts? Or is there another section or function where I could use a script or something similar to detect service accounts?

I learned that in the ACCOUNT_ATTRIBUTE section, only mappings like this are allowed:
“CUSTOMPROPERTY1::samaccountname#String“
But not:
“customProperty14::${extensionAttribute3 == 'T' ? 'Service Account' : ACCOUNTTYPE}#String“
Or:
“{ "target": "customproperty60",
     "source": "proxyAddresses#String"},
{ "target": "ACCOUNTTYPE",
   "script": "if (customProperty14 === 'T') { return 'Service Account'; } else { return ' '; }"}“

Am I correct?

 

Regards

Shub4Sav

2 REPLIES 2

rushikeshvartak
All-Star
All-Star
  • You can't use CONST in AD connector hence enhanced query is correct solution for now

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

Shub4Sav
New Contributor II
New Contributor II

Ok thank you for your reply.