Create an Azure app registration with SMTP.Send and offline access permissions to configure Microsoft SMTP OAuth2 authentication in PADS4 CTRL Center.
This article requires you to have at least PADS4 version 2025.2.
This document provides step-by-step instructions for creating OAuth2 credentials for SMTP authentication using Google and Microsoft platforms. This document assumes the reader has basic familiarity with the Microsoft Azure Portal.
Go to https://portal.azure.com/ and sign in with an account that has administrative privileges for Microsoft Entra ID
In the left menu, select App registrations
Configure the application:
Use the following information:
Name: Enter a descriptive name (e.g. Gateway SMTP App)
Supported account types: Accounts in this organizational directory only
Redirect URI: The redirect URI specifies where the authorization server should send the user back after successfully authenticating to return an access token to their email account.
Go to Certificates & secrets > Client Secrets > New client secret.
Add a description (e.g., “SMTP Secret”) and select an expiration period (e.g., 24 months).
Click Add, then immediately copy the value of the client secret. Note: This value is only shown once, and you will not be able to retrieve it after leaving this page. If you lose it, you’ll need to generate a new one. This is your “ClientSecret”.
Store it securely, as it grants access to your application