May depend on what exactly you mean by "rebuild"
It means I did a clean install of windows 11. Defender is part of Microsoft Office Family, so when I signed into that, Defender showed 3 accounts protected??? I signed out of 2, then none were protected. I need to sign back into defender.