| name | cis-azure-database-9.5 |
| description | Ensure that Microsoft Entra authentication is Configured for SQL Servers |
| category | cis-azure-database |
| version | 2.0.0 |
| author | cyberstrike-official |
| tags | ["cis","azure","sql-database","sql-server"] |
| cis_id | 9.5 |
| cis_benchmark | CIS Microsoft Azure Database Services Benchmark v2.0.0 |
| tech_stack | ["azure"] |
| cwe_ids | [] |
| chains_with | [] |
| prerequisites | [] |
| severity_boost | {} |
9.5 Ensure that Microsoft Entra authentication is Configured for SQL Servers (Automated)
Profile Applicability
Description
Use Microsoft Entra authentication for authentication with SQL Database to manage credentials in a single place.
Rationale
Microsoft Entra authentication is a mechanism to connect to Microsoft Azure SQL Database and SQL Data Warehouse by using identities in the Microsoft Entra ID directory. With Entra ID authentication, identities of database users and other Microsoft services can be managed in one central location. Central ID management provides a single place to manage database users and simplifies permission management.
- It provides an alternative to SQL Server authentication.
- Helps stop the proliferation of user identities across database servers.
- Allows password rotation in a single place.
- Customers can manage database permissions using external (Entra ID) groups.
- It can eliminate storing passwords by enabling integrated Windows authentication and other forms of authentication supported by Microsoft Entra.
- Entra ID authentication uses contained database users to authenticate identities at the database level.
- Entra ID supports token-based authentication for applications connecting to SQL Database.
- Entra ID authentication supports ADFS (domain federation) or native user/password authentication for a local Active Directory without domain synchronization.
- Entra ID supports connections from SQL Server Management Studio that use Active Directory Universal Authentication, which includes Multi-Factor Authentication (MFA). MFA includes strong authentication with a range of easy verification options -- phone call, text message, smart cards with pin, or mobile app notification.
Impact
This will create administrative overhead with user account and permission management. For further security on these administrative accounts, you may want to consider licensing which supports features like Multi Factor Authentication.
Audit Procedure
Audit from Azure Portal
- Go to
SQL servers.
- For each SQL server, click on
Microsoft Entra admin under the Settings section.
- Ensure that a value has been set for
Admin Name under the Microsoft Entra admin section.
Audit from Azure CLI
To list SQL Server Admins on a specific server:
az sql server ad-admin list --resource-group <resource-group> --server <server>
Audit from PowerShell
Print a list of all SQL Servers to find which one you want to audit: