Get Contacts and Groups from Exchange Online Default Global Address List folder Microsoft Graph API

Anonymous
2023-04-14T12:31:09.2+00:00

I want to get contacts and groups from the Exchange Online Default Global Address List folder using Microsoft Graph API. I want to fetch all the data in this folder User's image

I have tried using contacts api but it does not return groups and some contact are also missing User's image

I have also tried using prople api but it does return contacts and groups but it still does not match with Default Global Address List contents User's image

Exchange Online
Exchange Online
A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.
Microsoft 365 and Office | Development | Other
Microsoft Security | Microsoft Graph
{count} votes

1 answer

Sort by: Most helpful
  1. HarmeetSingh7172 4,831 Reputation points
    2023-04-14T15:15:59.1233333+00:00

    Hello Sajid Hussain,

    Thanks for reaching out!

    As per my research, only contacts found in user mailboxes or the org-wide storage on the Azure AD side are exposed through the Graph API. There is currently no endpoint supported for using Exchange objects or address lists.

    Hope this helps.

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


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.