Posted By Daniel Valadas on 9/5/2024 7:04 PM If you figure out all the proper setup to make it work, we would greatly benefit from having that process documented :) I could never make it work with exchange.
I will :-)
Posted By johnhenley on 9/5/2024 7:34 PM Is the 503 error on DNN side? Or exchange? What type of certificate are you using for DNN? And is the DNN endpoint accessible publicly?
I ended up on this page which showed a 503 error. https://www.website.com/P...nline/Authorize.aspx Using a Letsncrypt certificate. Yes
We used a workaround for now but I'll tray again in about a week.
I think I can describe how to make it work with Exchange online. It is quit simple when you know that you have to use Microsoft Graph
https://[DOMAINNAME]/Providers/SmtpOAuthProviders/ExchangeOnline/Authorize.aspx
https://[DOMAINNAME]
Secret
API Permissions
Microsoft Graph
Delegated -> SMTP.Send (Send emails from mailboxes using SMTP AUTH)
In DNN
Servers - Seversettings - SMTP Server
SMTP Sever and Port = smtp.office365.com:587
SMTP Authentication= OAuth
Auth Provider = Exchange online
Tenant Id = [Directory (tenant) ID]
Client Id = [Application (client) ID]
Client Secret = [client secret value]
Save Settings
Authorize
Using the Microsoft Mailbox credentials
Test SMTP Settings
Thank you Mr Needle for adding the procedure to the DNN Documentation :-) https://docs.dnncommunity.org/content/tutorials/server/smtp-servers/set-up-oauth-microsoft-365/index.html
These Forums are for the discussion of the open source CMS DNN platform and ecosystem.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.