Python API only returning public groups

02-22-2018 11:04 AM
Occasional Contributor III

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 

0 Kudos
0 Replies