I am trying to get a list of users' emails from o365 using graph API. I am able to get the complete list using following API https://graph.microsoft.com/v1.0/users?$select=mail
The problem is o365 contains multiple domains and I want to list users from specific domains only. Is there a way to do this?