Forum Discussion

matthew want's avatar
matthew want
Copper Contributor
Jul 06, 2018
Solved

Hybrid Exchange and autodiscover

In a hybrid Exchange setup you are meant to leave the autodiscover record pointing at the onprem server. I have been going through DR planning and have realised that leaving it pointed onprem will cause disruption to clients in the event of loss of the on prem server.

 

My on prem server hosts no active mailboxes they are all now 365 so the server is only kept for attribute changes as AD accounts replicate using ADC.

 

My question is with the Hybrid setup in this state can the autodiscover record safely be pointed at 365?

  • Hi matthew want,

     

    If you are not using any mailbox on-premises and you do not need any on-premises autodiscover feature using your on-premises autodiscover, you can change it to Office 365.

7 Replies

  • Ashkb's avatar
    Ashkb
    Copper Contributor

    matthew want 

    What I suggest is to run

    set-clientAccessServer  -AutoDiscoverServiceInternalUri $Null

    Point the external URI to office 365 autodiscover record using a CNAME record.

     

    This should work for you.

    • aussupport's avatar
      aussupport
      Copper Contributor
      Hi Ashkb,

      I have fully hybrid env with exch2010 . and I just run AutoDiscoverServiceInternalUri $Null
      So how do I retrieve old value?

      TA
  • Hi matthew want,

     

    If you do not have any mailboxes in on-premises, you can change the autodiscover to Office 365, you only need to change it back if you need to migrate mailboxes on-premises or use the autodiscover to use in Outlook and Mobile.

    • Navishkar Sadheo's avatar
      Navishkar Sadheo
      Steel Contributor

      Hi NunoAriasSilva 

       

      I am facing the same issue. Exchange hybrid with all our mailboxes in Office 365.

       

      Are you saying delete the local autodiscover DNS records?

      I have 2. Autodiscover.ttaf.co.za and autodiscover.ttaf.local.

      Both of those records point to my on-premise exchange server.

      Recently we renewed the third party certificate on this server but I forgot to include autodiscover.ttaf.co.za in the certificate subject alternatives names.

      Now staff members are getting certificate errors even thou their mailboxes are hosted in Office 365.

      Any advice?

       

      I thought about creating CNAME records in the ttaf.co.za and ttaf.local internal DNS zones and pointing them to autodiscover.outlook.com. Do you think that would resolve the issue?

       

       

       

    • matthew want's avatar
      matthew want
      Copper Contributor

      Thanks for the reply Nuno. I get what you are saying about mailboxes moving back to on prem but don't get the last part where you say 'or use the autodiscover to use in Outlook and Mobile'?

      • NunoAriasSilva's avatar
        NunoAriasSilva
        MVP

        Hi matthew want,

         

        If you are not using any mailbox on-premises and you do not need any on-premises autodiscover feature using your on-premises autodiscover, you can change it to Office 365.

Resources