How to Set Email Settings

1

Open Email Settings Form

To access Email Settings, click on the Application Settings button in the ribbon toolbar and go to the E-Mail page.

AD Reports Application Settings button in ribbon toolbar

2

SMTP Settings Configuration

AD Reports E-Mail settings page with Standard Email (SMTP) selected

Choose Standard Email (SMTP) in Select Email Service to send through your own mail server; the SMTP settings appear only for this service. Then enter the following information:

  1. Full Name and Sender e-mail — the name and address the e-mails come from.
  2. SMTP server and Port (25 by default) of your mail server.
  3. Secure Socket — Auto (the default), SSL, TLS, TLS When Available or None. Check Certificate Revocation also checks that the server's certificate has not been revoked.
  4. If the mail server requires authentication, check Outgoing server requires authentication and enter the Username and Password (Show displays the password).
  5. Log SMTP Activity writes the conversation with the mail server to smtp.log in the log folder, for troubleshooting; Append log file adds to that file instead of starting it again.
  6. Trusted certificate names the mail server certificate you have trusted, if any — see step 3.
  7. Email body format (HTML or Text) and Subject format: the report name, the domain and report name, or [My Own] for a subject of your own.
  8. Attach the report only if it is no larger than (checked, 20 MB by default) sets the largest file a scheduled e-mail carries. A report over that size is still e-mailed, without the file: the e-mail says how large the file is and where it is saved, and Job History records the run as Partial. Unchecked, every report is attached. New in 7.6.2 If the mail server refuses an e-mail as too large, it is sent again without the file, saying where the file is saved.
  9. Send test e-mail to — the address Send Test E-mail sends a test message to, with the settings on the page.
  10. Failure notifications to — addresses, separated by commas, that receive an alert if a scheduled job fails after all retry attempts (see Scheduler Failure Notifications). Leave it blank for no alerts.

Click the OK button to save your SMTP settings.

Sending through Microsoft 365? With smtp.office365.com as the SMTP server, the page warns that Microsoft 365 stops accepting passwords for sending e-mail over SMTP at the end of December 2026. Switch to Microsoft Account before then — see step 6.
3

Trust a Mail Server Certificate New in 7.6.2

AD Reports checks the certificate an SMTP server presents and refuses one this computer cannot verify — a self-signed certificate, for example, or one issued to another name. To send through such a server:

  1. Click Send Test E-mail. The Mail server certificate box says why the certificate could not be verified, and shows who it is issued to and by, its validity dates and its SHA-256 thumbprint.
  2. Compare the thumbprint with the certificate on your mail server, and click Yes only if they match. AD Reports then accepts that certificate from that server, refuses any other certificate it cannot verify, and sends the test e-mail again.

Trusted certificate on the page then shows the certificate and its expiry date, and its tooltip says when, by whom and on which computer it was trusted. Forget removes it: a certificate this computer cannot verify is then refused until it is trusted again.

If the server's certificate is later replaced by one AD Reports cannot verify, scheduled e-mails are refused with a message naming the server. Click Send Test E-mail to see the new certificate and trust it.

Upgrading from an earlier version? The mail server set up before the upgrade keeps sending: at its first send after the upgrade AD Reports trusts the certificate it presents, notes it in Job History's Error / Detail, and shows it as the trusted certificate. If a scheduled e-mail is refused for its certificate instead, trust it from Send Test E-mail as above.

4

Gmail OAuth 2.0 Configuration

AD Reports E-Mail settings page with Gmail Account (OAuth2 – Secure Login) selected and the Signed in row

To use a Gmail account with secure OAuth 2.0 authentication (required by Google as of March 14, 2025), follow these steps:

  1. Select Gmail Account (OAuth2 – Secure Login) from the Select Email Service dropdown.
  2. In the Full Name field, enter your full name.
  3. Sender e-mail is optional New in 7.6.3: left blank, e-mail comes from the Google account you sign in with (personal or Google Workspace).
  4. Choose the Email body format (HTML or Text) and the Subject format.
  5. Set Attach the report only if it is no larger than to 25 MB or less — a larger report is e-mailed without the file, as described under SMTP above. New in 7.6.2 Gmail accepts an e-mail with more than 25 MB attached and then bounces it, so Job History would still say it was e-mailed: while the limit is unchecked or above 25 MB, the page warns you (some Google Workspace plans allow 50 MB).
  6. Click the Send Test E-mail button to initiate the authorization process. The sign-in shows the account picker, so you choose the account, and allows 3 minutes to finish.
  7. In the Google Authorization screen that opens in your browser, sign in and click Allow to grant the Send Email scope for AD Reports.

    Google OAuth 2.0 consent screen for AD Reports

  8. After authorization, a test email will be sent, and Gmail integration will be finalized for automated sending.
  9. The SMTP settings are hidden for Gmail: AD Reports sets the Gmail server, port and sign-in itself.

Click the OK button to save your Gmail OAuth 2.0 settings.

You must send at least one test email to complete the authorization process.
5

Microsoft OAuth 2.0 Configuration

AD Reports E-Mail settings page with Microsoft Account (OAuth2 – Secure Login) selected and the Signed in row

In the Microsoft OAuth 2.0 settings form:

  1. Set the Select Email Service to Microsoft Account (OAuth2 – Secure Login).
  2. Full Name and Sender e-mail are not shown New in 7.6.3: e-mail comes from the Microsoft account you sign in with (e.g., admin@yourdomain.com).
  3. The SMTP settings are hidden — no SMTP server or password is needed.
  4. Select the desired email body format: HTML or Text.
  5. Choose a Subject format that suits your reporting needs.
  6. Set Attach the report only if it is no larger than — a larger report is e-mailed without the file, as described under SMTP above.

Click the Send Test E-mail button. A secure Microsoft login window will appear prompting you to authorize MaxPowerSoft Active Directory Reports to send email on your behalf; it shows the account picker and allows 3 minutes to finish.

After successful authorization, Microsoft will return a secure token that will be stored and used for future automated email delivery. No password or SMTP credentials are stored or required. If the account has no mailbox Microsoft can send from, the test e-mail and Job History say which account it is — sign out and sign in with an account that has one.

You must send at least one test email to complete the authorization process.

Which Account Sends, and Sign Out New in 7.6.3

For Microsoft Account (OAuth2 – Secure Login) and Gmail Account (OAuth2 – Secure Login), the Signed in: row shows which account sends e-mail — the Microsoft account's name, or A Google account for Gmail, since Google does not say which — with a Sign Out link.

To change the account that sends, click Sign Out, then Send Test E-mail and sign in with the other account. Sign Out forgets the sign-in on this computer at once, in AD Reports and in the Scheduler Service, without a restart; until an account signs in again, nothing is e-mailed.

6

Microsoft 365: Switch from SMTP to Microsoft Account New in 7.6.2

Microsoft 365 stops accepting passwords for sending e-mail over SMTP at the end of December 2026. If AD Reports sends through smtp.office365.com with Standard Email (SMTP) and a password, its scheduled reports, failure alerts and Daily Status Email stop arriving then — and none of them can warn you, because they all go out the same way. This applies to every version of AD Reports.

Switch to Microsoft Account (OAuth2 – Secure Login), which signs in to Microsoft and stores no password:

  1. Open Settings → E-Mail — or click Open E-Mail Settings in the banner shown below.
  2. In Select Email Service, choose Microsoft Account (OAuth2 – Secure Login).
  3. Click Send Test E-mail and sign in with the Microsoft 365 account the reports are sent from, as in step 5.
  4. Click OK. Scheduled reports, failure alerts and the Daily Status Email now go out through that account.

AD Reports banner: Microsoft 365 stops accepting passwords for sending e-mail over SMTP at the end of December 2026, with an Open E-Mail Settings link

Until you switch, AD Reports says so in three places while it sends through smtp.office365.com or smtp-legacy.office365.com:

  • a banner at the top of the main window, with an Open E-Mail Settings link (✕ hides it until AD Reports is restarted);
  • a line at the bottom of Settings → E-Mail;
  • a note in the Daily Status Email.

Once Microsoft refuses the password, the test e-mail and Job History's Error / Detail (the run is recorded Partial) say what to do: “Microsoft 365 no longer accepts a password for sending e-mail from this account. In Settings → E-Mail, choose ‘Microsoft Account (OAuth2 – Secure Login)’ and click Send Test E-mail to sign in.”

Troubleshooting

If e-mail does not arrive, check the following:

  • Authorization Failed (Gmail or Microsoft): Ensure you're signed in with the correct account (it should be the same as in the OAuth2 settings) and have granted all requested permissions.
  • Test Email Not Sent: Verify your internet connection and try clicking Send Test E-mail again.
  • “AD Reports could not verify the certificate of the mail server”: the server presented a certificate this computer cannot verify — if it is your server's, trust it as in step 3.
  • “E-mailed without the report file” in Job History: the report was over the attachment limit, or the mail server refused the e-mail with it as too large. The e-mail says where the file is saved.
  • “Microsoft 365 no longer accepts a password”: switch to Microsoft Account as in step 6.
  • The wrong account sends (Gmail or Microsoft): click Sign Out on the Signed in row, then Send Test E-mail and choose the right account.
  • “The Google sign-in did not finish within 3 minutes” (or Microsoft): click Send Test E-mail to try again. A Signed in row that reads Cannot be read here needs Sign Out, then a test e-mail.
  • “Not e-mailed: no e-mail account is set up” in Job History with a Microsoft account set up since 7.2.4.1: upgrade to 7.6.3 or later — scheduled reports then go out from the account signed in.
If you have any further questions or require assistance, please do not hesitate to contact us.

Ready to try AD Reports?

Download the free 14-day trial and start reporting on your Active Directory today.