New Account for AD task is not getting completed

Diwakar
New Contributor III
New Contributor III

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"

Diwakar_0-1694622281050.png

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]

4 REPLIES 4

armaanzahir
Regular Contributor III
Regular Contributor III

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?

 

Regards,
Md Armaan Zahir

Diwakar
New Contributor III
New Contributor III

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.

armaanzahir
Regular Contributor III
Regular Contributor III

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. 

 

 

Regards,
Md Armaan Zahir

Diwakar
New Contributor III
New Contributor III

Thanks a lot Armaan for your help, yes indeed this was the issue. So its resolved.