How can I change User email's in a sandbox back to their production email in bulk?

e.g. [email protected] to [email protected]

We have several hundred users and would like to refresh the sandbox monthly. We use SAML single sign-on so passwords are not important. We have automated processes using the email, so even if the user doesn't login it is useful to have the correct email address.

Can Apex mimic changing the email + generate new password?

  • Changing the email via Apex doesn't work - or more specifically it sends a confirmation email and waits for user to accept.
    – Brian Low
    Aug 15, 2018 at 6:13

1 Answer 1


This help article should help you : https://help.salesforce.com/articleView?id=Disabling-Email-Change-Verification&language=en_US&type=1

A System administrator or any designated contact needs to open a case with salesforce support.

Hope this helps.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .