Share via

Microsoft Graph Does Not Return M365 License Data for External (Cross-Tenant) Users

ITSupport91 20 Reputation points
2025-12-17T18:07:15.7+00:00

We use a Microsoft Entra ID app with the Microsoft Graph SDK (client credentials flow) to validate whether users have a Microsoft 365 license before enabling document editing. Microsoft Graph returns correct license information for users in our tenant but does not return license data for external users from other tenants, even though those users are properly licensed in their own tenant. Can you confirm whether Microsoft 365 license visibility in Microsoft Graph is tenant-scoped and if this behavior is expected for cross-tenant users?

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments

Answer accepted by question author

Rukmini 42,850 Reputation points Microsoft External Staff Moderator
2025-12-17T18:18:57.6+00:00

Hello ITSupport91,

Yes, this is expected behavior. Microsoft 365 license visibility in Microsoft Graph is tenant-scoped and not available for users from other tenants.

  • As you are making use of client credentials flow, it is only in your tenant’s context, hence you cannot query another tenant user's details.
  • This is expected and by design while using client credentials flow with Microsoft Graph SDK.

Let me know if any further queries - feel free to reach out!

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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