Reporting licenses

Occasional Contributor

I am looking for a way for reporting license usage for each customer. I want to use application IDs and secrets so we can automate the retrieval of license data.

We want to know how many licenses there are in a tenant and how many there are assigned/in use.


I found an example that uses the MSOnline module:


1) is there a way to use application IDs and secrets to authenticate and retrieve the data with the MSOnline module?

2) Or is there a Graph API alternative so I can use the same mechanism that I use to retrieve alerts?




2 Replies

Have you looked into using the subscribedSKU endpoint?

Dear Vasil,


Thanks. I managed to get an overview by using "List subscribedSkus" as described here: