User and Group membership via API

When I first learned about the API I logged a handful of things I immediately wanted to do, and put them in my backlog of nice to have things.   I'm finally circling around to some of these, and one of my tasks appears to have the API calls deprecated.   Bummer!    So my request here is two-fold

1- Is there another method I can use (or does it make sense to formally request it via API) to get users and group membership?

     - My goal is exclusively to leverage the NMM API, which already has all the access I need in the customer directory to get a list of Azure AD members of the group we use for AVD access.   The use case is that this will populate a SQL table that can be used to compare the actual AVD enabled users, with the quantity contracted.   Effectively automating the process to notify customers they have an overage and need to pay remove access, pay more, or otherwise raise a concern.   We don't leverage a PSA for this kind of automation today.

      - I'd like to avoid using Microsoft API's directly, based on unrelated concerns, but if that is the way I have to go, so be it.  

2- Is there any intention to bring these calls back, in a different format or function or group of methods?    Given the expansion of NMM into Modern Work, this seems logical, but without knowing the driver behind why they were removed (my guess is performance) I'm just left wondering.

I already log user sessions, and the total users that Nerdio bills for, but looking to get slightly more granular so that this can be nearly fully automated. 

Is there a method or call I am missing in my swagger view?   Currently running the latest version, v6.5.1 (6.5.2 going in later this week).

0

Comments (4 comments)

1
Avatar
Dave Stephenson

I noticed the same thing recently with the API, John.
However, when I switched to the beta version of the API, Users and Groups calls are fully populated there.

Do you think that'll do what you're needing/wanting or is there additional functionality that would help with your API journey?

 

 

 

0
Avatar
John Tokash

Dave Stephenson  - Yes, this is perfect, and I wish i'd realized there WAS a Beta API.  My apologies on the delayed response - I don't appear to have gotten an email notification.   I was just perusing the community forums for anything interesting when I happened across this in the first place. 

So on one-hand, discouraged that its only in Beta, but this brings my effort for a series of usage reporting API calls back onto my plate, rather than trying to solve it elsewhere.   Awesome!

At this stage in my quest for this use case, I think this does the trick, there is a group call to get a group and all its members, and a user call where i can get particulars about the user.   This allows me to generate a count (and a list) of all enabled users for an account to compare against what they are contracted for (and exclude any users we don't charge for).  I expect this unblocks me nicely.

The only thing I would throw in, is a specific call to do exactly that would be icing on the cake.   A single API call, provide an account and it spits back a list of who all is enabled and therefore billable to Nerdio. 

0
Avatar
Dave Stephenson

No worries, John Tokash. I'm glad you were able to find this thread again and that the beta API will work for you.
I know the team has some exciting plans with the Reporting Engine (see Reporting Engine – Nerdio Help Center) which could help unlock that additional API functionality that you're looking for.

0
Avatar
John Tokash

Absolutely - the reporting releases in 6.8 absolutely have my attention, anxious to get it deployed and kick the tires.

Please sign in to leave a comment.