How to validate DB Users/logins across Availability Group by script
You can use this addin (AG Addin) for SMSS, it copies:


User-defined Server Roles
Server Logins and Permissions
Linked Servers
SQL Server Agent Operators
SQL Server Agent Alerts
SQL Server Agent Jobs