Test.login.salesforce

2.2K    Asked by ChrisEVANS in Salesforce , Asked on Apr 24, 2021

 I have created a new sandbox from production in my org. The sandbox is ready and when I am trying to login using test.salesforce.com, it says that it has sent a verification to the email address but that email address has *********.com.invalid at the end and I did not get any email with verification code. Can you please help me why this happens and please provide me a solution for login issue into my SandBox. How can i login using test.login.salesforce?Any help would be appreciated.

Answered by Cameron Oliver

This is from help documentation for Create a Sandbox:

When your sandbox is ready for use, you receive a notification email that your sandbox has completed copying. To access your sandbox, click the link in the notification email. Users can log in to the sandbox at https://test.salesforce.com by appending .sandbox_name to their Salesforce usernames. For example, if a username for a production org is user1@acme.com, and the sandbox is named test the modified username to log in to the sandbox is user1@acme.com.test. Salesforce automatically changes sandbox usernames, but not passwords. If you created the sandbox, then you should have received that email. If not, then check with the administrator who created the sandbox to reset your email in the new sandbox. User can login Salesforce sandbox through test.salesforce.com and by clicking login button. Login button is only displayed to system administrator. When Log in button is clicked, Salesforce.com will automatically redirects to Sandbox page. When we login Salesforce Sandbox we will find Sandbox name as shown above.



Your Answer

Answers (2)

This issue occurs because Salesforce appends .invalid to email addresses during the sandbox creation process to prevent emails from accidentally being sent from the sandbox to real recipients. This is standard behavior for sandbox environments to Geometry Dash ensure that test environments do not send emails to actual users.

4 Months

To resolve the login issue for your Salesforce sandbox, ensure you're using the correct sandbox username (username.sandboxname). If the email is invalid, ask the admin to update your sandbox email address or use the "Login" Drift Hunters button from the production org if you're an admin.

5 Months

Interviews

Parent Categories