I am trying to create a number of groups. I have used .groups.create from a dictionary and also .groups.create_from_dict and I get an error (
Exception: You do not have permissions to access this resource or perform this operation.
(Error Code: 403)
I am an Administrator in the Enterprise (10.8.1). I am able to create a group manually in Portal, but when I try do it via the ArcGIS API for Python I get the error mentioned above.
I have tested the script in another environment (also an Admin and 10.8.1) and it works successfully.
Could this be some sort of other underlying directory permissions or something?
Thanks.
Julian.
Hi Julian,
Are you able to navigate to https://machine.domain.com/webadaptor/community/createGroup from the machine you are running the script from?
Hi David, thanks for the reply.
If you are refering to https://machine.domain.com/webadaptor/sharing/rest/community/createGroup then yes, I can access that and create a group from this URL.
It appears that I cannot do much in this new environment (might be permissions somewhere). I also get a permissions error when using:
all_users = gis.users.search(max_users=3000)