Job to remove logins on secondary replica that don't exist in primary replica How to remove logins on a secondary replica that don't exist in primary replica?
I want to create automated jobs that should check if the login still exists on a secondary after the login on the primary dropped. I want to drop this login on the secondary replica.
You can create a linked server to the primary and write an Agent job that compares the logins on both servers.