Hello,
I was just wondering if passbolt will still be able to send mails with M365-Accounts, when Microsoft disables OAuth 1.0 on the 31st December.
Thank you!
Hello,
I was just wondering if passbolt will still be able to send mails with M365-Accounts, when Microsoft disables OAuth 1.0 on the 31st December.
Thank you!
See here for info about how to use MS
… until passbolt has new capability
Hello,
I saw that OAuth2 authentication has recently been supported.
Has anyone already gained experience with how to set it up in combination with Microsoft Entra? I have registered an application with the permissions “SMTP.Send” and “User.Read”. I created a token and entered the Tenant ID and Application ID in the configuration page. Unfortunately, I keep getting the following error log when sending a test email:
[
{
"cmd": null,
"response": [
{
"code": "220",
"message": "***************.outlook.office365.com Microsoft ESMTP MAIL Service ready at Tue, 19 May 2026 07:32:05 +0000 [********]"
}
]
},
{
"cmd": "EHLO mail@testmail.com",
"response": [
{
"code": "250",
"message": "***************.outlook.office365.com Hello [***public ip***]"
},
{
"code": "250",
"message": "SIZE 157286400"
},
{
"code": "250",
"message": "PIPELINING"
},
{
"code": "250",
"message": "DSN"
},
{
"code": "250",
"message": "ENHANCEDSTATUSCODES"
},
{
"code": "250",
"message": "STARTTLS"
},
{
"code": "250",
"message": "8BITMIME"
},
{
"code": "250",
"message": "BINARYMIME"
},
{
"code": "250",
"message": "CHUNKING"
},
{
"code": "250",
"message": "SMTPUTF8"
}
]
},
{
"cmd": "STARTTLS",
"response": [
{
"code": "220",
"message": "2.0.0 SMTP server ready"
}
]
},
{
"cmd": "EHLO mail@testmail.com",
"response": [
{
"code": "250",
"message": "**************.outlook.office365.com Hello [***public ip***]"
},
{
"code": "250",
"message": "SIZE 157286400"
},
{
"code": "250",
"message": "PIPELINING"
},
{
"code": "250",
"message": "DSN"
},
{
"code": "250",
"message": "ENHANCEDSTATUSCODES"
},
{
"code": "250",
"message": "AUTH LOGIN XOAUTH2"
},
{
"code": "250",
"message": "8BITMIME"
},
{
"code": "250",
"message": "BINARYMIME"
},
{
"code": "250",
"message": "CHUNKING"
},
{
"code": "250",
"message": "SMTPUTF8"
}
]
}
]
Thank you!
Hey to answer to your issue can you provide us more context :
Hello, thank you for your reply.
Now i changed the permissions to Office 365 Exchange Online => SMTP.SendAsApp (Application)
Hey @martin.24, I think the step you missed is the Register service principals in Exchange.
You need to execute few commands into the Powershell:
Install-Module -Name ExchangeOnlineManagement
Import-module ExchangeOnlineManagement
Connect-ExchangeOnline -Organization <TENANT_ID>
New-ServicePrincipal -AppId <APPLICATION_ID> -ObjectId <OBJECT_ID>
Get-ServicePrincipal | fl
Add-MailboxPermission -Identity "<EMAIL>" -User <SERVICE_PRINCIPAL_ID> -AccessRights FullAccess
Note: This is a one-time step you need to perform.
Try to connect after this and let us know if issue persist.