For personal Microsoft accounts, Microsoft now says you can no longer add a phone number as a new security method. This method is being phased out. See official document here.
I am afraid you will have to use the other options offered, such as email, authenticator app and passkey.