Auditing Microsoft Entra ID Authentication in SQL Server
Find Microsoft Entra ID logins and users in SQL Server 2022 and later from T-SQL, and learn which Entra settings only the Azure portal or CLI can show.
Finding Unencrypted SQL Server Connections, and the Instances That Accept Them
Use sys.dm_exec_connections to list SQL Server sessions that aren’t encrypted, check Force Encryption, and see how driver defaults changed.
Reading the SQL Server Error Log Without sysadmin
SQL Server 2022 added VIEW ANY ERROR LOG. I tested the newer permission against sp_readerrorlog and sp_enumerrorlogs.
Can You Delete That Certificate? The Store Will Not Tell You.
There is a certificate in LocalMachine\My on one of your SQL Servers. Nobody knows what it is for. The subject is unhelpful, it was issued before you started, and the person who installed it has…