Exchange 2010 to 2016 Migration - Autodiscover issue after mailbox move (401 and/or 302)

Charles Gerard-Le Metayer 41 Reputation points
2020-08-27T14:57:18.307+00:00

Hello,

I've got following issue after moving some mailboxes from 2010 to 2016 (CU17, Windows Server 2016).

Does someone already faced this and find a way to avoid this?

Step : migrate users from one 2010 database to a 2016 database.

Result : some users (a few) have 401 denied or 302 redirect answer from autodiscover. I'm not able to explain why (I've not noticed anything in the log).

Workaround I've found :

Databases are in a DAG.

Any ideas?

Thanks in advance for your help!

Sincerely,

Charles

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,260 questions
0 comments No comments
{count} votes

Accepted answer
  1. Charles Gerard - Le Metayer 151 Reputation points
    2020-09-05T08:05:33.27+00:00

    Hello @Kael Yao-MSFT ,

    In fact, after going on reddit and some other forum, looks like a known issue during migration.

    In the beginning, I thought resetting autodiscover IIS pool was enough. In fact, you have to reset autodiscover AND RPC pool too.

    Then, impacted clients were able to retrieve correct configuration.

    Thank you for your time.

    Charles.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Kael Yao-MSFT 37,306 Reputation points Microsoft Vendor
    2020-08-28T07:35:24.087+00:00

    Hi,Charles.
    503 solved after moving again mailbox from one Exchange 2016 database to another
    Do you mean that users also have the 503 error when open their mailboxes via Outlook? Please provide more detailed information, such as a screenshot if possible. (Notice: Please hide your personal information in the screenshot for security)

    The problem may probably result from the Outlook Client continues to try to connect to the autodiscover service on Exchange 2010 server after migrated to Exchange 2016.
    You need to change the DNS record of autodiscover service from Exchange 2010 to Exchange 2016.
    And for domain-connected users, you also need to configure the scp record to point to Exchange 2016 server.

    Below is the test in my lab.
    It’s a co-existence environment of Exchange 2010 and Exchange 2016.
    The “teste14” mailbox is created on Exchange 2010 and migrated to Exchange 2016.
    When running a Test E-mail Configuration, we can see that Outlook first tries to connect to the autodiscover service on Exchange 2010 and failed.
    21134-01.png

    Then I run the following command on Exchange 2010 Server to set the scp record to point to Exchange 2016 server.

    Set-ClientAccessServer –Identity <Exchange 2010 Server name> -AutodiscoverServiceInternalUri https://<FQDN of Exchange 2016 Server>/autodiscover/autodiscover.xml  
    

    21148-02.png

    Run the test again and it connects to Exchange 2016 directly.
    21070-03.png


    If the response is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

  2. Charles Gerard-Le Metayer 41 Reputation points
    2020-08-31T11:46:52.897+00:00

    Hello,

    Sorry, I think I didn't put enough information.

    On exchange 2010, i've the following :

    • NLB for CAS array behind following DNS record : casarray.domain.tld

    Outlook Anywhere

    On 2016, I've following configuration :
    Outlook Anywhere

    DNS for webmail.domain.tld is pointing to 2016 virtual IP (which is a Netscaler Server).
    Only 2016 servers are presents in Netscaler.

    I've listed SCP records in AD, all are pointing to webmail.
    All 2016 databases have the new offline adress book.

    21456-exemple-2.png