Skip to content

fix: retain licences when offboarding transfers fail (#3)#8

Open
Gavin-X wants to merge 2 commits into
PaulOgier:mainfrom
Gavin-X:main
Open

fix: retain licences when offboarding transfers fail (#3)#8
Gavin-X wants to merge 2 commits into
PaulOgier:mainfrom
Gavin-X:main

Conversation

@Gavin-X

@Gavin-X Gavin-X commented Jul 13, 2026

Copy link
Copy Markdown
  • Failed Drive/email backups now block licence removal.
  • Failed Drive, email, alias or calendar transfers block licence removal.
  • Final suspension still runs to secure the account.
  • Licences remain assigned so failed operations can be retried.
  • Added an explicit override: --continue-on-transfer-error

Closes #3

Gavin-X added 2 commits July 14, 2026 00:00
- Failed Drive/email backups now block licence removal.
- Failed Drive, email, alias or calendar transfers block licence removal.
- Final suspension still runs to secure the account.
- Licences remain assigned so failed operations can be retried.
- Added an explicit override: --continue-on-transfer-error

Closes PaulOgier#3
The script now rejects matching source and destination accounts for:

- Drive transfers
- Email migrations
- Alias transfers
- Calendar transfers
- Email forwarding

Comparisons are case-insensitive and ignore surrounding whitespace. CLI destinations fail during preflight before account changes; interactive destinations are blocked inside their respective operations.

Closes PaulOgier#4
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

Successfully merging this pull request may close these issues.

Google Workspace offboarding script - Failed transfers do not stop licence removal and suspension

1 participant