A cloud-based identity and access management service for securing user authentication and resource access
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!