none
Redemption.RDOStoresClass.GetSharedMailbox ambiguity RRS feed

  • Question

  • Hi,

    We are trying to implement a product which performs a MAPI crawl of Outlook mailboxes but fails on some reporting an ambiguous MAPI property shown below. Outlook 2013 SP1 is installed on the server machine from which this product runs. 

    Here is the error:

    ExchangeService.GetMailboxByAccount -  location {020FEC2E-A2BB-4C56-A427-67E61CD71693}

    ====

    Exception Level 1: System.Runtime.InteropServices.COMException

    Message: Error in IAddrBook.ResolveName: MAPI_E_AMBIGUOUS_RECIP

    Source: Redemption.RDOStores

    Target Site: Redemption.RDOStoresClass

    Stack Trace:

    at Redemption.RDOStoresClass.GetSharedMailbox(Object NameOrAddressOrObject)

       at DocAuto.Exchange.Implementations.ExchangeService.GetMailboxByAccount(String accountName)

    Inner Exception:(null)

    The mailbox for user davidc is one such account for which the equivalent powershell command returns no ambiguity. In fact we can't see that the sAmAccountName or the displayname is duplicated and nor are there any trailing spaces. 

    Get-mailbox | where {$_.emailaddresses -like "smtp: david.carter@acme.ie"} | ft name, alias

    How would you suggest that we could troubleshoot this? I have downloaded MFCMAPI.exe and 

    Thanks, Harry

    Friday, June 20, 2014 11:36 AM

All replies

  • Hello Harry,

    Redemption is a commercial component. I'd recommend contacting the developer directly at http://dimastr.com/redemption/contact.htm for Redemption specific exceptions and questions.

    Did you try to use the GetSharedDefaultFolder or OpenSharedFolder methods of the Namespace class? Do you get any exceptions in that case?

    Friday, June 20, 2014 11:51 AM
  • What do you see in Outlook if you type "davidc"in Outlook's To edit box and hit Ctrl+K? Do you see multiple ambiguous recipients?

    What does RDOAddressBook.ResolveEx return? Do you get more than one address entry?

    Note that GetSharedMailbox can take an RDOAddressEntry object (besides a string with the name). Is there any way you can provide an RDOAddressEntry object?


    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    Friday, June 20, 2014 4:35 PM