function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sesha boddapatisesha boddapati 

LOGIN Error for New Sandbox

Hi, Just Now i created a sanbox like "devEnv" using Username like ******vmjf@force.com. I am try to login that sandbox it shows  ******vmjf@force.com.devenv this username i gave !st username credentials it shows error credenials
Khan AnasKhan Anas (Salesforce Developers) 
Hi Sesha,

Greetings to you!

According to Salesforce Knowledge Article: https://help.salesforce.com/articleView?id=000329533&type=1&mode=1 (https://help.salesforce.com/articleView?id=000329533&type=1&mode=1)

If you get a 'Incorrect username and password' error when you log in to a Sandbox environment, make sure you're using the correct password for your instances (cs1, cs2, etc.). Keep in mind that usernames and passwords may differ after a Sandbox is refreshed. 

For username conventions in Sandbox, see the Users and Contacts section of our Sandbox Setup Tips and Considerations (https://help.salesforce.com/articleView?id=data_sandbox_implementation_tips.htm&type=5) documentation for more details.

If you're using the correct username and password for your Sandbox instance, these issues could be preventing you from logging in.

Login troubleshooting steps

Old Login Information is Saved
If your web browser has saved your login information from before the last Sandbox refresh, your login attempts will likely fail. Clear your browser's cache, cookies, and saved passwords, then restart your browser to make sure that all old login information is deleted.
If you're still not able to log in, continue with these troubleshooting steps.

The URL is incorrect
There are instances where the generic login URL for Sandboxes (http://test.salesforce.com) should specify the instance where your Sandbox resides.

Find your instance in the "Location" column:
  • Go to Setup | Sandboxes or Data Management | Sandboxes.
If you continue to experience login issues, change the login URL for the Sandbox from http://test.salesforce.com to http://csX.salesforce.com (where: csX represents your Sandbox instance, like cs1, cs2, cs3).

My Domain Settings
If the sandbox org has My Domain enabled and you have the "Login Policy" set to "Prevent login from https://test.salesforce.com", then users would need to use the My Domain URL to log in, such as https://[MyDomain]--[SandboxName].csx.my.salesforce.com

The System Administrator can alternatively disable Prevent login from https://test.salesforce.com by navigating to:
  • Classic: Setup | Administer | Domain Management | My Domain |My Domain Settings [Edit | Uncheck Prevent login from.... | Save ]
  • Lightning: Setup | Company Settings | My Domain My Domain Settings [Edit | Uncheck Prevent login from.... | Save ]

Additional information about logins
Also, note that your sandbox email addresses are appended with an example domain (@example.com) and the original @ sign is replaced with =. If you are resetting the password, you might want to make sure your email address is updated first. In order to change email address, please work with your system administrator.

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas
Matt SardiMatt Sardi
This answer is no longer correct.  Clearly, there is a bug with salesforce preventing admin login to new sandboxes.