ERROR
Attempts to validate a federation between Portal for ArcGIS and ArcGIS Server in an ArcGIS Enterprise portal fail, and the following error is returned:
Error: The server at <Portal_URL> returned an error. Could not decrypt token. Token may not be valid.
Depending on the cause, the workarounds provided are applicable.
Update the WebContextURL property to match the FQDN on the web adaptor port 443 binding. Refer to the Portal for ArcGIS: Configure a portal to use a reverse proxy or load balancer for instructions.
Refer to Portal for ArcGIS: Integrate your portal with ArcGIS Server for instructions.
If the error persists even though the hosting server has been configured, ensure the server site is running.
If the server site fails to validate, ensure the ArcGIS Server service is running on Windows. On the server machine, navigate to Control Panel > Administrative Tools > Services.
Get help from ArcGIS experts
Download the Esri Support App