question

FabioDias-0459 avatar image
0 Votes"
FabioDias-0459 asked JamesHamil-MSFT commented

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

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@example.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@example.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).

azure-active-directoryazure-ad-graph
· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@FabioDias-0459
Sorry for the delayed response on your post! However, since it's been a few weeks, I just wanted to check in and see if you're still facing this issue or if you resolved this?

When it comes to your customer domains, have you tried inviting " smth@example.onmicrosoft.com" to those tenants so you can call the app registration that way? Without having to log into 4 different accounts.


If you have any other questions, please let me know.
Thank you for your time and patience throughout this issue.

0 Votes 0 ·

@FabioDias-0459
I just wanted to check in and see if you had any other questions or if you were able to resolve this issue?

0 Votes 0 ·

Hello,

Thanks for your answer. I'll try this solution in the upcoming week. I don't have an exclusive access to the main address and because of COVID the moments I share with my co-workers are lower than usual so I can't try it immediately.

However I'll come to this post as soon as I know the result. Again thank you for your answer.

0 Votes 0 ·

@FabioDias-0459
Thank you for the follow up! I look forward to your response in the upcoming week.

If you have any other questions, please let me know.
Thank you for your time and patience throughout this issue.

0 Votes 0 ·

Hi, do you still require assistance? If not, please mark the answer as verified.

Thank you,
James

0 Votes 0 ·

0 Answers