none
Office 365: Creating MAPI Over HTTP profile programmatically using Outlook MAPI

    Question

  • MS support portal says that RPC Over HTTP will be deprected in October 2017 - 

    https://support.microsoft.com/en-au/help/3201590/rpc-over-http-deprecated-in-office-365-on-october-31,-2017

    Can someone please share the steps to create an outlook profile programmatically to use MAPI Over HTTP protocol.

    I know the steps to create RPC Over HTTP (Outlook Anywhere) profile but could not find any steps to manually or programmatically create MAPI Over HTTP profile.

    Thanks in advance.

    Thursday, March 9, 2017 10:44 PM

All replies

  • Hi Pranay,

    For Exchange Online mailbox (Office 365), the manual account setup is not supported in Outlook 2016. The Autodiscover service which configured in Exchange side would be used to setup account automatically and retrieve data from service side.

    If the MAPI over HTTP service has been configured properly in Exchange Online, Outlook client will connect to Exchange Online mailbox automatically with MAPI over HTTP service :)


    Regards,

    Winnie Liang


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Friday, March 10, 2017 10:05 AM
    Moderator
  • Thanks for the answer but what I am looking for is different.

    I want to programmatically create Outlook profile for Office 365 mailbox. MS has decided to stop supporting RPC Over HTTP profile from October, 2017. So we want to switch to MAPI Over HTTP profile. That is the reason I am looking for the steps to create MAPI Over HTTP Outlook profile.

    Thanks,

    Pranay

    Friday, March 10, 2017 10:26 AM
  • Pranay,

    Do u have cloud only set up? or a mixed mode?

    On o365 run Get-OrganizationConfig| fl *Mapi*

    You cant set it to true at the moment on O365 using Set-organizationconfig the switch is not available

    Also on your outlook > Run test email auto configuration for the o365 mailbox > Is it connected via RPC or MapioverHttp

    Also in outlook > connection windows > Do u see RPC/Http or Just HTTP

    Before this is depreciated, you need to make sure your users are using most recent/updated Outlook clients. I assume this will automatically take place once RPCoverhttp is disabled/deprovisioned


    MCSA Office 365 | MCSA Exchange server 2010 | Red Hat Certified Engineer





    Friday, March 10, 2017 10:47 AM