These are chat archives for OfficeDev/ews-java-api

27th
Nov 2018
medhanafi
@medhanafi
Nov 27 2018 16:48

Hello
I come back with a new question.
I try to resolve a Name using

NameResolutionCollection response = this.service.resolveName(name, ResolveNameSearchLocation.DirectoryThenContacts, true);

Is there a way to return more than the 100 as provided by the documentation ?
Thank you

Pavel Kropachev
@pkropachev
Nov 27 2018 21:39
As far as I know limit (100 items) in ResolveNames is a hard limit and it can't be changed.
https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/resolvenames-operation
You should make request with more precise name to decrease number of items. Maybe something wrong in your business logic if you receive more than 100 results on one request.