| Posted by: Lemonde - 30 July 2025 11:47:47 |
|---|
| I am migrating all my Exchange users from 2013 to 2019 and I am receiving a message saying: 'error A version mismatch was detected (Actual:6, Expected:5).' when trying to create migration jobs |
| Posted by: sirclesadmin - 30 July 2025 11:52:11 |
|---|
|
The error message "A version mismatch was detected (Actual:6, Expected:5)." when trying to create migration jobs from Exchange 2013 to Exchange 2019 is a common issue. This typically indicates a problem with the migration mailbox (also known as the arbitration mailbox) or an inconsistency in how the Exchange servers perceive the migration process. Here's a breakdown of the likely cause and common solutions: Understanding the Error:
Common Solutions:
Important Considerations:
By following these steps, particularly moving the migration mailbox to Exchange 2019, you should be able to resolve the "version mismatch" error and proceed with your user migrations. |
| Posted by: Lemonde - 30 July 2025 11:52:46 |
|---|
| I've never had to enable MRS proxy before |
| Posted by: sirclesadmin - 30 July 2025 11:53:04 |
|---|
|
You're not alone! Many administrators only encounter the need to enable the MRS Proxy when performing specific types of migrations. It's often disabled by default for security reasons, as it opens a specific endpoint on your Exchange servers. Let's break down why it's needed for this scenario and why you might not have encountered it before: What is the MRS Proxy? MRS stands for Mailbox Replication Service. This service is responsible for moving mailboxes within and between Exchange organizations. The MRS Proxy is a component of the MRS that specifically handles remote move requests. Why is it needed for Exchange 2013 to 2019 Migrations (specifically with your error)? Even though you're migrating within the same Active Directory forest (presumably), the migration from Exchange 2013 to Exchange 2019 is considered a "cross-version" or "remote" move from the perspective of the MRS.
When is MRS Proxy typically needed? You'll generally need the MRS Proxy enabled for:
Why you might not have needed it before:
Action to take: Given your error, the most direct approach is to enable the MRS Proxy on your Exchange 2013 Client Access Servers (or combined Mailbox/CAS servers). This allows your Exchange 2019 MRS to properly communicate and pull the mailboxes from your 2013 environment. The commands I provided earlier are correct: To check the status:
(Replace "YourExchange2013ServerName" with the actual name of an Exchange 2013 server.) To enable it:
After enabling, remember to perform an |
| Posted by: Lemonde - 30 July 2025 12:10:03 |
|---|
| OK I have enabled MRS Proxy in the GUi on both and still see: 'error A version mismatch was detected (Actual:6, Expected:5).' |
| Posted by: sirclesadmin - 30 July 2025 12:11:20 |
|---|
|
You're right to be persistent! The "version mismatch" error is notoriously tricky because it can stem from several underlying issues, even after you've seemingly addressed the obvious ones like MRS Proxy. Since you've confirmed MRS Proxy is enabled on both sides (and a restart of IIS or the MRS service would be good measure if you haven't done that), the next most likely culprit is indeed the migration mailbox (or arbitration mailbox). This is the key element for managing move requests, and its state and location are critical. Here's a systematic approach to troubleshoot further: 1. Verify the Migration Mailbox Location and Version (Crucial): This is paramount. The "Migration" arbitration mailbox must be on an Exchange 2019 database.
2. If the Migration Mailbox is Already on Exchange 2019 but the Error Persists: This is less common but can happen if the mailbox itself is corrupted or its internal state is wrong.
3. Test Migration Server Availability: After each change, use this cmdlet from Exchange 2019 EMS to test the connection to your 2013 server for migration purposes.
When prompted, provide credentials for an account that has permissions to manage mailboxes on both Exchange 2013 and 2019 (e.g., a member of Organization Management). This test is invaluable for pinpointing where the communication breaks down. 4. Check for Cumulative Updates (CUs): Ensure both your Exchange 2013 and Exchange 2019 servers are on the latest (or very recent) Cumulative Updates. Missing CUs can lead to unpredictable behavior and subtle compatibility issues. Summary of the most likely fix: Even though you enabled MRS Proxy, the |
| Posted by: Lemonde - 30 July 2025 12:13:40 |
|---|
|
I am seeing:
PS] C:\WINDOWS\system32>Get-WebServicesVirtualDirectory -Identity "ARGEX2\EWS (Default Web Site)" | Format-List MRSProxyEnabled
MRSProxyEnabled : True
[PS] C:\WINDOWS\system32>Get-WebServicesVirtualDirectory -Identity "EX2013\EWS (Default Web Site)" | Format-List MRSProxyEnabled
MRSProxyEnabled : True
[PS] C:\WINDOWS\system32>Test-MigrationServerAvailability -ExchangeRemoteMove -Autodiscover -EmailAddress |
| Posted by: sirclesadmin - 30 July 2025 12:14:07 |
|---|
|
Okay, this is an excellent step forward because the The error message: "AutoDiscover failed with a configuration error: The migration service failed to detect the migration endpoint using the Autodiscover service." This tells us that the problem isn't necessarily the MRS Proxy itself being enabled or disabled anymore (though it needs to be enabled for the connection to work once Autodiscover is fixed). The immediate blocker is that the Exchange 2019 server cannot properly discover the necessary endpoints (specifically the MRS Proxy endpoint) on the Exchange 2013 server via Autodiscover. Key areas to investigate for Autodiscover issues during migrations:
Steps to focus on now:
Once you resolve the Autodiscover connectivity, |
| Posted by: Lemonde - 30 July 2025 12:19:42 |
|---|
| OK that's odd - it can resolve the hostname OK but from those command lines it returns: [PS] C:\WINDOWS\system32>Get-AutodiscoverVirtualDirectory -Server EX2013 | Format-List InternalURL,ExternalURL InternalUrl : ExternalUrl : [PS] C:\WINDOWS\system32>Get-AutodiscoverVirtualDirectory -Server EX2013 | Format-List *Authentication* InternalAuthenticationMethods : {Basic, Ntlm, WindowsIntegrated, WSSecurity, OAuth} ExternalAuthenticationMethods : {Basic, Ntlm, WindowsIntegrated, WSSecurity, OAuth} LiveIdNegotiateAuthentication : False WSSecurityAuthentication : True LiveIdBasicAuthentication : False BasicAuthentication : True DigestAuthentication : False WindowsAuthentication : True OAuthAuthentication : True AdfsAuthentication : False |
| Posted by: sirclesadmin - 30 July 2025 12:21:11 |
|---|
|
You are absolutely right to point that out! The screenshot shows that the EWS (Default Web Site) virtual directory on This means my previous assumption that the EWS URLs were missing was incorrect, based on the previous command output which only showed Given that:
The root cause is almost certainly the missing Why this is critical:
Action Plan: You need to explicitly set the
Expected Result: After these steps, the |
| Posted by: Lemonde - 30 July 2025 12:29:04 |
|---|
|
I see:
Welcome to the Exchange Management Shell!
Full list of cmdlets: Get-Command
Only Exchange cmdlets: Get-ExCommand
Cmdlets that match a specific string: Help * |
| Posted by: sirclesadmin - 30 July 2025 12:29:30 |
|---|
|
Ah, my apologies! You've hit a crucial point regarding the differences between Exchange versions. The error "A parameter cannot be found that matches parameter name 'InternalUrl'." when running This is a key distinction:
So, the fact that Let's pivot our troubleshooting based on this new information. If the Autodiscover URLs are "blank" by design on Exchange 2013, but Here's the revised action plan: 1. Verify the Service Connection Point (SCP) in Active Directory for Exchange 2013 Autodiscover: Exchange 2013 clients (and other Exchange servers within the forest) primarily use the SCP in Active Directory to locate the Autodiscover service.
2. Verify Internal DNS Resolution: Even if the SCP is correct, if your internal DNS isn't resolving
3. Test Connectivity from Exchange 2019 to Exchange 2013's EWS/Autodiscover Endpoint: Since the From your Exchange 2019 EMS, use a web browser or
If these don't work (e.g., certificate errors, timeouts, connection refused), then you have a fundamental network/certificate issue between 2019 and 2013. Summary of the revised likely culprit: The Service Connection Point (SCP) in Active Directory for Focus on step 1 (SCP verification/setting) and step 2 (DNS resolution). |
| Posted by: sirclesadmin - 30 July 2025 12:31:21 |
|---|
|
When you run a Therefore, the error So, let's discard the The core problem remains that Autodiscover is failing for the migration. We need to fix how Exchange 2013 advertises its Autodiscover service. Revised & Corrected Focus for Exchange 2013 Autodiscover: For Exchange 2013, the primary method for clients and other Exchange servers within the same Active Directory forest to discover the Autodiscover endpoint is through the Service Connection Point (SCP) in Active Directory. The cmdlet to configure the SCP for Autodiscover on an Exchange 2013 Client Access Server (CAS) is Action Plan (Corrected):
This approach aligns with how Autodiscover URLs are configured and published in Exchange 2013 environments. The "Autodiscover failed with a configuration error" message is almost always linked to this SCP configuration or a DNS resolution issue. |
| Posted by: Lemonde - 30 July 2025 12:36:22 |
|---|
| OK this looks like the problem: [PS] C:\WINDOWS\system32>$url = "https://autodiscover.argofield.co.uk/Autodiscover/Autodiscover.xml" # Use the FQDN you set in SCP [PS] C:\WINDOWS\system32>Invoke-WebRequest -Uri $url -UseBasicParsing -ErrorAction SilentlyContinue -MaximumRedirection 0 Invoke-WebRequest : The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. At line:1 char:1 + Invoke-WebRequest -Uri $url -UseBasicParsing -ErrorAction SilentlyCon ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc eption + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand |
| Posted by: sirclesadmin - 30 July 2025 12:37:25 |
|---|
|
Excellent! This is the smoking gun. The error message: "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel." This definitively means that your SSL certificate on the Exchange 2013 server ( Here's the troubleshooting and solution plan for the SSL certificate: 1. Inspect the SSL Certificate on
2. Common Certificate Issues and Solutions: Based on your error, here are the most common reasons and their fixes:
After making any certificate changes on
This |