<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Can view and assign licenses via the website, but not via the API in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/can-view-and-assign-licenses-via-the-website-but/m-p/1709369#M11973</link>
    <description>&lt;P&gt;Hello, I'm working on a script to report add-on license assignments across multiple portals (both AGO and Enterprise) and am having issues with add-on extensions for ArcGIS Pro (e.g. Spatial Analyst). I'm also trying to avoid using a full admin account if possible, instead using a custom role.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue is that I can create a custom role that has the "Manage Licenses" admin privilege and be able to view and assign these kinds of add-on licenses via the website just fine. But in the API, this info appears to only be &lt;A href="https://developers.arcgis.com/python/latest/guide/administering-your-gis/#:~:text=user%27%3A%20%27test_create_2%27%2C%20%27lastUse...-,Querying%20App%20Extensions%20Assigned%20to%20a%20User,-You%20can%20retrieve" target="_self"&gt;stored in the gis.admin.license class&lt;/A&gt;, which &lt;A href="https://developers.arcgis.com/python/latest/guide/administering-your-gis/#:~:text=Note%3A%20You%20need%20to%20log%20in%20using%20a%20named%20user%20account%20with%20administrator%20privileges.%20The%20API%20automatically%20detects%20your%20role%3B%20if%20you%20are%20an%20organizational%20administrator%2C%20the%20GIS%20object%20will%20grant%20you%20access%20to%20the%20admin%20module." target="_self"&gt;requires an admin account&lt;/A&gt; to access.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone provide insight on this discrepancy? Is there another way to view the assigned add-on extensions for a user that is not through gis.admin.license? The User class has a &lt;A href="https://developers.arcgis.com/python/latest/api-reference/arcgis.gis.toc.html#arcgis.gis.User.provisions" target="_self"&gt;provision property&lt;/A&gt; I can access, but that only seems to return add-on apps (e.g. ArcGIS Pro), and not the add-on extensions. The apps are returned as a license object but looking at the properties there's no additional extensions/entitlements associated in there, either.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas or guidance?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jun 2026 18:11:08 GMT</pubDate>
    <dc:creator>AaronKoelker</dc:creator>
    <dc:date>2026-06-23T18:11:08Z</dc:date>
    <item>
      <title>Can view and assign licenses via the website, but not via the API</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/can-view-and-assign-licenses-via-the-website-but/m-p/1709369#M11973</link>
      <description>&lt;P&gt;Hello, I'm working on a script to report add-on license assignments across multiple portals (both AGO and Enterprise) and am having issues with add-on extensions for ArcGIS Pro (e.g. Spatial Analyst). I'm also trying to avoid using a full admin account if possible, instead using a custom role.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue is that I can create a custom role that has the "Manage Licenses" admin privilege and be able to view and assign these kinds of add-on licenses via the website just fine. But in the API, this info appears to only be &lt;A href="https://developers.arcgis.com/python/latest/guide/administering-your-gis/#:~:text=user%27%3A%20%27test_create_2%27%2C%20%27lastUse...-,Querying%20App%20Extensions%20Assigned%20to%20a%20User,-You%20can%20retrieve" target="_self"&gt;stored in the gis.admin.license class&lt;/A&gt;, which &lt;A href="https://developers.arcgis.com/python/latest/guide/administering-your-gis/#:~:text=Note%3A%20You%20need%20to%20log%20in%20using%20a%20named%20user%20account%20with%20administrator%20privileges.%20The%20API%20automatically%20detects%20your%20role%3B%20if%20you%20are%20an%20organizational%20administrator%2C%20the%20GIS%20object%20will%20grant%20you%20access%20to%20the%20admin%20module." target="_self"&gt;requires an admin account&lt;/A&gt; to access.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone provide insight on this discrepancy? Is there another way to view the assigned add-on extensions for a user that is not through gis.admin.license? The User class has a &lt;A href="https://developers.arcgis.com/python/latest/api-reference/arcgis.gis.toc.html#arcgis.gis.User.provisions" target="_self"&gt;provision property&lt;/A&gt; I can access, but that only seems to return add-on apps (e.g. ArcGIS Pro), and not the add-on extensions. The apps are returned as a license object but looking at the properties there's no additional extensions/entitlements associated in there, either.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas or guidance?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2026 18:11:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/can-view-and-assign-licenses-via-the-website-but/m-p/1709369#M11973</guid>
      <dc:creator>AaronKoelker</dc:creator>
      <dc:date>2026-06-23T18:11:08Z</dc:date>
    </item>
  </channel>
</rss>

