OutlookRegister automates Outlook and Hotmail sign-up and can collect Microsoft Graph OAuth2 refresh tokens using browser automation.
Overview
OutlookRegister drives registration flows for Outlook-branded mail domains through automated browsers built on patchright. Operators configure proxies, concurrency, and task limits in JSON, then run the main script to batch-create accounts and optionally harvest OAuth tokens into result files.
The tool handles captcha strategies from fully automatic to manual hand-off, concurrent workers across a proxy pool, and batch success limits that reset in-process proxy weighting between rounds. OAuth logic covers intermediate Microsoft pages such as account type choosers, protection prompts, consent, and KMSI dismissal, with cookie-first token exchange and fallback browser state when needed.
Optional recovery-email binding integrates with a configurable temporary-mail API when Microsoft asks to protect an account. Successful token runs append to a results file while structured logs land under a log directory; interrupting with Ctrl+C writes a summary and closes browser profiles cleanly.
Configuration separates mail suffix choice, headless mode, pacing, captcha retries, Graph client ID and scopes, and detailed proxy modes ranging from single ports to ranges with per-port reuse caps.
Key features
- Batch Outlook or Hotmail registration
- Microsoft Graph OAuth2 token capture
- Concurrent multi-proxy workers
- Configurable captcha strategies
- Optional temp-mail recovery binding
- Cookie-first OAuth with fallback
- Interrupt-safe logging and cleanup
- JSON-driven runtime configuration
Use cases
- Automated test account provisioning
- Collecting refresh tokens at scale
- Proxy-rotated registration batches
- Semi-manual captcha workflows