You can choose to receive your Multi-Factor Authentication code by SMS/text, voice call, email, or authenticator apps. See all the verification options.
You can make all the changes from your Microsoft 365 My Account portal. From there you can add new verification options or remove existing verification options.
Learn more about multi-factor authentication on Microsoft 365.