Skip to content

OpenMsgStore MAPI_E_FAILONEPROVIDER #373

Description

@ulued

I've derived from your code the usage of OpenMsgStore, using it in a service (session id 0) running in a user context.

Outlook is Outlook 365 64bit, 16.0.11727.20222

Everything is working fine on accessing an OnPrem Exchange Server.

Accessing Exchange 365 always gives MAPI_E_FAILONEPROVIDER even on opening the sane message store as in the Outlook profile.

I've another executable using the same code and when started in the same user context (e.g. by double click, session id 1) E365 access is OK. The same behavior as in the service occurs using the executable in the task planner.

You have already mentioned an adal bug in Outlook 365 >1806 and recommended to downgrade, which is not an option for me.

Any suggestion to what might be going wrong and a workaround/fix for it would be appreciated.

In MfcMapi open other mailboxes from GAL does not work either. It opens the other mailbox, but only displays PeoplePublicData - no error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions