public:importing_user_csv_file_via_xml_api
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
public:importing_user_csv_file_via_xml_api [2021/04/16 16:07] – created rhudak | public:importing_user_csv_file_via_xml_api [2024/01/25 03:31] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 41: | Line 41: | ||
C: | C: | ||
+ | ===== Prepare your csv file ===== | ||
+ | This script expects you to provide a csv file, with fields separated by commas. The file must have the following columns - **Name, Username, Password, Email Address, Group**: | ||
+ | Example: | ||
+ | Name, | ||
+ | Nigel Brown, | ||
+ | Gina Lopez, | ||
+ | |||
+ | ===== Downloading and running the script ===== | ||
+ | |||
+ | 1) Download this [[https:// | ||
+ | |||
+ | 2) Run the following command, substituting your firewall' | ||
+ | python3 Downloads/ | ||
+ | | ||
+ | 3) If you see exception messages related to certificate trust issues, try running the same command again, but add ' | ||
+ | python3 Downloads/ | ||
+ | |||
+ | ===== Troubleshooting ===== | ||
+ | |||
+ | === 1) If you get an error message of the connection timing out: === | ||
+ | |||
+ | Confirm what port is being utilized in the Admin settings | ||
+ | | ||
+ | 1) Go to **Administration** -> **Admin and User Settings** | ||
+ | |||
+ | 2) Under **Admin console and end-user interaction** check the **Admin console HTTPS port** | ||
+ | |||
+ | * The default for the python program is port **4444** | ||
+ | |||
+ | * If your port is different edit the text on **line 175/6** of the Python code; it should then read | ||
+ | callurl = (' | ||
+ | ': | ||
+ | === 2) My passwords do not meet password complexity === | ||
+ | Line 36 (sci35), Status 510 | ||
+ | | ||
+ | |||
+ | 1) Go to **Administration** -> **Admin and User Settings** -> **User password complexity settings** | ||
+ | |||
+ | 2) Disable **Enable password complexity check** | ||
+ | |||
+ | 3) Reboot device and double check that **Enable password complexity check** is still disabled | ||
+ | |||
+ | 4) Re-run the python command | ||
+ | |||
public/importing_user_csv_file_via_xml_api.1618589267.txt.gz · Last modified: 2024/01/25 03:32 (external edit)