Microsoft Graph: Get infos of all licenses from all domains managed

Fabio Dias 1 Reputation point
2020-11-05T10:17:49.637+00:00

I'd like to ask if anyone knows if Microsoft Graph give us the possibility (even if beta) to get all the licenses from the users in all the domains I manage in my partner portal.

For now I use : GET /users (beta) + GET /subscribedSkus to get a list of all the licenses from my domain.

But the thing is that I manage more domains than mine for my customers with the partner portal and the info that matters for me is their data.

Is there a way to get this data without having to login with each of their admin accounts ?

Example:

my domain, smth@ssss .onmicrosoft.com (Partner) (3 Users)

customer domain 1, smth@customer1.onmicrosoft.com (15 Users

customer domain 2, smth@customer2.onmicrosoft.com (32 Users)

customer domain 3, smth@customer3.onmicrosoft.com (8 Users)

With Microsoft Graph, I'd like to login with my smth@ssss .onmicrosoft.com and get the info of the licenses of all the domains I manage (58 Users). But right now I only get the info of my own domain (3 Users).

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,844 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.