Get Password Policy Violations
get_password_policy_violationsAudit enabled users whose passwords have expired or were never set per domain policy, excluding never-expiring accounts.
Instructions
Find users whose password violates the domain policy (audit).
Flags enabled users whose password has expired (older than the domain
maxPwdAge) and, when include_never_set is True, users who must set a
password at next logon (pwdLastSet=0). Accounts whose password never
expires are excluded. Returns an empty list if the domain has no maximum
password age.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| domain | No | ||
| include_never_set | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |