Thanks for posting your question in the Microsoft Q&A forum.
Did you check this article:
Common problems with two-step verification for a work or school account - Microsoft Support
** Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful **