29
Each BC Cloud License is represented by a "Plan" in BC (table 9004).
We need to know how many users are licensed per plan to be able to charge our customers by licensed users.

Codeunit 9010 handles the integration between BC and AAD, but no useful External functions are available to get this information. The integration is handled through .NET, and as such is not extendable for an app.
Table 9005 has information about which user are assigned to which Plan. But that table is not reliable, since it relies on a manual action of a SUPER user. (only new users are added automatically, not changes or removals).


Please add a new External function (Eg. in Codeunit 9010, "Azure AD User Management") that we can call from our AppSource apps to check how many users are licensed per Plan.

Signature:
---
GetNumberOfLicensedUsers(PlanId: Guid) : Integer
---

Category: General
STATUS DETAILS
Under Review
Ideas Administrator

Thank you for your feedback. Can you please have a look at "codeunit 458 "Azure AD Licensing".  I believe you should be covered.

https://github.com/microsoft/ALAppExtensions/tree/master/Modules/System/Azure%20AD%20Licensing

  

Sincerely, 

Henrik Westergaard Hansen

PM, Microsoft