microsoft / idfix

Microsoft IdFix
https://microsoft.github.io/idfix
MIT License
143 stars 88 forks source link

Unable to save displayName #61

Open MilanKerslager opened 3 years ago

MilanKerslager commented 3 years ago

I created a bunch of account via PowerShell script, but they have empty displayName. idFix noticed me, fill up correctly new displayName but it FAIL when I hit Apply button (with no error message) It does not matter if I edit UPDATE manually or I leave it as is. It always fails. I'm able to change displayName by AD Users and Computers manually without problem.

bryan-phillips-ms commented 3 years ago

Could you attach a sample PowerShell script so I can test this problem?

bryan-phillips-ms commented 2 years ago

Did you set the action column to EDIT for those accounts before clicking Apply? If not, idfix won't update the account attributes.

I was able to update blank display names using the following steps:

  1. I created a test account using the following PowerShell: New-ADUser -Name NewTest
  2. After clicking Query in idfix, the account was displayed in the results list with displayName in the Attribute column and NewTest in the Update column.
  3. I updated the action column to EDIT for that account and clicked Apply.
  4. Idfix updated the account and set the Action column to COMPLETE.
  5. When I clicked Query, the account no longer appeared in the results and the account's display name had been updated in Active Directory.
MilanKerslager commented 2 years ago

As I wrote, it does not work even I try different methods. There was no detailed error message, it just fail (I try to run it as Administrator too). At the same moment I was able to edit those attributes by hand through AD utilities from the same session.