Microsoft have just turned off Basic Authentication on my Office365 instance.
How can I (using ERPNext’s hosted service on ERPNext v13.40) get email working again?
If the answer is not as simple as “click a button and follow the steps” then ERPNext cannot claim to be a mature product.
The answer above from u/revant_one is, I’m sure, a technically excellent answer, but it’s not something I can fully understand, or implement on the hosted service.
@fishter, from what I’ve been through the last few months, I’m afraid there isn’t an easy process for this. It’s apparently not supported out of the box yet. The only solution I haven’t tried is the one suggested by @revant_one, but this requires a developer, and I’m not one!
@avc, it won’t always work that easily (if it worked for you, then great), as I had to spend months with Microsoft support team to enable IMAP and basic auth for my org.
This is the reason for my post, I’m hoping this will trigger @rmehta and the team to work on it. Many organizations use O365 nowadays, and this is such a crucial feature. I love the platform with all what it has to offer, but if doesn’t work for me, I’ll have to (sadly) use another system and stop recommending ERPNext.
May you should consider alternative mail service. For exemple hosting your own mail software (postfix,dovecot,etc…) and go for NextCloud as Collaborative workplace
I agree it’s not an easy part, but many service provider can offer you the same service base on less closed software.
The fact that Frappe do not provide Office 365 native connector is a sign that we should change for other more open source alternative, always to keep your independence. It will avoid problem, like now, when they decide to change without any consultation and consent from users the technical service access
For most organizations, hosting your own mail service could be an insane nightmare …
I really understand this changes on Microsoft 365 auth system … there would be many security reasons to avoid basic auth connections. And this changes have been announced time ago. Google made something like this too.
I think that framework support for Microsoft 365 services is needed. So … Frappe maintainers probably have other many things in todo list, I completely understand it. … While develop this feature and integrate it properly seems is not easy task (IMHO)… What about to sponsor this? This is other way to contribute back.
We would are willing to. I think is doable if other people are willing too.
Regards.