KBA-09-01-002 - Spindle Self Serve - Configuring the Exchange SMTP device

Modified on Wed, 17 Sep at 2:58 PM

Introduction

Microsoft is retiring Basic Authentication for SMTP Auth in Exchange Online, effective March 1, 2026. After this date, Microsoft will permanently disable Basic Authentication for client SMTP submission, requiring the use of modern authentication methods such as OAuth 2.0. 


Spindle Self Serve uses SMTP Auth to send email notifications, as of version 1.7.8 the below method will be required to configure the OAuth SMTP connector to use Exchange Online endpoints. 

Applies to

Spindle Self Serve v1.7.8 onwards

Resolution

 

A screenshot of a computer

AI-generated content may be incorrect.

 

2.Make new registration and click Register.

 

A screenshot of a computer

AI-generated content may be incorrect.
 


 

 3.Take a copy of your <client-id> and <tenant-id>.

 

A screenshot of a computer

AI-generated content may be incorrect.

 

4. Go to Manage > Certificates & secrets.

 

A screenshot of a computer

 

5. Create new client secret.
 
When creating your secret key, you can decide an expiry duration. By default this is 6 months for security. Upon expiry a new secret key will need to be created to continue emailing (no other steps will need to be completed).

A screenshot of a computer

 

6. Copy the value field. This is your <client-secret> and cannot be shown once leaving this page without creating a new secret.

 

A screenshot of a computer

 


 

 

Add the SMTP.SendAsApp permission

7. Go to API permissions and Add a permission.

 

A screenshot of a computer

AI-generated content may be incorrect.
 

8. Select the APIs my organization uses tab and search for "Office 365 Exchange Online".

 

A screenshot of a application

AI-generated content may be incorrect.

 

9. Click Application permissions.

 

A screenshot of a application

AI-generated content may be incorrect.


 

10. Scroll down and Tick SMTP.SendAsApp

 

A screenshot of a computer

AI-generated content may be incorrect.



 

11.Click Grant admin consent. 

 

A screenshot of a computer

 

A close-up of a white background

 

A screenshot of a phone

AI-generated content may be incorrect.


 

 

12. Open Windows Powershell and run:

 

  • Install-Module -Name ExchangeOnlineManagement
  • Import-module ExchangeOnlineManagement 
  • Connect-ExchangeOnline -Organization <tenant-id>

A screenshot of a computer

AI-generated content may be incorrect.

 

Keep this powershell open – we will run more commands in here soon.
 

13. Go to Entra Applications > Enterprise Applications and search for your application

 

A screenshot of a computer

AI-generated content may be incorrect.

 

A screenshot of a computer

AI-generated content may be incorrect.

 

A screenshot of a computer


 

 

14. Copy your <application-id> and <object-id>.
These may be different to application and object ids listed elsewhere, it is important you get them from here.

 

15.In the same powershell as earlier run:

 

  • New-ServicePrincipal -AppId <application-id> -ObjectId <object-id>
  • Get-ServicePrincipal | f

 

A screenshot of a computer

AI-generated content may be incorrect.l

A screen shot of a computer

AI-generated content may be incorrect.

 

16. Copy the <sid> and run the command below:

 

  • Add-MailboxPermission -Identity <email-address>  -User <sid> -AccessRights FullAccess

17. In the same powershell as earlier run:

 

  • Set-CASMailbox -Identity <email-address> -SmtpClientAuthenticationDisabled $false
  • Get-CASMailbox -Identity <email-address>  | Format-List SmtpClientAuthenticationDisabled


 

 

 

18. The details you will need to enter into S3 Settings > Advanced > Email Settings:

 

  • <email-address> (Username)
  • <client-id>
  • <tenant-id>
  • <client-secret>

A screenshot of a computer

AI-generated content may be incorrect.


Knowledge Base Article Details

Related ProductSpindle Self Serve
Reference NumberKBA-09-01-002
Document Date21/07/2025
Original AuthorShannon Walker
Document Version1.0
Last Updated21/07/2025
Update Author Shannon Walker

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