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

How to pass homeDirectory during AD account creation

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on March 2 2022 at 02:49 UTC

Hi Team,


Can someone please help me with the correct syntax of passing the homeDirectory while provisioning in Create Account JSON?

homeDirectory value that needs to be provisioned to AD: \\xxxxxxxx.xx.xxx.xxx\xxx-xxx$\%username%

I am passing below value in create account json 

"homeDirectory":"'\\\\xxxxxxxx.xx.xxx.xxx\\xxx-xxx\$\\%'+user.customproperty1+'%'"

Regards,

Saumya

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.
3 REPLIES 3

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on March 2 2022 at 04:27 UTC

Saumya,


You can try with the JSON shared below.


"homeDirectory" : "\\\\xxxxxxxx.xx.xxx.xxx\\xxx-xxx\$\\%${user.customproperty1.toString().toLowerCase()}%",





Regards,

Avinash Chhetri

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on March 5 2022 at 10:32 UTC

Hi Avinash,


I have tried the json shared by you but it is not working.


Regards,

Saumya  

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on March 7 2022 at 15:24 UTC

Saumya,


What is the error you see in the logs ?




Regards,

Avinash Chhetri

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.