This tool allows admin to bulk edit username in Adobe Admin Console. This tool utilizes User Sync Tool connector-umapi.yml file and csv file.
NOTE: This will only work for claimed federatedID domain that is configured to use username based login.
usage: bulk_username_edit.py [-h] [-u filename] -c filename [-t]
Bulk username edit Tool for Adobe Admin Console
optional arguments:
-h, --help show this help message and exit
-u filename, --umapi-config filename
umapi config filename (default: connector-umapi.yml)
-c filename, --csv-input filename
input csv filename
-t, --test-mode run API action calls in test mode (does not execute
changes on the Adobe side). Logs what would have been
executed.
Must install required dependencies (pyYaml, umapi-client) before continue.
-
See example.csv for csv template to use for bulk edit.
-
Run the following command to load umapi config from User Sync Tool and Bulk Edit CSV file
python bulk_username_edit.py --umapi-config connector-umapi.yml --csv-input newusername.csv
2018-07-11 22:02:46 1620 INFO main - Connected to 42352F285A9066790A494008@AdobeOrg , TEST-MODE: False
2018-07-11 22:02:47 1620 INFO main - [email protected] ,success, changed username: Bunny.Bravo1 -> Bunny.Bravo
2018-07-11 22:02:47 1620 WARNING main - [email protected] ,skipped,Username is the same in the console