ERROR
Accessing the Portal for ArcGIS homepage fails with the following error:
Error: Error 400: Invalid redirect_uri
There are two scenarios that can lead to the error.
Scenario 1: Upgrading ArcGIS Server federated with Portal for ArcGIS
When upgrading a server federated with Portal for ArcGIS to a newer version, users must open the ArcGIS Server Manager (http://server.internaldomain.com:6080/arcgis/manager) and accept the prompt to continue the upgrade. In some cases, this process results in being redirected to the federated Portal for ArcGIS page. For more information, refer to the following web help document, Portal for ArcGIS: Federate an ArcGIS Server site with your portal.
For a fresh installation, the same issue can occur if a custom domain name server (DNS) is used. Portal for ArcGIS must recognize the specified page and if Portal for ArcGIS does not have a whitelisted entry for the specified server page (server.internaldomain.com), the 400 error is returned.
Scenario 2: Accessing Portal for ArcGIS homepage
The error may occur due to a misconfiguration of a single Web Adaptor used for both Portal for ArcGIS and ArcGIS Server. The misconfiguration causes the web adaptor to register using an internal Fully Qualified Domain Name (FQDN). The Portal for ArcGIS homepage directs the site to the ArcGIS Server manager page, and returns the error.
To resolve the error, use the following procedure according to the scenario involved:
Scenario 1
Scenario 2
Get help from ArcGIS experts
Download the Esri Support App