You can only create a user with a password in a contained database
Create the login and the user separately: CREATE LOGIN MyUser WITH PASSWORD = ‘pass@123’; CREATE USER MyUser FOR LOGIN MyUser; The names can be the same but of course they can also be different.