• 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

Answer for How does SID History affect or influence an exchange migration project?

The simple answer is:  do NOT migrate SID History before users logon to the new domain.
The longer answer is this…
In the windows security model, access to an object is controlled by an attribute called a Security Descriptor.  This attribute describes the owner of the object, system access privileges, and a list of one or more objects that have specific permission to the object.
Consider this simplified example:
Object:                 VirtualWidget
Name:                  Vader1
Owner:                 DOM-A\JoeUser
Permissions:
                1: Creator/Owner            = Full Control
                2: DOM-A\RichMartin    = Read Attributes
                3: DOM-A\$SERVER-6    = Read, Write, Modify
 
Each object in AD has a security identifier that uniquely describes the forest, domain, type, and the object itself.
Some identifiers (the SIDs) are simplified and represent a well-known value.  Creater/Owner, Self, Anonymous, Everyone, Administrator, etc. are some well known objects and their SIDs are simplified and don’t have forest/domain components.
Other objects have a fully qualified SID that uniquely identifies them in the domain/forest.
 
If I have an application that wanted to use the same security framework, I would need to know the SID of the user that wants to access my resources and would need to compare that SID against a list of SIDs that I have in my database and if there was a match, I’d allow access, provided rights were assigned (I could have the SID, but with no rights listed).
 
The key phrase in the above is that I would look “…in my database…”.  So, if we installed my application in a new forest, and configured the my application to give RichMartin access to stuff provided by my application, some configuration would be necessary.  Someone, after installation, would need to add permissions.  Since my application is now running in the new domain, when I show a dialog to the admin to select an account, I would likely and naturally show users from the same domain/forest in which my application is running.
An admin would likely search for Rich, and if such an object were found, I’d save Rich’s SID in my database.  However, the SID I saved would be the one from the target domain.
 
That should seem fairly simple and reasonable.  Now lets imagine that my software is enterprise ready and has some understanding of multi-domain/multi-forest setups.  Let say that in the user picker dialog I present to the admin, that there’s a button that lets the admin pick users from remote trusted domains.
The admin, being very smart here, changes the context of the selection to the source domain (DOM-A) and finds Rich.  However, my application, also being very smart, get’s the SID back from the dialog and validates the SID to make sure no tricks are trying to be played on me – don’t want some clever hacker adding bogus SIDs to my database!  So, I search AD looking for an account with the SID I received from the dialog.  Well, guess what, Rich was found in the local AD forest because someone added Rich’s source SID to Rich’s target AD object as an additional SID.
My application then takes the SID of the DOM-B\Rich and writes that to the database.  Later, when Rich attempts to access my data (which is now over here in the new domain), I compare that SID to my list of SIDs I stored.  I don’t find a match because I never wrote the SID of DOM-A\RichMartin in the previous operation – I wrote the SID of DOM-B\RichMartin.
 
The fundamental thing to understand with SID History has to do with the second word of the term: History.  By definition, history as a “back in time” idea.  Migrating SIDs beforehand has no value at all if those same users are not logging in with the new account.  And, as Zoltan shows and as I’ve said it only causes issues.
 
Context is the real focus here: which environment is providing the context of authentication to the resource.  If a user is logging in at the source domain, he/she has a SID from the source domain.  That SID must match in the list of SIDs that have been given rights.  It’s a simple comparison routine “does this match that – nope, check the next one” and so on.
 
My rule that I provide to AD admins and architects is this:  do NOT migrate SIDs except at the moment in time when the user will begin logging on with that new account.  At that point, SID History does it’s job; it lets the user, who was authenticated in the new domain, access old resources in the old domain.  When DOM-B\RichMartin attempts to access my data in my app, running in the old domain, my app is presented with multiple SIDs to compare with:  the DOM-B SIDs and the DOM-A SID that was brought over by SID history.
 
 

August 27, 2015
Share this entry
  • Share on Facebook
  • Share on X
  • Share on Pinterest
  • Share on LinkedIn
  • Share on Tumblr
  • Share on Reddit
  • Share by Mail
/wp-content/uploads/2016/01/Pria_email_logo.png 0 0 Eriq VanBibber /wp-content/uploads/2016/01/Pria_email_logo.png Eriq VanBibber2015-08-27 22:56:532015-08-27 22:56:53Answer for How does SID History affect or influence an exchange migration project?

Recent Posts

  • Office 365 Tenant to Tenant
    Tenant-to-Tenant Migration Checklist: What to Do Before You Move a Single MailboxMay 19, 2026 - 2:00 pm
  • Super-ExMerge (SXM)
    What Is Super-ExMerge and Why Do IT Teams Still Need It in 2026?May 12, 2026 - 2:00 pm
  • Priasoft Migration Suite for Exchange (PMSE)
    Exchange 2019 Patches Just Ended. Here Is What IT Teams Need to Do This Month.May 5, 2026 - 2:00 pm

Archives

Categories

  • Compliance
  • eDiscovery
  • Guide
  • How to
  • Microsoft 365
  • News
  • Outlook PST
  • Press Release
  • PST Data Management
  • Public Folders
  • Security
  • Technical

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