Creating new user via ArcGIS API for Python

4359
13
02-17-2020 10:56 PM
PhilippeRieffel1
Frequent Contributor

Hey all, 

i am trying to automate the creation of named users on arcgis online. I am basically using the code from the example notebooks. And it always fails

the gis object is created with an administrator connection, and i tested it with version 1.7.0 as well, same error. So, my question would be, is there any way to get a more detailed response from the api, like the actual response of the rest call or something? Or in general, what am i doing wrong here?

Thanks for your input.

0 Kudos
13 Replies
Fuentes
Emerging Contributor

I have the same problem and can't find a solution anywhere.

Updating and deleting an account works.

0 Kudos
pajamas
New Contributor

Hi

I had the same issue and could solve it by setting the New Member Defaults. You find them on your ArcGIS Online Account under Organisation > Settings > New Member Defaults 

0 Kudos
NicoleHuang1
New Contributor

This solved my problem, thank you so much!

0 Kudos
jorisfrenkel
Frequent Contributor

I am running into the same issue now, but only in ArcGIS Online. However, in ArcGIS Pro, it works, but my version of Pro is a bit older, 1.8.1.

 

0 Kudos