Question

Our Active directory will change the accounts name for example John Doe Jdoe@abcd.com to John.Doe@abcd.com.

My question is do I need to change all the SQL Logins individually or the person can login to SQL server management studio with their old names. What also happens if the login is an owner of a database or job.

Was it helpful?

Solution

SQL Server stores Active Directory accounts using a unique identifier generated by Active Directory. The unique identifier is generated when the object is created in Active Directory, and never changes.

This means you can change things like the user name, first name, last name, and any other Active Directory attribute for the user, without the need to even touch SQL Server or SSMS in any way.

In other words, you can change their account name in AD, and not worry about SQL Server at all.

Licensed under: CC-BY-SA with attribution
Not affiliated with dba.stackexchange
scroll top