{
    "properties": {
        "displayName": "Audit Windows VMs that are not joined to the specified domain",
        "policyType": "BuiltIn",
        "description": "This initiative deploys the policy requirements and audits Windows virtual machines that are not joined to the specified domain. For more information on Guest Configuration policies, please visit https://aka.ms/gcpol",
        "metadata": {
            "version": "1.0.0-deprecated",
            "category": "Guest Configuration",
            "deprecated": true
        },
        "parameters": {
            "DomainName": {
                "type": "string",
                "metadata": {
                    "displayName": "Domain Name (FQDN)",
                    "description": "The fully qualified domain name (FQDN) that the Windows VMs should be joined to"
                }
            }
        },
        "policyDefinitions": [
            {
                "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/315c850a-272d-4502-8935-b79010405970",
                "policyDefinitionReferenceId": "Deploy_WindowsDomainMembership",
                "parameters": {
                    "DomainName": {
                        "value": "[parameters('DomainName')]"
                    }
                }
            },
            {
                "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/a29ee95c-0395-4515-9851-cc04ffe82a91",
                "policyDefinitionReferenceId": "Audit_WindowsDomainMembership"
            }
        ]
    },
    "id": "/providers/Microsoft.Authorization/policySetDefinitions/6b3c1e80-8ae5-405b-b021-c23d13b3959f",
    "name": "6b3c1e80-8ae5-405b-b021-c23d13b3959f"
}