Using a CSV file as an input source for your usernames, you can make use of the Active Roles Management Shell (PowerShell) to bulk import users for deprovision, regardless where they're located in Active Directory.
Construct your CSV file as follows:
samaccountname
userlogin1
userlogin2
userlogin3
userlogin4
The first entry should be samaccountname and will be used as the column identifier during import. All the usernames should be then listed, one per line.
Once the CSV file is created, use the following syntax inside an Active Roles Management Shell to import the list of usernames and deprovision them:
Import-Csv -Path "C:\Temp\DeproUsers.csv" | %{Deprovision-QADUser -Identity $_.samaccountname -Proxy}
© 2024 One Identity LLC. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center