I understand that licensing is per user or per machine runtimes, and that users can exist in multiple folders. I also get that it may not seem feasible to report it at this level. However, my management has asked for a report on license allocations at this level because we run a federated COE model, and we manage licenses for the entire enterprise. Each modern folder reflects a different business area, and there are several. We would like to use API calls to generate a report that lists how many licenses are being utilized by each business area and run it weekly/monthly. Aside from the members of our COE team, everybody has access to only 2 folders - the Shared folder, and the folder corresponding to the business area that they work in.
I also get that we can go to Tenant > License and click See More to view the list of users utilizing those licenses, and can then click the View Robots button on the far right to view their machine name and can check the folder permissions from there. But as I stated, users will only have access to the Shared folder and the folder corresponding to their business area. So, rather than clicking through multiple levels to gather this information, I am wondering if there is a solution to gather this information using API calls.
As an alternative solution, I have brought this up with the Orchestrator product team, and have suggested that it would be really helpful if they built in the capability to provision licenses at the folder level, rather than just at the tenant level. That way when you have several business areas each purchasing their own licenses, you don’t have to worry about licenses purchased by Business Area A inadvertently being allocated to Business Area B if the number of users connecting from Business Area B exceeds the number of licenses that they have purchased.