Hi,
I get how annoying it is when you can't get into your Microsoft account and the usual fixes aren't doing the trick. If Yahoo isn't getting your emails or your phone isn't verifying, it's probably because Microsoft messages are stuck, slow to arrive, or something's off with your recovery info.
Here's what you can do
First, peek in your Yahoo spam or junk folder and be sure Microsoft addresses (like account.microsoft.com and microsoft.com) aren't blocked. Mark them as safe senders. If emails still don't show up, go to account.live.com and click “I don’t have any of these” when it asks about recovery. This kicks off a form where they ask about old passwords, recent emails, and stuff like Xbox or subscription details to make sure it's really you. It's the best bet when emails and texts fail.
Also, if you have another device logged in that you trust, you can OK the sign-in from there. Plus, if you’re using the Microsoft Authenticator app, try that, since it can skip the whole email and text thing.
I hope this helps.
Best Regards,
Noel