If you use a Yubikey for MFA for your Apple Id: it failed for me during the install of a new Mac (rejected the correct PIN), so I opted to setup later. When I did so, MacOS raised an error about the Yubikey being a keyboard, so I resolved that first, then was able to setup Apple Id. 🤷🏼‍♂️