π‘οΈ Azure SQL Server Microsoft Entra authentication is not configuredπ’
- Contextual name: π‘οΈ Server Microsoft Entra authentication is not configuredπ’
- ID:
/ce/ca/azure/sql-database/server-microsoft-entra-authentication - Tags:
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
SECURITY
Statsβ
not available
Logicβ
- π§ prod.logic.yamlπ’
Similar Policiesβ
- Cloud Conformity: Enable Transparent Data Encryption for SQL Databases
- Internal:
dec-x-2fcb6d85
Similar Internal Rulesβ
| Rule | Policies | Flags |
|---|---|---|
| βοΈ dec-x-2fcb6d85 | 2 |
Descriptionβ
Descriptionβ
Use Microsoft Entra authentication to manage SQL Database 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.
... see more
Remediationβ
Remediationβ
From Azure Portalβ
- Go to
SQL servers.- For each SQL server, under
Settings, clickMicrosoft Entra admin.- Click on
Set admin.- Select an admin.
- Click
Select.- Click
Save.From Azure CLIβ
az ad user show --id {{user-principal-id}}For each Server, set AD Admin:
az sql server ad-admin create \
--resource-group {{resource-group-name}} \
--server {{server-name}} \
--display-name {{display-name}} \
--object-id {{object-id}}From PowerShellβ
For each Server, set Entra ID Admin:
Set-AzSqlServerActiveDirectoryAdministrator `
-ResourceGroupName {{resource-group-name}} `
-ServerName {{server-name}} `
-DisplayName "{{display-name}}"