- URL: https://webadaptor.domain.com/arcgis/portaladmin/federation/servers/federate
- Required Capability:Administrator
- Version Introduced:10.4
This operation enables ArcGIS Servers to be federated with Portal for ArcGIS.
The URL of the GIS server used by external users when accessing the ArcGIS Server site. If the site includes the Web Adaptor, the URL includes the Web Adaptor address, for example, https://webadaptor.domain.com/arcgis. If you've added ArcGIS Server to your organization's reverse proxy server, the URL is the reverse proxy server address (for example, https://reverseproxy.domain.com/myorg). Note that the federation operation will perform a validation check to determine if the provided URL is accessible from the server site. If the resulting validation check fails, a warning will be generated in the Portal for ArcGIS logs. However, federation will not fail if the URL is not validated, as the URL may not be accessible from the server site, such as is the case when the server site is behind a firewall.
The URL used for accessing ArcGIS Server when performing administrative operations on the internal network, for example, https://gisserver.domain.com:6443/arcgis.
If you federate with a multimachine site or highly available GIS Server, use the Web Adaptor or load balancer URL in this field instead. The adminUrl must be a URL that the portal can use to communicate with all servers in the site, even when one of them is unavailable. If you use a Web Adaptor for this URL, ensure that you have enabled administrative access to the server through the Web Adaptor.
The username of the primary site administrator account that was used to initially log in to Manager and administer ArcGIS Server. If this account is disabled, you'll need to re-enable it.
The password of the primary site administrator account.
Description: The response format. Default is html.
Value: html | json | pjson
https://webadaptor.domain.com/arcgis/portaladmin/federation/servers/federate url=https://webadaptor.domain.com/arcgis adminUrl=https://gisserver.domain.com:6443/arcgis username=administrator password=adminpassword f=json
Possible status responses include:
- success with warnings - This response was added at 10.6.1.
JSON Response Syntax
"messages": "..." //Added in 10.6.1