Table of Contents

On-Premises Notification Setup

This guide outlines the system requirements and supported technologies for configuring alerts and notifications (Push and Email) within a Mervis SCADA On-Premises environment.

Push Notifications

To enable mobile push notifications in an on-premises deployment, please note the following architectural requirements:

Email Notifications (SMTP)

Mervis SCADA supports both standard and modern authentication methods for sending automated email alerts.

Standard Authentication

OAuth 2.0 Authentication (Modern Auth)

For IT environments that mandate strict modern security standards, Mervis supports OAuth 2.0. This is specifically required for modern cloud email providers like Microsoft Office 365 and Google Workspace.

Microsoft Office 365 Setup

To use OAuth 2.0 with Office 365, you must register Mervis as an application in the Microsoft Entra ID (formerly Azure AD) portal.

  1. 1. Enable SMTP Auth: First, ensure that authenticated client SMTP submission is enabled for the specific mailbox you intend to send emails from.
  2. 2. App Registration: Register a new application in the Microsoft identity platform.
  3. 3. Configure Redirect URIs: Navigate to the Authentication tab and add the appropriate Redirect URIs (Note: localhost is required for .NET core):

Adding Redirect URIs in the Authentication tab

  1. 4. Configure API Permissions: Navigate to the API permissions tab. Click Add a permission, select Microsoft Graph, choose Delegated permissions, and add the following required scopes:
    • email (View users' email address)
    • offline_access (Maintain access to data you have given it access to)
    • IMAP.AccessAsUser.All (Read and write access to mailboxes via IMAP)
    • POP.AccessAsUser.All (Read and write access to mailboxes via POP)
    • SMTP.Send (Send emails from mailboxes using SMTP AUTH)
    • User.Read (Sign in and read user profile)
  2. 5. Grant Admin Consent: Once the permissions are added, you must click the Grant admin consent button for your domain to fully authorize the application.

Adding the required API permissions and clicking Grant admin consent

Once consent is granted, ensure that all the required permissions show a green “Granted” status:

Verifying all API permissions have been granted successfully

Google Setup

Google accounts are also supported via OAuth 2.0. Similar to Microsoft, this requires setting up an OAuth Client ID in the Google Cloud Console and generating the appropriate tokens to allow Mervis to send emails on behalf of the Gmail account.