🧠 Microsoft Entra ID User Multi-Factor Auth Status is not enabled - prod.logic.yaml🟢
- Contextual name: 🧠 prod.logic.yaml🟢
- ID:
/ce/ca/azure/microsoft-entra-id/multi-factor-auth-status/prod.logic.yaml - Tags:
Uses
Test Results 🟢
Generated at: 2025-12-17T01:31:06.707232389Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| 🟢 | 001 | ✔️ 99 | ✔️ isDisappeared(CA10__disappearanceTime__c) | ✔️ null |
| 🟢 | 002 | ✔️ 299 | ✔️ extract('CA10__mfaState__c') == 'disabled' | ✔️ null |
| 🟢 | 003 | ✔️ 399 | ✔️ extract('CA10__mfaState__c') == 'enabled' | ✔️ null |
Generation Bundle
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/azure/microsoft-entra-id/multi-factor-auth-status/policy.yaml | BD15DCA2876201F5025845B5C8CFE151 |
| Open | /ce/ca/azure/microsoft-entra-id/multi-factor-auth-status/prod.logic.yaml | 932837A5092A962257EE577F6C5F9750 |
| Open | /ce/ca/azure/microsoft-entra-id/multi-factor-auth-status/test-data.json | EA29BADDBE6CF36873F73039B3382B9B |
| Open | /types/CA10__CaAzureActiveDirectoryUser__c/object.extracts.yaml | EE0D37AA0DF91ABABC5EAAA073C15925 |
Available Commands
repo-manager policies generate FULL /ce/ca/azure/microsoft-entra-id/multi-factor-auth-status/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/azure/microsoft-entra-id/multi-factor-auth-status/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/azure/microsoft-entra-id/multi-factor-auth-status/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/azure/microsoft-entra-id/multi-factor-auth-status/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/azure/microsoft-entra-id/multi-factor-auth-status/prod.logic.yaml
Content
---
inputType: "CA10__CaAzureActiveDirectoryUser__c"
testData:
- file: "test-data.json"
importExtracts:
- file: "/types/CA10__CaAzureActiveDirectoryUser__c/object.extracts.yaml"
conditions:
- status: "INCOMPLIANT"
currentStateMessage: "MFA is not enabled for the Active Directory User."
remediationMessage: "Enable MFA for the Active Directory User."
check:
IS_EMPTY:
arg:
EXTRACT: "CA10__mfaState__c"
- status: "INCOMPLIANT"
currentStateMessage: "MFA is disabled for the Active Directory User."
remediationMessage: "Enable MFA for the Active Directory User."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__mfaState__c"
right:
TEXT: "disabled"
- status: "COMPLIANT"
currentStateMessage: "MFA is enabled for the Active Directory User."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__mfaState__c"
right:
TEXT: "enabled"
otherwise:
status: "UNDETERMINED"
currentStateMessage: "Unexpected MFA state value."