Hi there - I have a script to automate the creation of groups/maps/hosted feature services in a standardized way for my organization. Part of this process involves making a copy of a hosted feature service shared in a group. I am using the code:
.copy_feature_layer_collection()
It works as an Admin, but when logged in under Facilitator/Publisher roles it returns the error:
User does not have permissions to access this service
(Error Code: 403)
Is there an alternate way for non-admins to copy hosted feature services to their own accounts? Otherwise I will look to make these users admins.
GIS login is using organization SAML ("Pro"), however requesting tokens using named logins doesn't work either.
Solved! Go to Solution.
Within the API I do not believe there is any way that this can be done without Admin privileges. The Developer documentation only refers to this process being possible by admins - https://developers.arcgis.com/python/guide/cloning-content/
Within the API I do not believe there is any way that this can be done without Admin privileges. The Developer documentation only refers to this process being possible by admins - https://developers.arcgis.com/python/guide/cloning-content/