Which distribution lists does a contact belong to?

Garcia Martin_ Emili 1 Reputation point

As title says, one of our users wants to know which distribution lists contain a given contact. Is it possible?

Microsoft Graph Applications API
Microsoft Graph Applications API
A Microsoft API that enables you to manage these resources and actions related to applications in Azure Active Directory.
561 questions
Microsoft Graph Contacts API
Microsoft Graph Contacts API
A Microsoft API that lets you assign categories contacts, as well as events, messages, tasks, and group posts in a consistent way to enhance organization and discovery.
70 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Shivam Dhiman 5,771 Reputation points

    Hi @Garcia Martin_ Emili

    You can use this Graph API to get all the distribution list for a given user.


    Reference : This will give you all type of Groups(including distribution lists) where a specific user is part of.
    Please refer to the below example screenshots.
    Distribution list


    Result :


    Hope this helps.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have further questions about this answer, please click "Comment".

    0 comments No comments

  2. Zehui Yao_MSFT 4,001 Reputation points Microsoft Vendor

    Hello @Garcia Martin_ Emili , you can get the groups your user belongs to via the /memebrof endpoint. And get the type from property groupTypes .
    However, currently Graph only support to distinguish Microsoft O365 groups, according to the documentation.
    You can send a uservoice to submit the feature of distinguish other group type.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments