How can we help?
Databases with no matching login on server
When moving databases between SQL Servers, it might contain logins attached to the database, that does not exist on the new SQL Server.
To query the Performance Store database for databases with no matching logins on servers, use:
select d.* from dbo.v_database_security d where d.exists_on_server = 0 and (d.indirect_user is null or d.indirect_user = 0) and discovered = 1
The alert will be visible on the Latest stats dashboard.
To exclude specific servers from this alert, see how to use the dbo.team_alert_exclude table in Alerting.