What's the biggest cause of a failed CMS migration?

An incomplete redirect map. Specifically, URLs that earned backlinks years ago, aren't in the current sitemap, but still drive referral traffic and link equity. A crawl of the live site catches the obvious ones. A backlink export from Ahrefs, Semrush, or Search Console catches the rest.