Hello,
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.