The app signs in as itself with its client secret (client credentials, scope .default) and reads the mailbox --user names, so a whole tenant moves in a plan with no one signing in. --app-only needs --user and a real tenant, and reads $INBUXA_MIGRATE_CLIENT_SECRET or prompts. The token has no refresh token; the refresher signs in again before it runs out. Token requests share one retrying helper with refresh. A plan's clientSecret now also sets INBUXA_MIGRATE_CLIENT_SECRET, so it reaches Graph as well as EWS.