When ArcGIS Server and Portal for ArcGIS are federated, the ArcGIS Server Manager link included with the ArcGIS Server install returns the error, "Error:400 Invalid redirect_uri"
Last Published: March 12, 2018ArcGIS GIS Server
Bug ID Number
BUG-000111993
Submitted
February 27, 2018
Last Modified
June 5, 2024
Applies to
ArcGIS GIS Server
Version found
10.6
Status
Known Limit
After review by the development team, it has been determined that this issue is related to a known limitation with the software that lies outside of Esri's control. The issue's Additional Information section may contain further explanation.
Additional Information
The program menu shortcut created for Server Manager points at http://localhost:6080/arcgis/manager . This shortcut works fine so long as the server is not federated and the security protocol continues to include HTTP.
Once the server node is federated, this program menu shortcut will no longer work. As documented here (
https://enterprise.arcgis.com/en/server/latest/administer/windows/administer-a-federated-server.htm ), in order to successfully open a federated manager, you must use the Admin URL of the site as defined at the time of federation. That means:
1) Use https, not http
2) Use the fully qualified name, not localhost or the short hostname
3) Specify the web adaptor name or 6443, not 6080
To work around this limitation:
1) Copy the Manager.url file from C:\Program Files\Common Files\ArcGIS\Support\Shortcuts to your Desktop.
2) Modify the new shortcut file, updating the Web Content tab > URL property to store the Manager URL that adheres to the 3 requirements listed above.
3) Delete the original shortcut file from C:\Program Files\Common Files\ArcGIS\Support\Shortcuts
4) Paste the new, correct shortcut file in the Shortcuts directory.
Workaround
Accessing the ArcGIS Server Manager directly via the browser using the fully qualified machine name (instead of localhost) still works.