Skip to content

hardis:org:user:activateinvalid

Description

Update sandbox users so their email is valid

Example: replaces toto@company.com.dev.invalid with toto@company.com.dev.invalid

See article below

Reactivate all the sandbox users with .invalid emails in 3 clicks

Parameters

Name Type Description Default Required Options
debug
-d
boolean Activate debug mode (more logs)
flags-dir option undefined
json boolean Format output as json.
profiles
-p
option Comma-separated list of profiles names that you want to reactive users assigned to and with a .invalid email
skipauth boolean Skip authentication check when a default username is required
target-org
-o
option undefined
websocket option Websocket host:port for VsCode SFDX Hardis UI integration

Examples

$ sf hardis:org:user:activateinvalid
$ sf hardis:org:user:activateinvalid --target-org myuser@myorg.com
$ sf hardis:org:user:activateinvalid --profiles 'System Administrator,MyCustomProfile' --target-org myuser@myorg.com