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
---
Comments
Erik we do not have any problem to seeing how many active users it is in BC, the problem is that BC is not updated correctly. You are forced to do a manual synchronization.
Category: General
Looks like the Down-vote option has disappeared. As an end-user then I would not allow any 3rd-party app that my users may have downloaded from AppSource in any way would be able to access our Azure AD user management. And I'm quite sure that's also the reason why it is not codeunit external today.
There are many other ways you as a AppSource developer can do user management for your App, without accessing this information. I would create a separate user registration table for my app and require anyone using it to be in this database that I would would control. Sure there may be some users who would never access my app, but why should they pay then?
Category: General
Business Central Team (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