Forum Discussion

SajidHussain1989's avatar
SajidHussain1989
Copper Contributor
Apr 14, 2023

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

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

 

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

 

 

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

 

 

1 Reply

  • You cannot. The Graph API only exposes contacts within user's mailboxes, or the org-wide store on Azure AD side. It does not currently support any endpoints to work with Exchange objects or address lists.
    You should be able to come up with something similar by combining the results of separate queries against /users, /groups and /contacts, but you will still be missing Exchange-specific entries.

Resources