Registry / devops / auth0-tenant-to-tenant-user-migration-tool

auth0-tenant-to-tenant-user-migration-tool

JSON →
library2.0.0jsnpmunverified

A Node.js CLI tool for migrating users and roles between Auth0 tenants. Current stable version is 2.0.0, released with interactive prompts using Inquirer. Key differentiators: supports role migration with fail-proof role creation/reuse, granular scope requirements, and global npm installation. Useful for Auth0 administrators performing tenant consolidation or environment migration.

npm install auth0-tenant-to-tenant-user-migration-tool
INSTALL
IMPORT
SIG · AUTH0-TENANT-TO-TE
A
auth0-tenant-to-tenant-user-migration-tool
devopsjavascriptv2.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CLI command
npx auth0-tenant-to-tenant-user-migration-tool migrate-users
Tool is used as a CLI, not as a library. Run commands directly.

Install the CLI globally and run the user migration command. Follow the interactive prompts to enter source and target Auth0 tenant credentials.

npm install -g auth0-tenant-to-tenant-user-migration-tool auth0-migration migrate-users
Debug
Known issues
gotchaEnsure source and destination Machine-to-Machine Applications have the exact scopes listed in the README or migration will fail.
fix
Review and grant scopes: read:connections, read:users, create:users, update:users, etc. as per the table.
affects: >=2.0.0
Errors
Common errors & fixes
Error: Insufficient scope for this operation
Missing required Auth0 Management API scopes on the Machine-to-Machine Application.
fix
Add the missing scopes (e.g., create:users) in the Auth0 dashboard for the destination tenant.
Upgrade
Version history
2.0.0latest on npm
Audit
Dependencies
inquirerrequiredInteractive CLI prompts for collecting credentials and options
Agent activity
9 hits · last 30 days
node
8
OpenAI (training)
1
Resources
auth0-tenant-to-tenant-user-migration-tool — npm install auth0-tenant-to-tenant-user-migration-tool · libregistry