I am trying to copy content from one portal to another with python only, without using AGO assistant https://ago-assistant.esri.com/, as this doesn't work behind our firewall in our test network. I have explored these links for obtaining the correct python script to be able to perform the task: https://github.com/Esri/ago-tools/tree/master/samples but I don't know which script works for the copying of content from one to another? If anyone has used these, simply pass on the name of the script and that will suffice this request?

  • 1
    Not sure if ago-tools does what you want, have you looked into ArcRest? Oct 29, 2015 at 15:22

2 Answers 2


The answer is located here: moveitemsReassignGroups replace user name and/or and to reassign groups and content from one place to another. Option 2 includes migrating accounts with this link: migrateAccounts


To do this I suggest looking at Esri's portalpy which is:

A module that allows you to administer Portal for ArcGIS and ArcGIS Online.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.