09/13/2023
09:25 AM
- last edited on
09/14/2023
12:27 AM
by
Sunil
Hi Team,
For few users New Account task for AD creation is not getting completed. Getting below Error in provisioning comments
"Not FOund DN for CN=Ib*******,OU=CI-REMOTE,OU=Ivory Coast,OU=Users,OU=Pol*****,DC=ad,DC=y*****,DC=com. Error while creating account in AD - Cannot invoke method toUpperCase() on null object"
We already verified the OU in AD its already there. Checked the logs as well but getting same error there as well. Please help to fix the issue.
[Updated] Any suggestion or fix for this issue would be of great help?
Regards,
Diwakar.
[This message has been edited by moderator to merge reply comment]
Solved! Go to Solution.
09/14/2023 03:35 AM
Hi @Diwakar
This seems to be an attribute issue in your createaccountjson which might be null. Various cp's of the user which might be mapped in the json might have null values. Have you done the null check for them? Can you provide your createaccountjson?
09/14/2023 03:59 AM - edited 09/14/2023 04:13 AM
Thanks Armaan for your help, I cross checked all null it looks good as its working for most of the users so not sure if createaccountjson has the problem. Attaching the same for your reference. Please advise.
Diwakar.
09/14/2023 04:03 AM
Hi @Diwakar
The toUpperCase is used in the mapping for the attribute c in the createaccountjson attached. The provisioning is failing for users who do not have their cp20 populated.
09/14/2023 04:15 AM
Thanks a lot Armaan for your help, yes indeed this was the issue. So its resolved.