PROBLEM
In ArcGIS Business Analyst Pro, some geoprocessing tools require functionality enabled by a Network Analyst license. When using a script to run these tools, the tool fails if the user is accessing ArcGIS Pro through a Concurrent Use license.
When a Concurrent Use license is used, extension licenses are not automatically checked out. In particular, these tools require the Network Analyst extension:
Before running the script, add a line in the script that will check out the Network Analyst license:
arcpy.CheckOutExtension("Network")
Add a line at the end of the script that checks both the Network Analyst and Concurrent Use licenses back in upon conclusion.
Article ID: 000038919
Get help from ArcGIS experts
Start chatting now