← Guides

A Google Workspace user lost their phone and is locked out: how to get them back in

October 26, 2026 · 5 min read

A user messages you from a borrowed laptop: their phone is lost, broken or replaced, and Google keeps asking for a 2-Step Verification (2SV) prompt they can't approve. As an admin you can get them in with a set of one-time backup verification codes. If the phone was lost rather than just broken, there are a few security steps worth doing at the same time.

1. Generate backup codes in the Admin console

In the Admin console open Directory → Users, click the user, then open the Security section and choose 2-step verification. There is a Get backup verification codes option (the labels shift as the console changes). Google shows ten single-use codes. Send them to the user over a channel you trust, such as a call or in person, rather than by email to the mailbox they can't reach. Each code works once, and generating a new set invalidates the previous one.

The user signs in with their password, picks Try another way and enters a backup code. Then they should immediately add a new second factor in their Google Account's security settings, such as a passkey, a security key or the authenticator on their new phone.

2. The same thing through the Directory API

The Admin SDK Directory API exposes this as verificationCodes. Generating codes is a POST, and listing the current set is a GET. It needs the admin.directory.user.security scope:

POST https://admin.googleapis.com/admin/directory/v1/users/jane@example.com/verificationCodes/generate
GET  https://admin.googleapis.com/admin/directory/v1/users/jane@example.com/verificationCodes
POST https://admin.googleapis.com/admin/directory/v1/users/jane@example.com/verificationCodes/invalidate

The last call invalidates every outstanding code, which is useful once the user has set up a new factor and you want to be sure no spare codes are lying around.

3. If the phone was lost or stolen, do more than issue codes

A lost phone is usually still signed in to the user's Google account. Before or right after you let them back in:

  • Sign them out of all sessions (Security → Sign out, or GAM: gam user jane@example.com signout) so the lost phone and any other device has to authenticate again.
  • Reset the password if there is any chance it was stored on the phone or the phone was unlocked.
  • Check the devices the user has: under Devices → Mobile & endpoints you can block or wipe a managed device if your policy covers it.
  • Look at recent sign-ins in the Admin console's login audit log for anything you don't recognise after the phone went missing.

Signing out after you issue backup codes means the user has to use a code for their very next sign-in, so tell them to have it ready.

Doing it from the menu bar

Rollcall puts these steps next to each other in one place on your Mac. Search for the user and open their detail view: Backup codes generates ten new 2SV codes (previous ones stop working), shows them in a sheet and copies them to your clipboard; Reset password creates a random password with a forced change at next sign-in; Sign out all sessions ends every web and device session. The same view lists the user's mobile devices, with options to block or wipe, the apps they have granted access to, and their recent sign-in activity. Every action asks you to confirm first.

Rollcall talks directly to Google's Admin SDK using an OAuth client ID you create in your own Google Cloud project, so nothing passes through our servers. Searching users and viewing their details is free; the actions, including backup codes, are part of Rollcall Pro, which you can try for 7 days.

Google and Google Workspace are trademarks of Google LLC. Rollcall is an independent app and isn't affiliated with or endorsed by Google. See also Google's verificationCodes reference.