Select to view content in your preferred language

ArcGIS Pro License for Scheduled Task - service account has interactive privledge disabled

330
1
06-12-2025 01:34 PM
Trevor_Hart
Frequent Contributor

How can I license Pro via a named user for a service account that cant open the Pro UI.

Some background;

1. We have some scheduled tasks that run Python scripts using arcpy under ArcGIS Pro.

2. The tasks run as a service account.

3. IT has disabled the interactive privledge for the service account - meaning we cannot log onto the server as that user or open the Pro UI as that user via "Run as".

To solve the Pro licensing issue we deployed a single use license and everything was good.

Fast forward a few years and we are migrating to new machines and are having to redeploy Pro.

Under our new ELA we are being asked to pay for a single use license, which the business is apprehensive to do given we have enough named users.

Are there any work arounds that anyone is aware of?

How can I get that user a named user license without opening Pro?

 

0 Kudos
1 Reply
SarahGe
Occasional Contributor

I believe it's currently impossible to programmatically license arcgis pro with a named user without any UI interaction.
In order to run a script with a named user licence, ArcGIS Pro has to be installed and licenced by signing in with the named user (See "authorize python outside the application" section here).
Additionally, every 14/15 days the named user will be signed out from Pro if the Pro GUI hasn't been opened in the meantime. You can use a script to automatically open and close Pro every 2 weeks (or more frequently) to keep the token fresh (info and example here
Lastly, the arcgis pro sdk doc here implies it's only possible to configure ArcGIS Pro licencing without a UI for concurrent and single use licences.

0 Kudos