When cloning from AGOL to Portal as a user, I sometimes encounter errors that cause the whole clone operation to revert, and all cloned items are deleted. As a user (not administrator) it is not always possible to correct these errors, but there is still value in having a development/backup copy of as many items as possible. Is there a way to ignore errors during cloning, and keep the cloned items?
Example: I don't have access to create a Feature Tracking service on our Portal, so when I clone my content I get this error:
_ItemCreateException: ('Failed to create Feature Service Location Tracking: Location tracking service schema cannot be modified.\n(Error Code: 500)', Item title:"location_tracking_0755" type:Feature Layer Collection owner:me@MYDOMAIN)
and then all the items that had been cloning over get removed at the destination.
FYI, solved this by modifying the cloning and exception handling code that ships with ArcGIS Pro.