Select to view content in your preferred language

Implement Portal License URL lookup

182
0
04-11-2025 03:54 AM
Status: Open
Labels (1)
SimonSchütte_ct
MVP Regular Contributor

Starting with ArcGIS Enterprise 11.4, ArcGIS Pro licenses are managed through Portal, which is great!

However, you need to be really careful when setting the PortalURL in the License dialog in MyEsri. Any typo or incorrect naming can cause issues when trying to get a license from ArcGIS Pro:
https://community.esri.com/t5/arcgis-pro-questions/unable-to-get-arcgis-pro-license-from-portal-for/...

Currently, the PortalURL in the Portal license JSON file is encrypted. Therefore we are unable to check if the URL provided in the licensing step was correct.

MyEsri does not have a way to look up which PortalURL was specified for a specific Portal license.

There is an endpoint to get the Portal URLs:
portal.example.com/portal/arcgisuris.xml 
(This is used by ArcGIS Pro during the authentication process)
The endpoint only lists the base and secure URL and some others, but not the actual one configured in the license file.

In the /portal/portaladmin/license endpoint we see all the licenses, but not the URL which was set as portalURL in the Portal license JSON file.
I think this would be the best place to show the URL configured in the license.

Having the lookup function would also help troubleshooting when using the new updatePortalUrl feature, as it does not update the URL in the license. The mismatch would then be identifiable.