Forum Discussion

Prasandh's avatar
Prasandh
Copper Contributor
Dec 15, 2022

Trouble in Contact Folder / Categories API(s) Graph API's

There are couple of issues in Graph API for contact folders when used in personal accounts(***@outlook.com)

Issue 1: Contact Folder(Categories) created via graph API is not visible in Outlook UI(even after multiple refreshes over 5 minutes).
-The folder (Folder from API) which was created via API is not visible in Outlook UI (refer image #2) but the getContactFolder API returns the folder (refer image #1)

Issue 2: Above mentioned folder (Folder from API) becomes visible in Outlook UI when a contact is created via graph API inside the folder. (Refer Image #3)


Issue 3: While creating a contact in Outlook UI, the category list is not consistent. Categories created via API are missing. Refer image #4

Issue 4: Change notifications are not consistent for the folders created via API. Microsoft sends the notification only to the contacts created inside the folder via API but not from the UI.

POST https://graph.microsoft.com/v1.0/me/contactfolders/{folderId}/contacts

{"givenName":"Test Contact"}

Steps to reproduce to issue 4

Step 1:Subscribe for change notifications for the folder created via API.

Step 2: From Outlook UI, create a category with same name as step #1 (refer image #4) (This is only required when the category is not shown in UI)


https://stackoverflow.com/questions/74785177/microsoft-graph-trouble-in-contact-folder-categories-apis

Image 1: Graph API response 

 

 

Image 2: Outlook UI after folder creation 

Image 3: Outlook UI after contact creation in folder via API 


Image 4: Category "Folder From API" is not listed during search 

 

 



No RepliesBe the first to reply

Resources