Get Email Alerts When Scheduled Jobs Fail

Closes the "did my 3am scheduled job fail?" blind spot. Add one or more recipients to the Failure notifications to: field in Settings → Email, and any time a scheduled report, audit profile, or Hybrid Identity job exhausts its retries and still fails, an alert email lands within seconds — with the failed job name, target domain, attempt count, exact error, host machine, and timestamp.

One field, broad coverage. The same recipient list catches failures from scheduled reports, audit profiles, and Hybrid Identity jobs — both UI scheduler and Windows Scheduler Service.
1

Set Failure Notification Recipients

Open Settings → Email. Below the existing Send test e-mail to: field you'll see a new Failure notifications to: field.

Enter one or more recipient email addresses, separated by commas or semicolons. Leave the field blank to keep current behavior (no failure alerts).

AD Reports Settings Email Failure notifications field

Tip: For 24/7 monitoring, use a distribution list or a ticketing-system intake address (e.g., oncall@example.com or your PagerDuty / Opsgenie email integration).
2

What Triggers a Failure Alert

An alert is sent only on real failures:

  • The job exhausted all retry attempts (one retry by default, 30s delay)
  • The final attempt still failed — a clear error from AD, Graph API, the export library, or the email transport
  • A scheduled audit profile in which every report failed — retried once like any failed job, then recorded as Failed, with the first error New in 7.6.1

Alerts are NOT sent for:

  • Partial jobs — the file was saved, but the e-mail failed or was not sent, went out without a file that was too large to attach, or some reports of an audit profile failed. Job History shows them as Partial, with the reason in Error / Detail; you don't need a second email.
  • Empty-result jobs — a successful run that returned zero rows is success, not failure.
  • Cancelled jobs.
3

What's in the Alert Email

Each failure email contains:

  • Failed job name — report, audit profile, or Hybrid Identity gap-type
  • Target domain the job was running against
  • Number of attempts (e.g., 3 of 3)
  • Exact error message — the actual exception text from AD, Graph API, or the export pipeline
  • Host machine name — which workstation or server ran the job (matters when both UI scheduler and Windows Service are in play)
  • Timestamp of the final attempt
  • What the job logged — the last 20 warnings and errors the failed job wrote to the log, from every attempt, one per line without stack traces, and where the full log is saved; only that job's own lines are included, and passwords are masked New in 7.6.1

AD Reports failure notification email example

4

Works With Any Email Transport

Failure alerts go through the same email pipeline as your scheduled report emails — no separate configuration:

  • SMTP with username / password (DPAPI-encrypted at rest)
  • Gmail OAuth (15-second token timeout prevents hanging)
  • Microsoft OAuth — in unattended scenarios this is silent-only (won't pop a browser)

See Email Settings for transport setup details.

5

Best-Effort Delivery

If the failure email itself can't be delivered — e.g., the SMTP server is also down — the event is logged but it does NOT blow up the scheduler. Your other scheduled jobs keep running. You'll see the suppressed alert in the AD Reports diagnostics log.

Tighter SMTP password storage. SMTP passwords are now stored using Windows DPAPI (current-user scope), tightening at-rest protection compared with the legacy AES-encrypted blob. Existing SMTP configurations are migrated automatically on first run.
6

Common Use Cases

  • Daily Disabled Users report at 3am → DC was unreachable. Wake up to a clear "Disabled Users — failed (3 attempts) — DC02 unreachable" email instead of finding empty Job History at 9am.
  • Weekly Security Audit profile → Azure AD throttled mid-run. See the actual Graph API error and re-run before the security review meeting.
  • Monthly Hybrid Identity job → AD Connect was paused. Get alerted on the same business day instead of next month.
Questions about failure notifications? Please feel free to contact us.
Ready to Try AD Reports?

Download the free 14-day trial and never miss a scheduled job failure again.

Download Free Trial Browse Report Library