laptop and a wrench

Bug

When calling the gis.admin.license.all().report function in the ArcGIS API for Python, ArcGIS Drone2Map licenses are listed under a single Drone2Map entitlement instead of being split into Standard and Advanced categories.

ArcGIS API for Python
Bug ID Number BUG-000165814
SubmittedMarch 8, 2024
Last ModifiedFebruary 10, 2025
Applies toArcGIS API for Python
Version found2.2.0
Operating SystemN/A
Operating System VersionN/A
StatusIn Review

Workaround

If the secondary license is expired or not in used by any users, reach out to Esri Support to request removing the license from the organization. If both licenses are needed/in use, modify the script to get and revoke multiple licenses that have the same name using a for loop.

Below is a sample code:

org_licenses=gis.admin.license.all()

D2M_licenses=[]

for l in org_licenses:

   if "Drone" in l.properties.listing['title']:

       D2M_licenses.append(l)

for license in D2M_licenses:

   license.revoke(username="USERNAME", entitlements="*")

Steps to Reproduce

Bug ID: BUG-000165814

Software:

  • ArcGIS API for Python

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options