Query for PR_HIERARCHY_SERVER property returns MAPI_E_INVALID_PARAMETER.

Copper Contributor

Hi,

 

Our application(IBM Content Collector - ICC) is trying to query PR_HIERARCHY_SERVER property. We use the MSMAPI32.dll, acting as client to Exchange servers.
However MAPI call HrGetProp for the property PR_HIERARCHY_SERVER = 0x6633001F fails with MAPI Error 'MAPI_E_INVALID_PARAMETER'.

 

We noticed the issue is not seen when we use Outlook 2010 as client. Below are all the scenariosand results:
1) ICC with Exchange 2019 : Outlook 2019 : Public folder archiving fails
2) ICC with Exchange Online : Outlook 2019 : Public folder archiving fails
3) ICC with Exchange 2016 : Outlook 2016 : Public folder archiving fails
4) ICC with Exchange 2016 : Outlook 2010 : Public folder archiving works!


Do we have to make any changes to code when using newer Outlook client versions?
Kindly provide suggestions as this is a blocker for one of our Customers(env: ICC with Exchange Online : Outlook 365).

 

Regards,
Salil Verlekar(saverlek@in.ibm.com)
Mob: 9823961730

0 Replies