Gallery › Synapse › Azure built-in policies
Synapse Workspaces should have Microsoft Entra-only authentication
Converted Initiative Version 1.0.0
Require Microsoft Entra-only authentication for Synapse Workspaces, disabling local authentication methods. This allows access exclusively via Microsoft Entra identities, enhancing security with modern authentication enhancements including MFA, SSO, and secret-less programmatic access with managed identities.
ConvertTo-Bylaw converted this initiative, and proved that the file compiles back to the same definition.
Azure Policy JSONWorkspaceAadOnlyAuthenticationEnforcement_Audit.json · 54 lines
{
"properties": {
"displayName": "Synapse Workspaces should have Microsoft Entra-only authentication",
"policyType": "BuiltIn",
"description": "Require Microsoft Entra-only authentication for Synapse Workspaces, disabling local authentication methods. This allows access exclusively via Microsoft Entra identities, enhancing security with modern authentication enhancements including MFA, SSO, and secret-less programmatic access with managed identities.",
"metadata": {
"version": "1.0.0",
"category": "Synapse"
},
"Version": "1.0.0",
"parameters": {
"effect": {
"type": "String",
"metadata": {
"displayName": "Effect",
"description": "Enable or disable the execution of the policy"
},
"allowedValues": [
"Audit",
"Deny",
"Disabled"
],
"defaultValue": "Audit"
}
},
"policyDefinitions": [
{
"policyDefinitionReferenceId": "SynapseWorkspaceCreationAadOnlyAuthentication",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/2158ddbe-fefa-408e-b43f-d4faef8ff3b8",
"definitionVersion": "1.*.*",
"parameters": {
"effect": {
"value": "[parameters('effect')]"
}
}
},
{
"policyDefinitionReferenceId": "SynapseWorkspaceDisableAadOnlyAuthentication",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/6ea81a52-5ca7-4575-9669-eaa910b7edf8",
"definitionVersion": "1.*.*",
"parameters": {
"effect": {
"value": "[parameters('effect')]"
}
}
}
],
"versions": [
"1.0.0"
]
},
"id": "/providers/Microsoft.Authorization/policySetDefinitions/1ee51566-9bb4-49da-b8d2-3c06991963eb",
"name": "1ee51566-9bb4-49da-b8d2-3c06991963eb"
}Bylaw1ee51566-9bb4-49da-b8d2-3c06991963eb.bylaw.ps1 · 36 lines
# Converted from WorkspaceAadOnlyAuthenticationEnforcement_Audit.json by ConvertTo-Bylaw.
Initiative '1ee51566-9bb4-49da-b8d2-3c06991963eb' {
Properties @{
DisplayName = 'Synapse Workspaces should have Microsoft Entra-only authentication'
Description = 'Require Microsoft Entra-only authentication for Synapse Workspaces, disabling local authentication methods. This allows access exclusively via Microsoft Entra identities, enhancing security with modern authentication enhancements including MFA, SSO, and secret-less programmatic access with managed identities.'
Version = '1.0.0'
Category = 'Synapse'
PolicyVersion = '1.0.0'
}
Parameter Effect @{
AllowedValues = @('Audit', 'Deny', 'Disabled')
Default = 'Audit'
DisplayName = 'Effect'
Description = 'Enable or disable the execution of the policy'
}
PolicyDefinition @{
Id = '2158ddbe-fefa-408e-b43f-d4faef8ff3b8'
ReferenceId = 'SynapseWorkspaceCreationAadOnlyAuthentication'
Version = '1.*.*'
Parameters = @{
effect = (Param Effect)
}
}
PolicyDefinition @{
Id = '6ea81a52-5ca7-4575-9669-eaa910b7edf8'
ReferenceId = 'SynapseWorkspaceDisableAadOnlyAuthentication'
Version = '1.*.*'
Parameters = @{
effect = (Param Effect)
}
}
}Members (2)
- Synapse Workspaces should use only Microsoft Entra identities for authentication during workspace creation
- Synapse Workspaces should have Microsoft Entra-only authentication enabled
Source: built-in-policies/policySetDefinitions/Synapse/WorkspaceAadOnlyAuthenticationEnforcement_Audit.json in Azure/azure-policy, under the MIT licence.
Bylaw