SV-276248r1150096_rule
V-276248
SRG-APP-000177-DB-000069
MSQL-00-008500
CAT II
10
To set the Entra ID Administrator, use the following PowerShell command:
Get-AzSqlInstance -Name '<Azure SQL Managed Instance Name>' | Set-AzSqlInstanceActiveDirectoryAdministrator -DisplayName '<Entra Admin User/Group Name>'
To enable Entra ID only authentication, use the following PowerShell command:
Get-AzSqlInstance -Name '<Azure SQL Managed Instance Name>' | Enable-AzSqlInstanceActiveDirectoryOnlyAuthentication
Reference: https://learn.microsoft.com/en-us/azure/azure-sql/database/authentication-aad-configure?view=azuresql-mi&tabs=azure-powershell
Determine if Azure SQL Managed Instance is configured to use Microsoft Entra ID authentication only.
To verify Azure Active Directory is configured as the authentication type, use the following PowerShell commands:
Get-AzSqlInstance -Name '<Azure SQL Managed Instance Name>' | Get-AzSqlInstanceActiveDirectoryOnlyAuthentication
If AzureADOnlyAuthentication returns "True", this is not a finding.
If AzureADOnlyAuthentication returns "False" and the need for mixed mode authentication has not been documented and approved, this is a finding.
V-276248
False
MSQL-00-008500
Determine if Azure SQL Managed Instance is configured to use Microsoft Entra ID authentication only.
To verify Azure Active Directory is configured as the authentication type, use the following PowerShell commands:
Get-AzSqlInstance -Name '<Azure SQL Managed Instance Name>' | Get-AzSqlInstanceActiveDirectoryOnlyAuthentication
If AzureADOnlyAuthentication returns "True", this is not a finding.
If AzureADOnlyAuthentication returns "False" and the need for mixed mode authentication has not been documented and approved, this is a finding.
M
5711