ex-Microsoft, this is not necessarily true.
Managers I knew see changing <2yrs in as not great. Then again, switching orgs is essentially changing companies without a different Company name. Companies that hire >10k engineers cannot be a monoculture imo. In MS, different orgs might as well have been different companies - none of the orgs trusted the other org's hiring standards and made internal candidates go through full interview loops.
Microsoft I heard recommended workers career changes regularly (18m - 3y) within the org for this reason.