Hi everyone,
I have some difficulties to federate an ArcGIS Server(10.7.1) to the ArcGIS Portal(10.7.1) by using the REST API ('https://developers.arcgis.com/rest/enterprise-administration/portal/federate-servers.html'). Both are installed on the same machine and both have their proper's WebAdaptor.
However when I use the /portaladmin page the federation works well. ( I guess this means that I have the good URL for the configuration).
The error response is :
{ 'code 500', 'message': "Failed to federate ArcGIS Server site 'https://fqdn:6443/arcgis/' with Portal for ArcGIS. Failed to update security configuration for ArcGIS Server 'https://fqdn:6443/arcgis/'. The server at 'https://fqdn:6443/arcgis/admin/security/config/update' returned an error. Failed to update the security configuration. Cannot update security configuration to federate with Portal as server is not registered with Portal. "}
For further precision I generate the token and inserted it in the request.
I don't know what I have missed, any help would be grateful 😁.
Ethan