These steps detail how to partially hide the mobile numbers or email addresses of users on MFA pages.
Log into the ADSelfService Plus portal using admin credentials.
Navigate to Configuration > Self-Service > Multi-Factor Authentication.
From the drop-down, choose the policy on which to apply this setting and click Advanced > Verification code.
Under Others, enable the Partially hide Email ID/Mobile No. on MFA pages checkbox.