• Link to Facebook
  • Link to LinkedIn
  • Link to Youtube
Priasoft
  • O365 & Exchange Server Management Tools
    • Office 365 & Exchange Migration Solutions
      • Public Folder Migration & Synchronization Manager
      • Priasoft Migration Suite for Exchange & Office 365
      • Mailbox Migration Manager
      • Office 365 Tenant-to-Tenant Migration
      • Collaboration Suite for Exchange (GALSync) – Two-way Sync AD organizations
      • Outlook Rules Migration Utility
      • Outlook Profile Update Manager for M365
    • eDiscovery & Compliance for Exchange
      • Exchange Data Discovery Lab
        • Exchange Data Discovery Lab – For Government Agencies
        • Exchange Data Discovery Lab – For HR & Compliance
        • Exchange Data Discovery Lab – For AI & Data Science
        • Exchange Data Discovery Lab – For IT Operations
        • Exchange Data Discovery Lab – For Legal Professionals
    • Exchange Data & Reporting Tools
      • Public Folder Analyzer for Office 365
      • Super-ExMerge – ExMerge for Exchange
    • Other Solutions and Free Tools
      • AutoDiscover Test Tool
  • Office 365 Migration Services
    • Expert Exchange Public Folder Cleanup & Discovery Services
    • Public Folder Migration Service for Office 365
    • Microsoft 365 Migration Success & Planning Workshop
  • Exchange Insights & Tips
    • How to Migrate Public Folders – Complete Guide
    • How to Backup Public Folders to PST
    • Best Way to Import Quickly PST’s to Office 365
    • Resources Library
  • Company
    • About Priasoft
    • Contact Us
    • Customer Success Stories
    • Press and Latest News
    • Priasoft Community Blog
    • Product Support
      • FAQs
      • Knowledge Base
      • Contact Support Team
      • Support Documents
    • Partners
      • Recommend a Partner
    • Why Priasoft?
      • What’s New Priasoft
      • Priasoft Migration Suite Features
  • Start Evaluating
  • Menu Menu
Exchange Migration Knowledge Base › Category: Mailbox Migration Questions › Is there an ability to have the batch wizard perform custom matching, perhaps with Employee ID or something similar?
0 Vote Up Vote Down
Anonymous asked 11 years ago

In the migration project we are starting, user accounts in the target will not, by default, have any matching details with the source accounts.  We’ve chosen to use Employee IDs for logon names and other security measures.
The batch wizard seems to match on email address and logon name and causes zero matches and much manual effort.  Is there a better way?

Question Tags: mailbox migrations, matching
1 Answers
0 Vote Up Vote Down
Eriq VanBibber Staff answered 8 years ago

There is an ability in the wizard to use a custom matching routine, however before this is used it may be better to analyze exactly why matching is not occurring.
The batch wizard’s matching routine uses a few common, but unique values to perform matches.  The match algorithm is as such:
For each source account, get its Primary SMTP Address, NT Logon Name, Mail Alias, and directory name.
Search the target AD for an account where ANY ONE of the following is true:

  1. Source email address matches target email address
  2. Source mail alias matches target alias
  3. Source mail alias matches target logon name
  4. Source logon name matches target logon name
  5. Source logon name matches target mail alias
  6. Source directory name matches target logon name

Given the above, it is possible for an ambiguous match to occur.  Consider a case where the source user’s mail alias and logon name is ‘jsmith’.  However in the target there is one account with the logon name JSmith but another, distinct account with a mail alias of JSmith (but with a different logon name).  The search would return both accounts for the one source and would be left unmatched.
It is also possible that there simply is no match between any of the source attributes used and any detail of target accounts.
It is likely a better strategy to examine how it could be possible to ensure that at least one of the attributes matches.
Priasoft recommends the creation of target accounts either by our dir-sync solution or by some solution that can enable target users as mail-enabled users before migration (a mail-enabled user being a user account that forwards mail elsewhere, not a mailbox-user).  This allows for a match on primary smtp to be established as well as to allow for mail-flow coexistence.  It could be that, even if all mailboxes are to be migrated in the same event, some application or service in the target environment needs to send mail to users before migrations complete.  Having the forwarding objects in the target environment, pointing at source mailboxes, allows this to happen.
 
However, it is understood that there may still be a valid reason for an alternative to the default search pattern.  Using a registry override the batch wizard can be made to do a custom attribute matching, as follows:
KEY: HKEY_CURRENT_USER\Software\Priasoft\Mailbox Migration Manager 6.5\Control
NAME: UseCustomAutoMatch
TYPE: REG_DWORD
VALUE: 1 = Enabled; 0 (or missing) = Disabled
When this value is enabled, the Auto Match button in the wizard will use the LDAP attributes you define in the next key for establishing a match between source and target.
KEY: HKEY_CURRENT_USER\Software\Priasoft\Mailbox Migration Manager 6.5\Control
NAME: CustomAutoMatchParams
TYPE: REG_STRING
VALUE: SourceLDAPProp:TargetLDAPProp
The value in the key above should be 2 LDAP property names separated by a colon and no spaces. The properties chosen must be single valued string properties, but do not have to be the same on both sides; for instance it is valid to have this “DisplayName:ExtensionAttribute5”, but this is not valid: “DisplayName:URL”.
The behavior of AutoMatch will, for each source account, grab the SourceLDAPProperty, and attempt an LDAP search for the value in the TargetLDAPProperty. Note that by default AD does not perform case sensitive searches on strings.
 

The Exchange Experts – Who Are We?

Priasoft, a Microsoft Partner, offers enterprise-class solutions for Exchange migration, management, and eDiscovery. Supporting Exchange 2010, 2013, 2016, 2019, and Office 365/Exchange Online, our platform enables secure migration, management, and organization of email data, with advanced tools for compliance, public folder analysis, and AI-driven insights.


YouTube Play Button  LinkedIn LogoFacebook Logo

Exchange Quick Links

• Exchange Data Discovery Lab (eDiscovery)
• Public Folder Migration to Office 365
• Public Folder Analyzer for Office 365
• Super-ExMerge for Office 365
• Collaboration Suite (GalSync)
• Microsoft Outlook Profile Update Manager
• Privacy Policy
• Terms of Use

Recent Posts

  • Tenant-to-Tenant Migration Checklist: What to Do Before You Move a Single Mailbox
  • What Is Super-ExMerge and Why Do IT Teams Still Need It in 2026?
  • Exchange 2019 Patches Just Ended. Here Is What IT Teams Need to Do This Month.

Contact Priasoft – The Exchange Experts

Have questions? Speak to a Priasoft Engineer
Email: sales (at) priasoft.com
+1 (480) 520-0873

Scroll to top Scroll to top Scroll to top

This site uses cookies. By continuing to browse the site, you are agreeing to our use of cookies.

OKLearn more

Cookie and Privacy Settings



How we use cookies

We may request cookies to be set on your device. We use cookies to let us know when you visit our websites, how you interact with us, to enrich your user experience, and to customize your relationship with our website.

Click on the different category headings to find out more. You can also change some of your preferences. Note that blocking some types of cookies may impact your experience on our websites and the services we are able to offer.

Essential Website Cookies

These cookies are strictly necessary to provide you with services available through our website and to use some of its features.

Because these cookies are strictly necessary to deliver the website, refusing them will have impact how our site functions. You always can block or delete cookies by changing your browser settings and force blocking all cookies on this website. But this will always prompt you to accept/refuse cookies when revisiting our site.

We fully respect if you want to refuse cookies but to avoid asking you again and again kindly allow us to store a cookie for that. You are free to opt out any time or opt in for other cookies to get a better experience. If you refuse cookies we will remove all set cookies in our domain.

We provide you with a list of stored cookies on your computer in our domain so you can check what we stored. Due to security reasons we are not able to show or modify cookies from other domains. You can check these in your browser security settings.

Other external services

We also use different external services like Google Webfonts, Google Maps, and external Video providers. Since these providers may collect personal data like your IP address we allow you to block them here. Please be aware that this might heavily reduce the functionality and appearance of our site. Changes will take effect once you reload the page.

Google Webfont Settings:

Google Map Settings:

Google reCaptcha Settings:

Vimeo and Youtube video embeds:

Privacy Policy

You can read about our cookies and privacy settings in detail on our Privacy Policy Page.

Privacy Policy
Accept settingsHide notification only