This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
sf org create user
does not roll back on error if permset mentioned in definition file is non-existent
#2885
Labels
investigating
We're actively investigating this issue
validated
Version information for this issue has been validated
Summary
When I run the command
sf org create user
with a --definition-file
parameter which points to a non-existent permission set, the user is created and returns an error. It should not create the user.Steps To Reproduce
config.json
file with contents :myscratchorg
sf org create user --target-org myscratchorg --definition-file config.json
Expected result
An error should be returned, and the user should not be created
Actual result
We get a "partial success" :
System Information
Additional information
The text was updated successfully, but these errors were encountered: