Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Schneider Electric
Community
Community
Notifications
close
  • Categories
  • Forums
  • Knowledge Center
  • Blogs
  • Ideas
  • Events & Webinars
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register

Contact Support

Close

Ask our Experts

Have a question related to our products, solutions or services? Get quick support on community Forums

Email Us

For Community platform-related support, please email us

New Community Ranking System
Our Community ranking system has recently been updated. You may notice changes in user rankings and receive system messages or notifications. If you have questions about how the new ranking works, please refer to the announcement post for more details (click here).

Configuring OAuth 2.0 Email Proxy for EcoStruxure Building Operation SMTP Notifications

Building Automation Knowledge Base

Schneider Electric Building Automation Knowledge Base is a self-service resource to answer all your questions about EcoStruxure Building suite, Andover Continuum, Satchwell, TAC…

Search in

Improve your search experience:

  • Exact phrase → Use quotes " " (e.g., "error 404")
  • Wildcard → Use * for partial words (e.g., build*, *tion)
  • AND / OR → Combine keywords (e.g., login AND error, login OR sign‑in)
  • Keep it short → Use 2–3 relevant words , not full sentences
  • Filters → Narrow results by section (Knowledge Base, Users, Products)
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Select a Country

Please select a country to continue with beta search.

  • Home
  • Schneider Electric Community
  • Knowledge Center
  • Building Automation Knowledge Base
  • Configuring OAuth 2.0 Email Proxy for EcoStruxure Building Operation SMTP Notifications
Options
  • Bookmark
  • Subscribe
  • Email to a Friend
  • Printer Friendly Page
  • Report Inappropriate Content
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close

Related Forums

  • Intelligent Devices Forum

Previous Next
Contributors
  • CraigEl
    CraigEl

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to Building Automation Knowledge Base
Start a Topic
Options
  • Bookmark
  • Subscribe
  • Email to a Friend
  • Printer Friendly Page
  • Report Inappropriate Content
4 Likes
1871 Views

Link copied. Please paste this link to share this article on your social media post.

Trying to translate this page to your language?
Select your language from the translate dropdown in the upper right. arrow
Translate to: English
  • (Français) French
  • (Deutsche) German
  • (Italiano) Italian
  • (Português) Portuguese
  • (Русский) Russian
  • (Español) Spanish

Configuring OAuth 2.0 Email Proxy for EcoStruxure Building Operation SMTP Notifications

CraigEl Champion
‎2026-03-10 04:10 PM

on ‎2026-03-10 04:10 PM

Issue

EcoStruxure Building Operation (EBO) only supports Basic Authentication for SMTP, but email providers such as Microsoft 365 and Google have deprecated Basic Authentication. As a result, EBO cannot send email notifications when OAuth 2.0 is required by the mail provider.

Product Line

EcoStruxure Building Operation

Environment

  • Building Operation Enterprise Server
  • Building Operation Enterprise Central
  • Building Operation Automation Server
  • Email providers:

    • Microsoft 365

    • Google Workspace

  • Third‑party tool: Email OAuth 2.0 Proxy (from GitHub)

Cause

EBO cannot generate OAuth 2.0 tokens and therefore cannot authenticate with modern mail servers that require OAuth‑based SMTP authentication. A bridging mechanism is required to translate EBO’s Basic Authentication into OAuth 2.0

Resolution

Use a locally installed proxy (Email OAuth 2.0 Proxy) to accept Basic Authentication from EBO and perform OAuth 2.0 authentication with the mail provider.

⚠️ Important Note:

The solution detailed in this article is not officially tested or supported by Schneider Electric R&D.


Configuration steps

Refer to OAuth 2.0 Email Proxy integration with EBO for full details.

1. Install the Email OAuth 2.0 Proxy

  1. Download the proxy from its GitHub page.
  2. Install/extract the application on either:
    • the same Windows machine as the EBO server.

      Yuhui_1-1773133785711.jpeg

    • a Windows computer in the same network.

      Yuhui_2-1773133785712.jpeg


2. Generate OAuth 2.0 Client Credentials

Google Gmail

  • Create a Google Cloud project.
  • Generate Client ID and Client Secret. 

Microsoft 365

  • Register an app in Microsoft Azure.
  • Generate Client ID and Client Secret (one‑time visibility).
  • Enable SMTP Authentication for the mailbox.

3. Configure the Proxy

The proxy uses a single configuration file stored in the same folder as emailproxy.exe.

Key sections include:

  • [emailproxy] – token handling, encryption
  • [SMTP-XXXX] – local listener and SMTP relay mapping
  • [user@provider.com] – OAuth credentials for each account

Sample configuration

[emailproxy] 
delete_account_token_on_password_error = True 
encrypt_client_secret_on_first_use = False
[SMTP-2588]
server_address = smtp-mail.outlook.com
server_port = 587
server_starttls = True
local_address = 127.0.0.1
local_port = 2588
[SMTP-2587]
server_address = smtp.gmail.com
server_port = 587
server_starttls = True
local_address = 127.0.0.1
local_port = 2587
 
[**@outlook.com]
permission_url = https://login.microsoftonline.com/common/oauth2/v2.0/authorize
token_url = https://login.microsoftonline.com/common/oauth2/v2.0/token
oauth2_scope = https://outlook.office.com/IMAP.AccessAsUser.All https://outlook.office.com/POP.AccessAsUser.All https://outlook.office.com/SMTP.Send offline_access
redirect_uri = http://localhost:85
client_id = **
client_secret = **
[**@gmail.com]
permission_url = https://accounts.google.com/o/oauth2/auth
token_url = https://oauth2.googleapis.com/token
oauth2_scope = https://mail.google.com/
redirect_uri = http://localhost:85
client_id = **
client_secret = **

4. Prepare the System

  1. Ensure no previous proxy processes are running:
    taskkill /f /im emailproxy.exe
    
  2. Start the proxy by running emailproxy.exe. 

5. Configure EBO SMTP Settings

In EBO WorkStation → Server Properties → Email tab:

Setting Value
Primary Host IP of proxy (ex: 127.0.0.1)
Port The local_port defined in proxy config (e.g. 2588)
Encryption None (proxy handles TLS)
Sender/Username Email address sending notifications
Password Any value (used only for token encryption)

 

TinyTake11-03-2026-09-43-30.png


6. Authorize OAuth Account in System Tray

The first time EBO triggers an email, the proxy requires authorization:

TinyTake11-03-2026-09-46-26.png

  1. Right‑click the proxy icon in Windows System Tray.
  2. Navigate to Authorise account → select your email.

    TinyTake11-03-2026-09-47-50.png

  3. Complete the web‑based OAuth login.
  4. Successful authorization shows a confirmation window. 

    TinyTake11-03-2026-09-49-08.png


7. Configure Proxy to Start Automatically

Option A: Start at login

  • Right‑click proxy icon → Start at login

Option B: Start at system startup (no user login)

  • Use Windows Task Scheduler:
    • General tab → run as System

      TinyTake11-03-2026-09-53-56.png

    • Trigger → At startup

      TinyTake11-03-2026-09-55-13.png

    • Action → Start emailproxy.exe

      TinyTake11-03-2026-09-56-19.png

    • Ensure "Allow task to be run on demand"

      TinyTake11-03-2026-09-59-29.png


8. Validate Email Sending

Check logs for results:

Success

  • Proxy log contains: 235 2.7.0 Authentication successful
  • EBO event: "Email sent successfully"

Failure

  • Proxy error such as 535 5.7.139 Authentication unsuccessful
  • EBO alarm generated

Additional Troubleshooting

Proxy Debug Mode

  • Enable via right‑click → Debug mode

Telnet Testing

Use Telnet to test direct SMTP communication.

Network & Firewall Requirements

  1. Allow outbound EBO → Proxy on local port
  2. Allow outbound Proxy → Mail provider
    • smtp.office365.com:587
    • smtp.gmail.com:587
Labels (1)
Labels:
  • EcoStruxure Building Operation
Attachments
Tags (1)
  • Find more articles tagged with:
  • CraigEllis26
Was this article helpful? Yes No
No ratings

Link copied. Please paste this link to share this article on your social media post.

You’ve reached the end of your document

WHAT’S NEXT?

Ask our Experts

Didn't find what you are looking for? Ask our experts!

My Dashboard

Check out the new Feeds and activities that are relevant to you.

To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support

    Ask our Experts

    Have a question related to our products, solutions or services? Get quick support on community Forums

    Email Us

    For Community platform-related support, please email us

Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2026 Schneider Electric

Welcome!

Welcome to your new personalized space.

of

Explore