Identity security & governance for Microsoft SQL Server
Entra ID and Active Directory control SQL Server login, not what happens inside the database. Oleria maps server roles, database users, object permissions, and impersonation paths into a unified identity graph so you can pass SOX and SOC 2 audits without manual T-SQL queries.

Key Takeaways
- Microsoft Entra ID and Active Directory control SQL Server login but not what happens inside the database, where server roles, database users, and object-level permissions create a privilege surface that IGA tools built for directory governance cannot see or certify.
- Standing sysadmin and db_owner role assignments, SQL authentication accounts that bypass SSO entirely, and service accounts shared across applications create persistent over-privilege that persists undetected between annual audit cycles.
- Oleria maps SQL Server logins, server roles, database users, and object permissions into a unified identity security graph alongside audit log activity, extending governance past the directory into the database tier where financial and operational data actually lives.
- Continuous SQL Server access certification through Oleria identifies dormant accounts, excessive role assignments, and SQL-authenticated users operating outside identity provider controls, producing the evidence SOX and SOC 2 auditors require without manual privilege extracts.
This summary was created with AI and reviewed by an editor.
Ask AI to write a summary
Featured event: A CISO’s take
Join Jim Alkove and Ramy Houssaini to learn how forward-thinking security teams are addressing Enterprise AI Copilot risks.
Automate database privilege reviews, eliminate sysadmin over-privilege, and enforce continuous least privilege
Oleria's Microsoft SQL Server integration gives security teams one view of who can access SQL Server data, how they got that access, and whether they use it. It extends Microsoft SQL Server identity governance past the login, into server roles, database users and object permissions.
Oleria maps logins, roles and audit logs into a unified identity graph across self-managed and cloud-managed SQL Server. Teams pass audits without manual spreadsheet reviews.
Why is SQL Server access so hard to govern?
Microsoft Entra ID or Active Directory decide who can log in. Identity governance and administration (IGA) tools stop there, but inside SQL Server, privileges spread in ways directories cannot see.
- Too many all-powerful logins. Logins with the sysadmin role, or an active sa account, bypass every permission check.
- One login, many database users. Server logins mapped to different users across databases create entitlement webs that hide true access.
- Impersonation goes unseen. IMPERSONATE permissions and EXECUTE AS contexts let users run commands as higher-privileged accounts.
- Orphans and nested groups pile up. Nested Windows and Entra groups, plus database users with no active login, quietly accumulate permissions.
What Oleria shows you in SQL Server
How security teams use Oleria with SQL Server
- Pass SOX and SOC 2 access audits. Replace manual Transact-SQL (T-SQL) queries with audit-ready entitlement reports for Sarbanes-Oxley (SOX) and SOC 2.
- Cut sysadmin privilege. Find logins with sysadmin or CONTROL SERVER rights and downscope them to role-based access.
- Audit impersonation risk. Track indirect paths created by IMPERSONATE privileges, EXECUTE AS clauses and TRUSTWORTHY settings.
- Clean up dormant access. Use historical audit logs to flag inactive database users, orphaned logins and unused schema permissions.
How does Oleria connect to SQL Server?
Oleria connects with a dedicated connector account that holds minimal read-only permissions: VIEW ANY DEFINITION, VIEW ANY DATABASE and VIEW SERVER STATE. Oleria never needs sysadmin rights.
Microsoft SQL Server identity governance FAQs
What is Microsoft SQL Server identity governance?
Microsoft SQL Server identity governance is the continuous process of discovering, auditing and managing logins, database users, server roles and object permissions. The goal is least privilege and compliance readiness. Oleria automates SQL Server identity governance by mapping logins, permissions and SQL Server Audit logs into one identity graph.
Does Oleria need sysadmin rights to audit SQL Server?
No. Oleria audits SQL Server with a dedicated connector account that has minimal read-only permissions: VIEW ANY DEFINITION, VIEW ANY DATABASE and VIEW SERVER STATE. Oleria discovers logins, roles and permissions securely without sysadmin privileges, so the connector never becomes an over-privileged account.
How does Oleria find over-privileged SQL Server accounts?
Oleria finds over-privileged SQL Server accounts by continuously evaluating assigned server and database roles alongside real-time SQL Server Audit logs. Oleria then identifies accounts holding administrative or table-level permissions they do not actively use, and flags enabled sa accounts and sysadmin sprawl as risks.
Which SQL Server deployments does Oleria support?
Oleria supports self-managed Microsoft SQL Server and Azure SQL Database. Oleria also supports Azure SQL Managed Instance, AWS RDS for SQL Server and Google Cloud SQL for SQL Server. Security teams can govern SQL Server access across these environments in one Oleria identity graph.
How do you run SQL Server access reviews for SOX and SOC 2?
Oleria runs SQL Server access reviews from automated, audit-ready entitlement reports that map every user and group to their exact database rights. These Oleria reports replace manual T-SQL queries and spreadsheets, giving SOX and SOC 2 auditors a clear record of SQL Server access.
See every login that can reach your SQL Server data, and remove the privilege nobody uses. Book a demo.


