I get an error when I execute my script to create a user with a custom role. Level 2 is assigned as well to the user but no luck executing the code successfully.
But the custom role exists when I see logging in as an admin through the UI.
Can I get some help? Thanks.
Atma Mani
-Naresh Aligeti
python api portal
arcgis-api-python