Hey there,
I actually installed 2013 using the CU5 install files. So you are right, CU5 does not matter from a first look, but it does matter overall for this issue. Keep reading.
Tangent: This appears to be unrelated but I will mention it anyways. I noticed, after the mailbox was migrated that when I am on the internal network, autodiscover fails the same way it does for you. However, when I bring the client off the corporate network
and have it connect via the public Internet, autodiscover suceeds. When testing with EXRCA autodiscover also succeeds. Please do note that external access to Exchange is handled by Microsoft's Web Application Proxy. This proxy performs "pass-through"
authentication of autodiscover so that may have something to do with it.
Back to the main issue of Outlook staying disconnected after the migration. I wasn't going anywhere with this so I opened a case with Microsoft. I was able to replicate the problem with the support tech and they were also able to replicate this in
their lab. This was the conclusion:
This is a known issue. It happens because when a mailbox is moved to 2013, the mailbox itself still has a cache entry that points the client back to the 2010 server. From what Microsoft said, this cache expires in an "undetermined" time interval
for Exchange 2013 SP1 up to CU4 and every "2 to 2.5 hours" in Exchange 2013 CU5. They could not reference a KB article with this info.
Microsoft mentioned that the cache is also cleared when recycling the IIS Application Pool that runs RPC on the 2013 CAS server which is also caused by an IISreset. However, I have not been able to verify the application pool recycle method in my tests.
From what I can see, IISreset is the only way to clear the cache. I have sent a follow-up to Microsoft asking which App Pools specifically need to be recycled to avoid having to perform a full IISreset. I will test and report back here.
In any case, here is my strategy moving forward which was blessed by the Microsoft team:
- Create a migration batch for a number of users (in my case I will make it 5 to 10 users at a time)
- Select to "Manually Complete the batch" in the "New Local Mailbox Move" window. This process will migrate 95% of the mailbox and then stop.
- Once the migration has gone through 95% and it stops syncing, the batch shows as "synced" on the migration window. Until this point in the process, users are able to use Outlook without any interruption and the move is invisible to them.
- When I am ready to finish the migration, I will select to "Complete This Migration Batch" on the ECP Migration screen. At this time, users that have Outlook open will receive a prompt to
restart it. When Outlook re-opens it will show as "Disconnected" until the next step is performed.
- Once the batch shows as "completed" I will perform an IISreset on the 2013 CAS server (or recycle the appropriate app pools once Microsoft provides them to me.) At this time, Outlook will show as "Connected to Microsoft Exchange" and
users will receive a second prompt to restart Outlook. After the second restart you'll be good to go!
I will try to time my migration so they complete after hours, when most people are less likely to have Outlook open. Don't forget, that the cache entry that causes all these issues is cleared after about 2 to 2.5 hours if you are on 2013 CU5. In any
case, I think it's better if you have control over when the migration finishes by opting to complete it manually.
Hope this helps.
Fable
EDIT: Microsoft has confirmed that recycling the following Application Pools makes Outlook connect to Exchange 2013:
Exchange 2013 CAS Server:
- MSExchangeAutodiscoverAppPool
- MSExchangeRpcProxyFrontEndAppPool
Exchange 2013 Mailbox Server:
- MSExchangeAutodiscoverAppPool
- MSExchangeRpcProxyAppPool
If you decide to not do an iisreset and opt for recycling the App Pools instead, be advised that after the AppPools are recycled, Outlook connects to Exchange and asks to be restarted. If you close Outlook and immediately open it again, you will be prompted
with a username and password pop-up (At least I was in all my tests of this method.) This issue is resolved if, after you close Outlook, wait 5 to 10 minutes before you re-open it. You will not be prompted for a user/pass at this point.
-
Edited by
tFable
Thursday, August 21, 2014 1:43 AM
added info on how to resolve by recycling apppools
-
Marked as answer by
Temesvári Gábor
Thursday, August 21, 2014 8:11 AM