2 Replies Latest reply on Sep 11, 2012 7:00 PM by jppowell

    Access is Denied

    jppowell

      I need to add almost 200 student user accounts.  Last time I did this, I did it by hand because the CSVDE and PowerShell scripts didn't work for some reason and not much clear and direct explanation of what is expected and required were provided or available.  I googled for some updated scripts or utilities anf stumbled onto Gy thomas who pointed to this as the tool to use.

       

      Downloaded and installed the User Import Tool.  Set up my CSV (with Excel) and started the step by step process.  Tested the credentials ..passed.  mapped the fields to the AD fields I wanted to use/populate.  Then set the OU.  CLicked on Create ...bam ..error ...Can not create user ..Access is Denied.

       

      Here's a snippet of the verbose log file.

      2012-09-08 14:13:47,190 [10] ERROR UserImportTool.Logger - Failed to create user:2611973[System.UnauthorizedAccessException: Access is denied.

       

         at System.DirectoryServices.Interop.UnsafeNativeMethods.IAds.SetInfo()

         at System.DirectoryServices.DirectoryEntry.CommitChanges()

         at ADImportServiceLib.ActiveDirectory.AdHelper.CreateAccount(UserData userData, DirectoryEntry ou, String& message)

         at UserImportTool.Model.UserImportController.ImportUsers(Boolean createADOnly, List`1 users)]

      2012-09-08 14:13:47,194 [10] ERROR UserImportTool.Logger - Failed to create user:2611974

       

      I am almost to the point where I'm ready to quit and start adding the users one by one ....

       

      Please help!

       

      Thanks

       

      jp