Hi Thanos Terzis, Thanks for reaching out. The /groups/{id}/transitiveMembers api call does return mail contacts. If you would like the api call to return just the mail contacts then you use OData cast in the api call like below: https://graph.microsoft.com/beta/groups/(Group-Id)/transitiveMembers/microsoft.graph.orgContact Thanks.
Is there a way to return contacts in GET /groups/{id}/transitiveMembers reponse?
Thanos Terzis
20
Reputation points
Let 's assume that we have added some users through Contacts using M365 admin center. We decide to add these contacts in our distribution list through M365 admin center. Is there a way for these contacts to be returned using /groups/{id}/transitiveMembers api call?