sql server instance A and SQL server instance B under the same domain
We don't use sql logins.Only windows domain users/group.
When copy database AA from SQL server A to SQL server B,
do I need to worry about orphaned users(logins on A mapped database AA but the logins not on sql server B)?
If yes, any automatic t-sql to fix this orphaned issue? Need to include it in the sql server agent job.
sql server version is 2017.