AnsweredAssumed Answered

Python API only returning public groups

Question asked by mpschoelen0 on Feb 22, 2018

I am using the ArcGIS API for Python to clone users, groups, and content from one portal to another (both on-premise, Portal for ArcGIS). When running the script below, I am only given public groups, rather than all groups in the source portal. I figured that administrative privileges would allow me to see every single group, but I can't.


Am I missing a parameter to clone private groups?


# filter out system created groups
source_groups ="!owner:esri_* & !Basemaps")

This step is outlined here: clone_portal_users_groups_and_content | ArcGIS for Developers