ArcGIS Online Cannot Display Groups

442
2
11-26-2023 09:01 PM
FrankOuyang
Esri Contributor

Hi,

Recently we migrated content, users and groups between 2 ArcGIS Online organizations using the ArcGIS Python API. The groups are cloned from the source organization to target using the clone command

However, upon testing, we found that if we want to view the cloned groups belong to some users, especially admins, the group page cannot be displayed properly. That is when we click the 3 dots next to the users under Organization -> Members.

FrankOuyang_2-1701061057398.png

 

When this issue occurs, Home, Gallery, Map, Organizations, etc. are all missing on the Groups page. And the page becomes unresponsive as well. 

FrankOuyang_0-1701060860586.png

If we inspect the page, an error message is also found: 'Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'isAdmin')'

FrankOuyang_1-1701060919158.png

Have anyone seem this issue before? Thanks for your help in advance!

 

Tags (2)
0 Kudos
2 Replies
ChristopherCounsell
MVP Regular Contributor

Isn't the clone command just for items? How did you copy the groups? Can you share the script?

0 Kudos
FrankOuyang
Esri Contributor

Yes, the  clone command is really simple.  Below is how we run it. Source and target being the GIS object of the two organizations. 

FrankOuyang_0-1701125035325.png

We also notice the clone command is not perfect. All shared update groups are cloned as normal groups and we have to delete them and manually recreate them as shared update groups. 

0 Kudos