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.
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 stored in the gis.admin.license class, which requires an admin account to access.
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 provision property 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.
Any ideas or guidance?
-Aaron