PROBLEM
Attempting to query the list of groups in Portal for ArcGIS using ArcGIS API for Python in Jupyter notebook returns an empty result.
The following syntax is used to perform the query:
from arcgis.gis import GIS gis = GIS("<portal URL>", "<username>", "<password>") groups = gis.groups.search() groups
The groups in Portal for ArcGIS are not indexed properly. To check the index status of Portal for ArcGIS, navigate to the Portal Administrator Directory page, and click System > Indexer > Index Status. Notice the discrepancy between the store and index count.
To resolve the issue, follow the steps below:
https://machinename.domain.com:7443/arcgis/portaladmin/
Article ID: 000018795
Get help from ArcGIS experts
Download the Esri Support App