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.