The `gis.users.create()` method creates users for your Web GIS in ArcGIS Enterprise or ArcGIS Online. The recent update to ArcGIS Online introduced new parameters when creating users not yet implemented for users when created in Enterprise. The API for Python release 1.5.2 `create()` method tried to populate these new parameters when creating users in Enterprise, leading to an error. We logged BUG-000119265 to track the problem.
We've caught the problem. We have containment. We've updated the `gis.users.create()` method with the API for Python version 1.5.3, which will be coming soon. The method now properly unpacks the parameters whether the `create()` method is run for Enterprise or ArcGIS Online. We've corrected it and are moving onward. Stay tuned for future releases full of great new functionality!