To update your security information
To change how you verify who you are, go to Manage your security info. Note that any security info you provide does not have to belong to you, but you do have to have access to it.
I don't have access to the account verification phone number or email
If you no longer have access to any of the account verification options on your account, read get help with the Microsoft account recovery form.
I'm not getting security codes
Check your phone is not blocking texts from unknown numbers.
Check your junk email folder for a message from accountprotection.microsoft.com