To facilitate the discovery of geoprocessing services you create, you may want to share your service in ArcGIS Online or Portal for ArcGIS. If you are signed in to your ArcGIS Online or Portal for ArcGIS organization from ArcMap when you publish the geoprocessing service, you can use the Sharing tab within the Service Editor to specify to which audience your service will be available.
You can share your services with groups within your organization, everyone in your organization, and even people outside your organization. However, keep in mind that ultimately people will only be able to use your service if they have access to your GIS Server site. For example, if the site is running within your own intranet, sharing with Everyone will not necessarily make your geoprocessing service available outside your organization. Users outside your organization will be able to find your geoprocessing service item, but will not be able to access the service itself unless you configure the GIS Server site to be publicly facing. Contact your IT department to make this possible.
Share your service with
You can share your service at four levels: