Click HERE to see how Saviynt Intelligence is transforming the industry. |
04/12/2022 01:07 PM
I am trying to clear an AD attribute on the UPDATEACCOUNTJSON on the ADSI connector, however I get a null reference exception in the Agent Logs.
I am using a piece of groovy for example:
map1.put("extensionAttribute11", user.customproperty10 == null ? '' : user.customproperty10);
However I noticed there is not a SUPPORTEMPTYSTRING section available on the ADSI connector.
Does anyone know how I can achieve this?
Thanks
Shaun
Solved! Go to Solution.
04/12/2022 02:24 PM
Hi Shaun,
You can set the SUPPORTEMPTYSTRING parameter as "FALSE" to make sure the data is being removed on your target AD (as specified in the documentation), in coordination with sending empty value through your connector (as example provided below using user's title).
${null!=user.title?user.title:''}
Best,
Adrien.
04/12/2022 02:24 PM
Adrien,
sadly that setting does not exist on the ADSI connector, hence why I am asking the question, unless you know of a secret way to set it 🙂
Thanks anyway
04/12/2022 02:24 PM
UPDATE: It seems there was no way to clear AD attributes for the ADSI connector.
I had to get a patch from the engineering team for the ADSI agent on the agent web server to get this working
However NOTE if you get this patch, it only works if you set the attribute to null. It does not support using empty strings '' to clear attributes
04/12/2022 02:24 PM
Thanks for the update Shaun.