i am using the script for bulk users creation in my ad as described in this blog "https://gallery.technet.microsoft.com/scriptcenter/PowerShell-Bulk-Create-0927c0c0", but i am getting the below error can somebody help me pls ...
error msg:
New-ADUser : Directory object not found
At C:\AD Bulk User Creation\bulk_ad_user_create.ps1:28 char:4
+ New-ADUser @NewUserParams
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (CN=Sahil Koul,O...ctcorp,DC=local:String) [New-ADUser], ADIdentityNotFo
undException
+ FullyQualifiedErrorId : ActiveDirectoryCmdlet:Microsoft.ActiveDirectory.Management.ADIdentityNotFoundException,M
icrosoft.ActiveDirectory.Management.Commands.NewADUser
New-ADUser : Directory object not found
At C:\AD Bulk User Creation\bulk_ad_user_create.ps1:28 char:4
+ New-ADUser @NewUserParams
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (CN=Ravinandana ...ctcorp,DC=local:String) [New-ADUser], ADIdentityNotFo
undException
+ FullyQualifiedErrorId : ActiveDirectoryCmdlet:Microsoft.ActiveDirectory.Management.ADIdentityNotFoundException,M
icrosoft.ActiveDirectory.Management.Commands.NewADUser
New-ADUser : Directory object not found
At C:\AD Bulk User Creation\bulk_ad_user_create.ps1:28 char:4
+ New-ADUser @NewUserParams
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (CN=Rohith K E,O...ctcorp,DC=local:String) [New-ADUser], ADIdentityNotFo
undException
+ FullyQualifiedErrorId : ActiveDirectoryCmdlet:Microsoft.ActiveDirectory.Management.ADIdentityNotFoundException,M
icrosoft.ActiveDirectory.Management.Commands.NewADUser