I am trying to clone some hosted feature services from one Portal (10.6) to another (10.8.1). I am an admin and logged in via OAuth 2.0 (with client_id) on both the Portals. The items are owned by another user but I am an admin on both Portals and I can view the layers in map viewer. The [clone_items] method provided in ArcGIS Python API is failing for all hosted feature services with the following message.
"('Failed to create Feature Service Wetlands: Access to admin resources are not allowed\n(Error Code: 403)', <Item title:"Wetlands" type:Feature Layer Collection owner:Surya.Kant@domain.com>)"
I am able to clone the scene services successfully but unable to clone even a single feature service due to the above message.
Any help will be highly appreciated.
If you have a built-in or active directory account for Portal, you can use the following tool to copy services:
Following an upgrade to 10.9.1 we are now seeing this error message when using the python api to clone hosted feature layers. This was not an issue at 10.7.1. Any tips on getting this to work?