rkeeth
rkeeth

Reputation: 119

Contacts count is returned as -1 in Microsoft Graph API

I am trying to get all contacts for an outlook user using the Microsoft Graph API. Why is the contacts count -1 when there is obviously many contacts?

Upvotes: 1

Views: 363

Answers (1)

Marc LaFleur
Marc LaFleur

Reputation: 33114

I am seeing the same behavior, but on with the v1.0 API. Using the beta endpoint, the correct count is returned:

https://graph.microsoft.com/beta/me/contacts?$count=true

Upvotes: 1

Related Questions