Please create a UI or scripted feature which allows Portal and AGOL organizational account administrators to find content items which depend on ArcGIS Server URLs. This search parameter could possibly use wildcards or regex expressions.
When a layer is removed from an ArcGIS Server service, the URLs for all the layers beneath that layer decrement by 1 (e.g myservice/4 becomes myservice/3). Managing a a healthy GIS server means that sometimes layers within ArcGIS Server services get modified, deleted, or replaced. Sometimes, entire services are planned for takedown. In planning for such events, a GIS administrator needs to be able to search for items within their ArcGIS Portal and AGOL organizational accounts for anything that points to the service in question. Their plan can then include the modification of said items to point to new URLs.