Configure SMTP with OAuth using Microsoft Exchange Online
Microsoft Exchange Online deprecated basic authentication for SMTP in March 2026; OAuth is the standard. iGrafx Process360 LiveProcess360 Live iGrafx's cloud platform for end-to-end process management — combining process design, mining, simulation, and automation in a single environment. still supports SMTP basic authentication, and also supports SMTP with OAuth — through Microsoft Exchange Online only.
Sending email over SMTP with OAuth is supported through Microsoft Exchange Online only. No other providers are supported.
Prerequisites
- Azure permissions to create an app registration and a service account.
- An Azure tenant admin to approve the API permissions.
- Exchange Online PowerShell (installation commands are in this article).
Supported versions
- Process360 LiveProcess360 Live iGrafx's cloud platform for end-to-end process management — combining process design, mining, simulation, and automation in a single environment. 19.20 and later.
Configuration
Register an Azure application
- Sign in to the Azure portal, search for App registrations, and open the service.
- Click + New registration.
- Under Supported account types, select the option that fits your organization, then click Register.
- Open the new app registration. On Overview, copy the Application (client) ID and Directory (tenant) ID and store them securely.
Create a client secret
- In the app registration, go to Manage → Certificates & secrets → Client secrets.
- Click + New client secret, enter a description, and choose an expiration that fits your security policy.
- Click Add.
- ⚠️ Copy the secret value immediately and store it securely — the value, not the secret ID.
Grant API permissions
- In the app registration, go to Manage → API permissions and click + Add a permission.
- Select APIs my organization uses and search for Office 365 Exchange Online; select it.
- Select Application permissions, expand SMTP, and select SMTP.SendAsApp.
- Click Add permissions.
- A tenant admin must approve them: in the app registration's API permissions, select the new permission, then click Grant admin consent for {organization}.
Add a service account
-
Get the app registration's Object ID (different from the Application client ID): in Azure, open Enterprise Applications → All applications, search for your app registration, open it, and copy the Object ID from the Overview page.
-
On a Windows machine, install and connect Exchange Online PowerShell (replace
<TENANT_ID>with the Directory (tenant) ID):Install-Module -Name ExchangeOnlineManagementImport-Module ExchangeOnlineManagementConnect-ExchangeOnline -Organization <TENANT_ID> -
Create the service account (replace the placeholders with the Application (client) ID and the Object ID):
New-ServicePrincipal -AppId <APPLICATION_CLIENT_ID> -ObjectId <OBJECT_ID> [-Organization <TENANT_ID>] -
Get the new service account's details and copy its ObjectId (⚠️ different from the previous Object ID — this one is the service principal's):
Get-ServicePrincipal | fl -
Give the service account access to a mailbox (
<SERVICE_PRINCIPAL_ID>is the ObjectId from the previous command):Add-MailboxPermission -Identity "mailboxAddress@example.com" -User <SERVICE_PRINCIPAL_ID> -AccessRights FullAccess
Configure Process360 Live
- Open Admin → Email Management → Email Settings.
- Under Outgoing Email Settings:
- Sender Display Name — must exactly match the service account's display name (if none was set, it's likely the email address).
- Sender Email Address — the service account's email address.
- Subject Prefix — your custom value.
- Send Error Email to — optional address for send-error notifications.
- Under Server Details, select SMTP.
- Under Authentication, select Microsoft Exchange Online.
- Enter the client ID, client secret, and tenant ID from the earlier steps.
Verify
Enter a Test Email Target Address and click Send Test Email. A green success message appears at the bottom; a failure shows a red error. Once the test arrives, click Save Email Settings.
Troubleshooting
- No email received — confirm the success message appeared, and check your junk/spam folder. Your IT department may be filtering the messages.
- Authentication unsuccessful — recheck all credentials, including the Sender Display Name and Sender Email Address. If no display name was set for the sender, try the sender's email address as the Sender Display Name.
- For anything else, follow Microsoft's guide to set up an app registration and service account. ⚠️ Use the Client Credential Grant Flow — other flows don't work with Process360 LiveProcess360 Live iGrafx's cloud platform for end-to-end process management — combining process design, mining, simulation, and automation in a single environment..