I have a ArcGIS Server 10.7.1 instance with Portal. The private map service does not show in the REST directory page. Telling me that its set to private. But when I use the admin REST api to look at its permissions its telling me its set to Everyone.
return json result
{
permissions: [{
principal: "esriEveryone",
permission: {
isAllowed: true
},
childURL: null,
operation: null
}]
}
Disabling the REST directory access is different from configuring sharing settings. You can have public layers, but prevent users from going to the REST page and looking at service details.
No the directory page is still open and you can see all the public services. I set the sharing settings in portal.
Oh! Well, that is strange. Is it a service that's been added from some other server?
No, data and service are all on the same server.