ArcGIS Enterprise 10.8.1 is no longer allowing hosted feature services to be overwritten by the account that published the service. There are no views associated with the services. I first encountered this issue when I updated a machine to use ArcGIS Pro 2.7. I have since uninstalled ArcGIS Pro and reinstalled ArcGIS Pro 2.6 with Patch 3. I published a new hosted feature service and tried to delete it through ArcGIS Portal and now that fails as well. I have to sign into ArcGIS Portal as an administrator to delete any hosted feature services, but even as the administrator I cannot overwrite an existing hosted feature service.
This is the error that shows up in the logs:
ERROR: code:403, You do not have permissions to access the API /services/Hosted/<service_name>/delete., Access to this resource is forbidden, regardless of authorization.
The only other thing I can think changed around the time this stopped working was installing the Portal for ArcGIS 10.8.1 Enterprise Sites Patch 2.
Solved! Go to Solution.
I found the problem and a solution for my environment.
The short answer: If you are using a custom role and you can no longer delete hosted feature services, try recreating the custom role and reassign users to the new custom role as needed.
The long answer:
I am still not sure what caused the initial custom role to stop working correctly. I have not modified that role since August.
I found the problem and a solution for my environment.
The short answer: If you are using a custom role and you can no longer delete hosted feature services, try recreating the custom role and reassign users to the new custom role as needed.
The long answer:
I am still not sure what caused the initial custom role to stop working correctly. I have not modified that role since August.