[meta] Implement Microsoft Exchange
Categories
(Thunderbird :: Account Manager, task, P1)
Tracking
(Not tracked)
People
(Reporter: aleca, Unassigned)
References
(Depends on 53 open bugs, Blocks 1 open bug, )
Details
(Keywords: meta, Whiteboard: [see wiki link])
Meta bug to track the implementation effort to fully support Microsoft Exchange, including authentication, email, calendar, and contacts.
| Reporter | ||
Updated•2 years ago
|
Updated•2 years ago
|
I'm posting this here because I'm not sure where else to mention this and don't see anything specific to "EWS Support" in an issue.
I've seen several articles recently about Thunderbird working to implement Exchange support using EWS.
EWS is deprecated for Exchange Online and will be blocked starting October 1, 2026.
84% of exchange mailboxes are in the cloud vs on-premises based on the latest Statista information
Is implementing EWS support the correct way to enable Exchange Online mailboxes today?
Are you looking at Graph API instead?
Comment 2•2 years ago
|
||
At present, EWS is our best way to enable support for both Exchange Online and on-premise installations.
Graph API has been considered and may be considered again in future, but it currently provides narrower support than EWS and lacks some functionality for desktop applications. Even with the announcement that EWS support will be removed for Exchange Online, it's still valuable in the short term for enabling access for a wide userbase and in the long term for supporting users using on-premise installations.
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 3•1 year ago
|
||
Forgive me for posting here, but this is an important feature. If there's a way to avoid Outlook (I already use Thunderbird at work with our on-premise mail server, but we'll be moving to Exchange-365 in the next few months and Outlook seems to be the only choice), I'd be willing to donate an amount in that direction. Maybe it's a good idea to open a petition for this specific feature that gathers money that will be directed in implementing all these features for Exchange interoperability. I'm pretty sure I'm not the only one that is willing to donate an amount for that.
| Reporter | ||
Comment 4•1 year ago
|
||
(In reply to Vasilis Lourdas from comment #3)
Forgive me for posting here, but this is an important feature. If there's a way to avoid Outlook (I already use Thunderbird at work with our on-premise mail server, but we'll be moving to Exchange-365 in the next few months and Outlook seems to be the only choice), I'd be willing to donate an amount in that direction. Maybe it's a good idea to open a petition for this specific feature that gathers money that will be directed in implementing all these features for Exchange interoperability. I'm pretty sure I'm not the only one that is willing to donate an amount for that.
Thanks for your interest.
The feature is already well underway in its development and you can start using it with some basic functionalities in the Daily releases.
Make sure to follow our mailing lists to keep up to date with our progress.
Comment 5•1 year ago
|
||
Note that to access your Microsoft 365 email you can usually also do that through IMAP or POP3 (unless your admin disabled it).
Updated•11 months ago
|
Updated•8 months ago
|
Updated•7 months ago
|
Updated•6 months ago
|
Updated•5 months ago
|
Updated•5 months ago
|
Updated•5 months ago
|
Updated•5 months ago
|
Updated•5 months ago
|
Comment 6•4 months ago
|
||
Hello, I'm awaiting approval on topicbox and came across this - so thought I'd go ahead and ask here. I'm not sure if this is a bug, expected behaviour, or something I'm doing wrong.
I added 1 EWS account and it seems to be working great, I poked around and did the things in the TB beta post recommended for the last round of testing.
Then I added a second EWS account, and it only shows the first 9 folders in the account (but otherwise is working as expected). The second account is a 'service account' (not a shared account I don't think, pretty sure that's something else since a shared account can't be logged into directly or have it's own password, and this one is) - so I'm not sure if that might be an issue or not.
Anyway, not sure if I should file a bug report for this?
Thanks!
Comment 7•4 months ago
|
||
Yes, please file a bug. First, if you can, test with latest Daily.
Comment 8•1 month ago
|
||
Is there something we can do so that Thunderbird automatically uses EWS (or Graph API later) when an account from our domain is added?
Usually it should be enough to check if autodiscover.company.com redirects to Microsoft.
Microsoft requires a CNAME of autodiscover that goes to autodiscover.outlook.com.
Comment 9•1 month ago
|
||
(In reply to PC-SPEZIALIST from comment #8)
Is there something we can do so that Thunderbird automatically uses EWS (or Graph API later) when an account from our domain is added?
Usually it should be enough to check if autodiscover.company.com redirects to Microsoft.
Microsoft requires a CNAME of autodiscover that goes to autodiscover.outlook.com.
Thunderbird should try to detect an Exchange configuration via either https://autodiscover.company.com/..., https://company.com/... and http://autodiscover.company.com/..., as well as via an SRV lookup on _autodiscover._tcp.company.com. If the request to the HTTP URL (as in, the third one in this list) leads in a redirect that redirect is followed. Note that we don't just check whether the request redirects to Microsoft, but we try to fetch a configuration from it (otherwise we might not know where to send API requests, as our Microsoft AutoDiscover support caters both Exchange Online accounts and on-premises ones).
If Exchange/EWS is not offered to you when adding an account on your domain despite a working AutoDiscover setup, I'd encourage you to open a new bug (as this one is a meta-bug that's here to track any piece of work related to the support of Exchange accounts).
Updated•1 month ago
|
Comment 10•1 month ago
|
||
(In reply to PC-SPEZIALIST from comment #8)
Is there something we can do so that Thunderbird automatically uses EWS (or Graph API later) when an account from our domain is added?
Usually it should be enough to check if autodiscover.company.com redirects to Microsoft.
Microsoft requires a CNAME of autodiscover that goes to autodiscover.outlook.com.
We did for our organization what you are asking by defining a autoconfig.<my domain> DNS entry which responds with a XML configuration file. When the user tries to add a new @<my domain> account in TB, the only thing they must do is choose Exchange Web Services from the wizard (since our e-mail is hosted in EWS), all other details are omitted from entry. So, in other words, yes, you can do such a configuration if manually selecting EWS from the account wizard is acceptable for you.
Comment 11•1 month ago
|
||
FYI - I filed https://bugzilla.mozilla.org/show_bug.cgi?id=2001745 a while back about issues I was seeing with MS365 autodiscover. It's been closed but I still think it's an issue. Not sure if it's the same as being seen here or not.
Comment 12•1 month ago
|
||
(In reply to Orion Poplawski from comment #11)
FYI - I filed https://bugzilla.mozilla.org/show_bug.cgi?id=2001745 a while back about issues I was seeing with MS365 autodiscover. It's been closed but I still think it's an issue. Not sure if it's the same as being seen here or not.
Thanks. That looks exactly like our problem, Orion. I cannot add a comment there though.
Did you change something in the meantime? When I send a CNAME lookup for your autodiscover subdomain it shows proxy-sea01 instead of autodiscover.outlook.com. π€
Comment 13•1 month ago
|
||
(In reply to Vasilis Lourdas from comment #10)
(In reply to PC-SPEZIALIST from comment #8)
Is there something we can do so that Thunderbird automatically uses EWS (or Graph API later) when an account from our domain is added?
Usually it should be enough to check if autodiscover.company.com redirects to Microsoft.
Microsoft requires a CNAME of autodiscover that goes to autodiscover.outlook.com.
We did for our organization what you are asking by defining a autoconfig.<my domain> DNS entry which responds with a XML configuration file. When the user tries to add a new @<my domain> account in TB, the only thing they must do is choose Exchange Web Services from the wizard (since our e-mail is hosted in EWS), all other details are omitted from entry. So, in other words, yes, you can do such a configuration if manually selecting EWS from the account wizard is acceptable for you.
I cannot load autoconfig.lourdas.eu. π
May you please share your XML because I am not sure how to configure it properly for Microsoft 365. π
Thanks! π
Comment 14•1 month ago
|
||
(In reply to PC-SPEZIALIST from comment #13)
I cannot load autoconfig.lourdas.eu. π
May you please share your XML because I am not sure how to configure it properly for Microsoft 365. π
Thanks! π
lourdas.eu is my personal domain. I was referring to our business work domain. Give me your e-mail and I will send you the xml file tomorrow when I'm at work.
Updated•1 month ago
|
Updated•14 days ago
|
Description
•