none
The number of contacts showed on UI are different than number returned by endpoint api RRS feed

  • Question

  • Hi,

    We are trying to fetch contacts from contact folders using the following API:

    https://outlook.office.com/api/v2.0/me/contactfolders/{contactFolderId}/contacts?$top=100

    The number of contacts obtained here is 19, whereas office UI displays only 17 contacts.

    Kindly help to solve this issue to get the exact number of contacts present in the folder.



    Thursday, March 14, 2019 12:00 PM

All replies

  • Hi

    Is your Graph query return 19 every time or it just around 19?


    Justin Liu Office Apps & Services MVP, MCSE
    Senior Software Engineer
    Please Vote and Mark as Answer if it helps you.

    Friday, March 15, 2019 2:28 AM
  • try to compare both lists: may be there are some system contacts returned from API which are not shown in UI. Similar thing happens when you retrieve site owners using Sharepoint REST API (/_api/web/associatedVisitorGroup/users): among with other owners it returns "SHAREPOINT\System" which is not shown in UI when you check site owners from browser.

    Blog - http://sadomovalex.blogspot.com
    Dynamic CAML queries via C# - https://github.com/sadomovalex/camlex

    Monday, March 18, 2019 2:24 PM