Windows 11's default setup asks you to use a Microsoft account. This happens during installation or the initial setup.