Thanks for posting your question in the Microsoft Q&A forum. Please check the following articles:
Microsoft Authenticator app gives 8 digit code instead of required 6 for azure How do i get the authenticator to produce 6 digit codes instead of 8? - Microsoft Q&A ** Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful **