In Salesforce, when I create a user via their REST API, no activation email is sent. There's also no ability to specify a password when the new user is created, which means the user cannot login. This also means the user can't verify their email at the same time as activating.
Is there a way to ensure an activation email gets sent to new SFDC users when they're created via API?
The Salesforce developer documentation is pretty lacking in this regard, so I'm not sure if I'm overlooking something.
The only two "solutions" I've come across are:
- A SFDC admin has to manually press the "reset password" button for the user.
- You need to make a second API call after the user is created, but this time to reset the password to whatever you want. Then I could set up a Flow to send an email to the user telling them what their initial password is. The problem with this approach is that the user's email is still unverified.
Tried adding a new user via API but no activation email was sent. Was expecting one to be sent.