Already a NinjaOne customer? Log in to view more guides and the latest updates.

NinjaOne Ticketing: SMTP Microsoft 365 Configuration

Topic

This guide explains how to set up Simple Mail Transfer Protocol (SMTP) email sending through Microsoft 365 OAuth for NinjaOne Ticketing.

Environment

NinjaOne Ticketing

Description

With NinjaOne Ticketing, you can configure Microsoft 365 as the authentication type for SMTP email sending, allowing you to exchange emails between servers.

Select a topic to continue.

Requirements

When configuring NinjaOne Ticketing, the items below must be taken into account to ensure the configuration is successful and you do not receive an authentication error:

  • The account from which you send emails must be licensed with at least an Exchange Online Plan 1 License.
  • The mailbox must have "Authenticated SMTP" as an allowed email application.
  • You must have an administrator account with permissions to give consent to the NinjaOne–SMTP Microsoft 365 Application.
  • You must ensure you do not have any conditional access policies that would block NinjaOne from logging into the account.

Configuration

If you have not yet activated NinjaOne Ticketing, refer to NinjaOne Ticketing: Getting Started.

We recommend using an incognito / private window to perform this configuration.
  1. Click Administration in the sidebar menu and select Apps (Installed), and then click Ticketing.

admin_apps_ticketing.png

Figure 1: NinjaOne → Administration → Apps → Installed → NinjaOne Ticketing
  1. On the Ticketing configuration page, click Edit in the Custom SMTP server section.

ticketing_app_custom smtp server_edit.png

Figure 2: Edit Custom SMTP server for NinjaOne Ticketing (click to enlarge)
  1. Select Microsoft 365 from the Authentication Type drop-down menu and then click Next.
    New configuration fields will display on the modal.
  2. Activate the Enabled toggle switch to turn on the outgoing mail server.
  3. Use the table below to enter the configuration details:
FieldData
SMTP serversmtp.office365.com (you must use this for your server address)
Port587

From address

Select this checkbox to use the SMTP email address as the reply-to instead of the support email.

microsoft 365 oauth_enable.png

Figure 3: Enable Microsoft 365 for NinjaOne Ticketing
  1. Click Go to Microsoft.
  2. Click the first hyperlink option to sign in with an admin account.
If you do not have System administrator privileges, you may need to request access and then approve the application with an administrator account. Then, return to the NinjaOne console and repeat the steps above after approval is granted. To ensure correct setup, we recommend creating a public comment on a ticket assigned to a test address. For more information about ticket comments, see NinjaOne Ticketing: Ticket Handling.
  1. Follow the prompts and then click Accept on the Permissions requested page.

Additional Resources

Refer to the following resource(s) to learn more about NinjaOne Ticketing:

FAQ

Next Steps