Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprovision fails to delete backup codes. #240

Closed
elliotnev27 opened this issue Feb 10, 2022 · 3 comments
Closed

Deprovision fails to delete backup codes. #240

elliotnev27 opened this issue Feb 10, 2022 · 3 comments

Comments

@elliotnev27
Copy link

I tried running gam user john.doe@domain.com deprovision but it fails.

Output:

Getting Application Specific Password IDs for john.doe@domain.com
User: john.doe@domain.com, Deprovision 0 Application Specific Password IDs
Getting Backup Verification Codes for john.doe@domain.com
User: john.doe@domain.com, Deprovision 10 Backup Verification Codes
User: john.doe@domain.com, Backup Verification Codes Deprovision Failed: Invalid Input
Getting Access Tokens for john.doe@domain.com
User: john.doe@domain.com, Deprovision 0 Access Tokens
User: john.doe@domain.com, Deprovisioned

User: john.doe@domain.com, Backup Verification Codes Deprovision Failed: Invalid Input seems to be the relevant part of the error.

@taers232c
Copy link
Owner

taers232c commented Feb 10, 2022 via email

@taers232c
Copy link
Owner

The call fails if the user is suspended.

Ross

@taers232c
Copy link
Owner

6.15.16

Updated gam <UserTypeEntity> deprovision and gam <UserTypeEntity> delete|update backupcodes
to give a more informative error message when a user is suspended and backup codes can't be deleted|updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants