Retrieving contact lists via Graph API

Copper Contributor

I'm trying to retrieve "contact lists" (distribution lists) from a Microsoft 365 account using the Graph API and direct http calls. Right now I use this URL:


https://graph.microsoft.com/v1.0/users/{userid}/contactfolders/{folderid}/contacts

This does retrieve the various contacts I have, but not the names of any contact lists or their members. The "count" of items that is retrieved does include those contact lists but not their actual data.

I have tried the "people" and "groups" endpoints but those retrieve different information, not what I am looking for.

 

I know I can use EWS for this purpose, and I have, but I'm trying to convert my existing application to 100% Graph. I would appreciate any information, thanks.

 

1 Reply
Any news about this topic, I want to retrieve and create contact lists via graph but there seems to be no way to do that currently