Hi, I made a Python CLI tool for that: https://github.com/t-markmann/nc-userimporter
Just paste your data correctly into the users.csv and config.xml and execute the program.
This tool is executed locally and uses the Nextcloud API on your instance.
It’s not a beauty, but it does the job