Skip to main content

AD Password Expiration Notification

Summary​

This knowledge article shows the AD users information about the user password expiry and the email sent to them or not.

Requirements​

note

The Knowledge Base articles need the NinjaOne Documentation app enabled in NinjaOne, as shown below. If your NinjaOne does not have it, set Report Output to Local CSV Files in the report automation. The report then creates only the CSV files, on the device that runs it.

NinjaOne Documentation app enabled

Where to Find the Report​

ReportKnowledge Base ArticleCSV File
GlobalGlobal Knowledge Base > Dataviews > Active Directory > AD Password Expiration NotificationC:\ProgramData\_Automation\Report\<Active Directory>\<AD Password Expiration Notification>.csv
OrganizationOrganization Knowledge Base > Dataviews > Active Directory > AD Password Expiration NotificationC:\ProgramData\_Automation\Report\<Active Directory>\Organization_Level_Reports\<AD Password Expiration Notification>_<Organization>.csv
note

The articles and CSV files are replaced every time the report runs. CSV files are saved on the device that runs the report automation. An article that grows too large is split into - Part 1, - Part 2 and so on.

Report Columns​

Column NameAppears InDescription
OrganizationBothOrganization the device belongs to.
LocationBothLocation the device belongs to.
DeviceBothDomain controller where the password expiry check and notifications ran.
DomainBothActive Directory domain that was checked.
Window (Days)BothNotification threshold. Users whose passwords expire within this many days are flagged.
ExpiringBothNumber of users whose passwords expire within the notification window.
EmailedBothNumber of users who were sent a password expiry notification.
HelpdeskBothNumber of notifications sent to the helpdesk contact because they could not be delivered to the user.
Already NotifiedBothNumber of users skipped because they were already notified in an earlier run.
No EmailBothNumber of users with no email address in Active Directory.
FailedBothNumber of users whose notification email failed to send.
StatusBothResult of the script run on the device, such as completed or failed.
AccountNameBothUser's AD account name (sAMAccountName).
DisplayNameBothUser's display name in Active Directory.
EmailBothUser's email address from Active Directory.
PasswordExpiresBothDate and time the user's password expires.
DaysLeftBothNumber of days left until the user's password expires.
NotificationStatusBothWhether the user's notification was sent, skipped or failed.
ScriptLastRuntimeBothDate and time the script last ran.

Report Settings​

Values used in the WYSIWYG Custom Field Report - Organization and Global KB automation to build this report.

Script VariableValue
Report OutputKnowledge Base Articles and Local CVS Files
Custom Field NamecpvalAdPasswordExpiryReport
Report ScopeAll Organizations and Global
Organization KB Article NameAD Password Expiration Notification
Organization KB Folder NameDataviews/Active Directory
Organization Additional Columns
Global KB Article NameAD Password Expiration Notification
Global KB Folder NameDataviews/Active Directory
Global Additional Columns
Local Folder NameActive Directory
Local File NameAD Password Expiration Notification
Device CategoryAll
MultipartTrue
Instance UrlThe NinjaOne instance of the partner, for example us2.ninjarmm.com

Report Settings

Dependencies​

Global Article Sample Screenshot​

Global Article

Organization Article Sample Screenshot​

Organization Article

CSV Folder Sample Screenshot​

The global CSV file, and the Organization_Level_Reports folder with one CSV file per organization.

CSV Folder

Changelog​

2026-11-09​

  • Initial version of the document