Reach the main text directly
HelpdeskDen

Change a 2FA method: 3 vendor limits compared

By
HelpdeskDen Editorial Team
Posted
Sources checked
Length
9 min read

GitHub lets you change 2FA without disabling it; Google may take 7 days to trust a new number; Microsoft caps secret keys at 128 characters.

Key takeaways

  • GitHub Docs allows you to configure a different authenticator app or change your phone number without disabling 2FA or creating new recovery codes. Changes take effect only after you provide a valid code from the new method and click Save. GitHub Docs
  • Google Account Help notes that adding a phone number for 2-Step Verification may take up to 7 days for Google to trust the number. If a number is disabled, you have 30 days to confirm you added it. Google Account Help
  • Microsoft Learn states that secret keys are limited to 128 characters, which might not be compatible with every setup. This limit applies specifically to Microsoft Entra multifactor authentication settings. Microsoft Learn

Change 2FA method: the short answer

The core constraint for GitHub is that you do not need to disable two-factor authentication or generate a new set of recovery codes when swapping methods. This approach keeps your current security posture intact while allowing you to update the specific device or application used for verification. The process is designed to be a direct replacement rather than a reset of your entire two-factor authentication system. You avoid the administrative overhead associated with turning off and then re-enabling this security layer. You simply update the active method to the new authenticator app or phone number. This distinction is important for maintaining continuous access without introducing gaps in your account protection. The vendor's help page outlines this as a standard configuration task. It treats the method change as an update to your preferred verification channel. You retain control over which device or app handles the second step of sign-in. The system accepts the new method once you complete the necessary verification steps. Your account remains protected by two-factor authentication throughout the entire procedure. The guidance emphasizes that this is a seamless swap between compatible verification tools. You should verify that the new method is functional before removing the old one from your devices. This ensures that your staff member has immediate access to the updated sign-in process. The documentation supports this workflow for both authenticator apps and SMS-based phone numbers.

How the three help pages were compared

This comparison looks at what each vendor's help page says you can change and what limits apply. The scope is limited to documented settings for swapping a second sign-in step, such as moving from one authenticator app to another or updating a phone number. No ranking of security or ease is provided. Each section below sticks to the specific rules written in the publisher's own documentation.

GitHub: change methods without disabling 2FA

You can swap the authenticator app or phone number linked to a GitHub account without turning off two-factor authentication. According to GitHub Docs, you may change the time-based one-time password (TOTP) application used to generate authentication codes. The documentation specifies that changes to an existing method take effect only after providing a valid code from the new method and clicking Save. This step confirms the new device is active.

The order of operations matters for avoiding lockout. The source advises replacing the existing entry on your device, such as the GitHub item in your TOTP app, only after the new method is saved completely to the account. Keeping the old entry helps preserve access during the transition, and the code that finalizes the change comes from the new method. Keep the old method accessible until the new one is fully registered and verified through the save process.

If you have multiple active two-factor methods, you can designate a preferred method. This preferred option appears first when the system asks for authentication. Choosing a primary method helps streamline the sign-in process if a staff member uses both an authenticator app and a backup phone number. You do not need to disable other methods to set this preference; they remain available as fallbacks.

For a solo IT person moving a staff member’s second sign-in step, follow this sequence: 1. Add the new authenticator app or phone number to the account. 2. Generate a code from the new method. 3. Enter the code and click Save to activate it. 4. Verify the new method works by signing out and back in. 5. Remove the old entry from the staff member’s device only after confirming the new method is stable.

See MFA rollout checklist: 7 checks before changing settings and MFA requirements for 3 office tools: Entra, GitHub, S3 before you change a shared sign-in step.

Google: new phone numbers and the trust delay

When you add a phone number for 2-Step Verification, it may take up to 7 days for Google to trust the phone number, according to Google Account Help. This waiting period applies specifically to newly added numbers in this service. If you have a trusted passkey or security key, you may be able to speed up the process for Google to trust your new 2-Step Verification phone number. The presence of these other verification methods can shorten the initial trust window for the phone number.

If we detect something suspicious about a new 2SV phone number, we will disable it and notify you. In that case, if no action is taken in response, we will then delete the suspicious 2SV phone number from your account. The number is already disabled, and you have 30 days to confirm you added it to prevent deletion.

A tip from the same source notes that although any form of 2-Step Verification adds account security, verification codes sent by texts or calls can be vulnerable to phone number-based hacks. This warning highlights a specific risk associated with using SMS or voice calls as the second factor. When moving a staff member’s sign-in step to a new phone, consider whether an authenticator app or hardware key might offer more stability than a text-based code, given the potential for phone-number-based attacks mentioned in the documentation.

To manage this transition, check if the user has a trusted passkey or security key available to potentially reduce the wait time. If not, plan for the full seven-day window before relying solely on the new number for critical access. Ensure the staff member knows how to respond to notifications if Google disables the number due to suspicion, so they can act quickly to prevent deletion.

Microsoft limits, and which tool fits which situation

The secret key in Configure Microsoft Entra multifactor authentication is limited to 128 characters, a restriction that might not be compatible with every setup Microsoft Learn. This character count applies specifically to the secret key configuration within this service. The allowed characters for this key are restricted to lowercase letters a-z, uppercase letters A-Z, and digits 1-7. These formatting rules define the valid input for the setup described on the page. If your staff member uses a custom voice message for their sign-in step, note that custom voice messages in Microsoft Entra voice call authentication will be retired on February 28, 2026. Review configurations against that retirement date.

Authentication messages should be shorter than 20 seconds according to the same documentation. Additionally, legacy features were removed on March 1, 2025. If you are maintaining older configurations, verify they do not rely on these discontinued elements. Each platform operates under its own documented rules.

When deciding which tool fits your office’s needs, consider how these specific limits interact with your current workflow. For example, if a team member relies on a long, complex voice prompt, the retirement date requires immediate attention. Check whether the relevant secret key fits the documented characters a-z, A-Z, and digits 1-7. Do not assume these Microsoft-specific restrictions apply to GitHub or Google services, as their help pages detail different processes and constraints.

Reference table: 2FA method changes by publisher

The following table summarizes the specific constraints documented for each platform. Each row lists a distinct limit or rule found in the vendor's official help documentation, ensuring that the data reflects only what those sources explicitly state about changing authentication methods.

Publisher Primary Limit or Rule Source Document
GitHub Docs You can configure a different authenticator app or change your phone number, without disabling 2FA or creating a new set of recovery codes. GitHub Docs
Google Account Help If you add a phone number for 2-Step Verification, it may take up to 7 days for Google to trust the phone number. Google Account Help
Microsoft Learn Secret keys are limited to 128 characters. Microsoft Learn

Use this table to quickly identify the primary constraint for each tool during setup.

Illustrative example: one office week

In one week, 3 people change a second sign-in step. The first adds a phone number and waits 7 days before treating it as trusted. The second finds a number disabled and uses all 30 days to confirm it was added. The third keeps each authentication message shorter than 20 seconds.

Action step: Check if your staff use GitHub, Google, or Microsoft for sign-in. Open each vendor’s help page to note these specific limits before moving a second sign-in step.

FAQ: changing a 2FA method

How do I change a 2FA method without losing access?

According to GitHub Docs, you can configure a different authenticator app or change your phone number. This process happens without disabling 2FA or creating a new set of recovery codes. You must provide a valid code from the new method before saving the change. Changes take effect only after that valid code is provided and Save is clicked. Replace the old entry in your app only after the new method is fully saved, and choose a preferred method if you have several.

Can I add a new phone number to Google 2-Step Verification right away?

Google Account Help states that adding a phone number for 2-Step Verification may take up to 7 days for Google to trust the phone number. You should not assume immediate availability for sign-in verification.

How long does Google take to trust a new 2SV phone number?

The maximum wait time is 7 days, as noted by Google Account Help. If you have a trusted passkey or security key, it may speed up the trust process. A disabled number also has a 30-day window for confirmation. Plan your staff’s transition around these specific timing rules.

Does the Microsoft Entra secret-key length apply to my authenticator app?

Check whether the relevant secret key fits this maximum length. Microsoft Learn notes that secret keys are limited to 128 characters. This limit might not be compatible with all setups. Do not assume universal compatibility across all third-party apps.

Which tool is best for changing a 2FA method?

Each vendor documents its own specific limits and processes. Choose the tool based on which platform your staff members use for sign-in. List the tools used by your team and note each vendor’s documented constraints beside them.

Sources