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-Nummer BUG-000165814
EingereichtMarch 8, 2024
Zuletzt geändertFebruary 10, 2025
Gilt fürArcGIS API for Python
Gefunden in Version2.2.0
BetriebssystemN/A
BetriebssystemversionN/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="*")

Schritte zur Reproduzierung

Bug-ID: BUG-000165814

Software:

  • ArcGIS API for Python

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln