STIGhubSTIGhub
STIGsRMF ControlsCompare
STIGhub— A free STIG search and compliance tool·STIGs updated 3 days ago
Powered by Pylon·Privacy·Terms·© 2026 Beacon Cloud Solutions, Inc.
← Back to Microsoft Azure SQL Managed Instance Security Technical Implementation Guide

V-276250

CAT II (Medium)

Azure SQL Managed Instance must separate user functionality (including user interface services) from database management functionality.

Rule ID

SV-276250r1150065_rule

STIG

Microsoft Azure SQL Managed Instance Security Technical Implementation Guide

Version

V1R1

CCIs

CCI-001082

Discussion

Information system management functionality includes functions necessary to administer databases, network components, workstations, or servers and typically requires privileged user access. The separation of user functionality from information system management functionality is either physical or logical and is accomplished by using different computers, different central processing units, different instances of the operating system, different network addresses, combinations of these methods, or other methods, as appropriate. An example of this type of separation is observed in web administrative interfaces that use separate authentication methods for users of any other information system resources. This may include isolating the administrative interface on a different domain and with additional access controls. If administrative functionality or information regarding Azure SQL Managed Instance management is presented on an interface available for users, information on Azure SQL Managed Instance settings may be inadvertently made available to the user.

Check Content

To validate Azure role-based access controls (RBAC) for a specific resource, use the PowerShell script below: 

$ManagedInstanceName = '<ManagedInstanceName>'
$SqlMI = Get-AzSqlInstance -Name $ManagedInstanceName
Get-AzRoleAssignment -Scope $SqlMI.Id | Select-Object DisplayName,SignInName,RoleDefinitionName,ObjectType
  
If a user not assigned information system management responsibilities has membership in any of the following roles, this is a finding: 

- SQL Managed Instance.
- Contributor. 
- SQL Security Manager. 
- SqlMI Migration Role. 
- User Access Administrator. 
- Owner. 
- Reader. 
- Role Based Access Control.
- Administrator.

Fix Text

To remove an Azure RBAC role assignment, use the Remove-AzRoleAssignment PowerShell command. Example command: 
  
$userPrincipalName =
'Fourth.Coffee@contoso.onmicrosoft.us' 
$RoleDefinitionName = 'SQL Managed Instance Contributor' 
$ResourceGroupName ='stigtestingrg' 
$ResourceName ='fourthcoffeemi' 
$userObjectId =(Get-AzAdUser -UserPrincipalName $userPrincipalName).Id 
$ResourceID =(Get-AzSqlInstance -ResourceGroupName $ResourceGroupName -Name $ManagedInstanceName).Id 

Remove-AzRoleAssignment -Scope $ResourceID -RoleDefinitionName $RoleDefinitionName -ObjectId $userObjectId