JS taught that Adam and the Archangel Michael are the same person. D&C 27:11.
Brigham Young taught that Adam was a resurrected and exalted human who came to form earth as Michael. Then settled with one of his wives he brought with him, as Adam andEve. After becoming mortal again by eating the forbidden fruit, Adam and Eve started a family and thus the human race. Adam and Eve then returned to their planet, which is the throne of heaven, where Adam rules the earth as Heavenly Father.
Some later Mormon prophets and apostles accepted the Adam/God doctrine, and continued to teach it. Others viewed it as shocking and rejected it. Orson Pratt published against it, for which Young censored his paper, “The Seer”, and banned its publication. Eventually, the LDS Church took on Pratt’s counter teachings as doctrine and today they call Young’s teachings on this subject , “opinion”.
Yet interesting enough, Pratt’s writings that modern Mormons disagree with, they will cite Young’s censorship of “The Seer” as evidence that Pratt should be disregarded! One of the more humorous Mormon history conundrums, IMO.