Hi, error 399287 means Microsoft has blocked your SMS/phone MFA method via its PhoneReputation system, so the portal won’t send/accept texts for that number, even if it’s yours and the password is correct. It isn’t something you can “fix” on the device; you need to sign in with a different method or have the number unblocked.
Do this, in order: use “Sign in another way” and pick Microsoft Authenticator (the 6-digit code, or passwordless/number-match) or a FIDO2/passkey if you have one; if you can’t get in at all, ask a tenant Global Admin to issue you a Temporary Access Pass (TAP) or to reset your MFA methods so you can re-register Authenticator on your phone; when you’re back in, set Authenticator code as your default and keep SMS only as a backup.
In parallel, open a Microsoft support ticket to request removal of the phone-number block, include the Request ID, Correlation ID, and Timestamp you posted (these let engineering find the event quickly).