Not at all. Authenticator apps like Google Authenticator or Microsoft Authenticator generate codes locally on your phone and don’t rely on your mobile network for daily operation. The SIM and network type mainly affect receiving SMS-based codes, so as long as you’re not switching phone numbers, your app-generated codes will continue to work normally.
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin