Configure Entra ID > Graph API for the fw Server-side > Allow Mail > "Outgoing Mail Server (SMTP)"

Modified on Wed, 22 Apr at 12:51 PM

NEW with v7.3 Beta 6 and v7.2 SP2 in Q3 2025:


Added support for the "Allow Mail" functionality by using "MS Entra ID Connector" integration via the "Graph API" and  "OAuth2" token endpoint .


Requires:

Entra ID > App Registrations > your-EntraID-fw-app > Permissions > Graph API  > Application > *Mail.Send*.


The FROM email address on each sent email must be an active email account an is used on the fw Server app's "server.cfg" also mentioned further below:

"MSGRAPHAPI_SENDMAIL_IMPERSONATIONEMAIL youremail@test.onmicrosoft.com"


############################
Entra ID Connector: Added support for the fw Server app's "Allow Mail" to send Emails via the Microsoft Graph API.

Details:
To enable the support for the fw Server app's "Allow Mail" to send Emails via the Microsoft Graph API, requires to configure these two parts:

1)
Create a new App Registratoin on Entra ID or expand the already existing one Entra ID > App Registrations > your-EntraID-fw-app > Permissions > Graph API  > Application > *Mail.Send*.

See more info here for the App Registration:

2a)
Go to: fw Server app > Setup > Users > "Microsoft Entra ID Connector" and add the configuration if you created a new App Registration:

- Enabled: Yes

- App Client Id:
- App Secret Key (Value):
- Oauth 2.0 Token Endpoint:
- MS Graph Api Endpoint:


2b)

Go to: fw Server app > Setup > General > Allow Mail: set to "Yes" to configure like this:

- Outgoing Mail Server: <empty>

- Port: 0

- Username: <empty>

- Password: <empty>


Allow Mail > sub-menu: all settings disabled.


2c)
And add and configure these two new "server.cfg" variables:
- MSGRAPHAPI_SENDMAIL_ENABLED 1
- MSGRAPHAPI_SENDMAIL_IMPERSONATIONEMAIL youremail@test.onmicrosoft.com

See more info here:
############################









Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article