Select to view content in your preferred language

Python API only returning public groups

431
0
02-22-2018 11:04 AM
MichaelSchoelen
Frequent Contributor

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 = source.groups.search("!owner:esri_* & !Basemaps")
source_groups

This step is outlined here: clone_portal_users_groups_and_content | ArcGIS for Developers 

0 Kudos
0 Replies