Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microsoft accounts for Hotmail, Live.com, Office365 und Web-Outlook no longer working / supported - OAUTH2 support needed #261

Open
io2345 opened this issue Jul 20, 2024 · 12 comments

Comments

@io2345
Copy link

io2345 commented Jul 20, 2024

Microsoft will enforce the security of it's Email-Products, it will not be possible to use simply Username+Password after 16.September 2024. See here: https://techcommunity.microsoft.com/t5/outlook-blog/keeping-our-outlook-personal-email-users-safe-reinforcing-our/ba-p/4164184
Is there anything planned for the email-plugin of ioBroker? Or can these accounts no longer be used then?

@Apollon77
Copy link
Member

let's phrase it that way ... As long as microsoft mot tell exact details on what and how it needs to be done and which "new" more secure options they apple it is hard to tell anything. But likely yes it will not work until someone adjusted it to whatever microsoft uses and not tell before ... grmpff

@mcm1957
Copy link
Member

mcm1957 commented Jul 21, 2024

Due to the very short timeframe MS$ used to annoucne this, do not assume that an adaption will be done until Sepztember.
If you know a detailled specification how an access could be done to MS$ servers please provide a link.

@mcm1957
Copy link
Member

mcm1957 commented Jul 21, 2024

let's phrase it that way ... As long as microsoft mot tell exact details on what and how it needs to be done and which "new" more secure options they apple it is hard to tell anything. But likely yes it will not work until someone adjusted it to whatever microsoft uses and not tell before ... grmpff

Sieht so aus als würe MS$ OAUTH verlangen:
https://support.microsoft.com/de-de/office/moderne-authentifizierungsmethoden-sind-jetzt-erforderlich-um-die-synchronisierung-von-outlook-e-mails-in-nicht-microsoft-e-mail-apps-fortzusetzen-c5d65390-9676-4763-b41f-d7986499a90d

@mcm1957
Copy link
Member

mcm1957 commented Jul 21, 2024

nodemailer untersützt scheinbar oauth

https://github.com/nodemailer/nodemailer/blob/master/examples/oauth2.js

@mcm1957
Copy link
Member

mcm1957 commented Sep 28, 2024

@tecfreakz
Copy link

tecfreakz commented Oct 6, 2024

Seit kurzem scheint Outlook/Hotmail/M365 nicht mehr mit diesem Adapter zu funktionieren.

email.0 | 2024-10-06 15:18:32.686 | error | Error 535 5.7.139 Authentication unsuccessful, basic authentication is disabled. [FR4P281CA0420.DEUP281.PROD.OUTLOOK.COM 2024-10-06T13:18:32.682Z 08DCE51CB70F88C4] -- | -- | -- | --

:(

Gibt's Ideen, wie man das wieder zum Laufen bekommt?

Edit: Ich habe jetzt auf gmail mit dem iobroker gewechselt, mir ein App PW erstellt und nun scheint's wieder zu laufen. Bei meiner Fritzbox trat das Problem auch auf, die ist jetzt auch mit gmail über ein APP PW connected.

Wäre aber super, wenn dieser Adapter in Zusammenhang mit Outlook wieder läuft! Gmail vertraue ich etwas weniger, als M$ ;)

@mcm1957
Copy link
Member

mcm1957 commented Oct 6, 2024

Gibt's Ideen, wie man das wieder zum Laufen bekommt?

Currently no developer has picked up this issue. If ANYONE wants to support, he/she is welcome. Please provide a PR and / or contact us.

@io2345
Copy link
Author

io2345 commented Nov 9, 2024

Just for my understanding: If this adapter is based on nodemailer, and nodemailer supports oauth - can it really be so hard to get things up and running again (for microsoft-based accounts like hotmail)?

@mcm1957
Copy link
Member

mcm1957 commented Nov 9, 2024

Feel free to provide a PR. It would be welcome for sure.

@mcm1957 mcm1957 added the bug label Nov 18, 2024
@mcm1957 mcm1957 changed the title How to use this adapter on accounts for Hotmail, Live.com, Office365 und Web-Outlook after September 16. ? How to use this adapter on accounts for Hotmail, Live.com, Office365 und Web-Outlook after September 16. ? - and GMAIL after 1.1.2025 Dec 13, 2024
@mcm1957
Copy link
Member

mcm1957 commented Dec 13, 2024

GMAIL requires oauth starting with 1.1.2025 too if the follwoing link is correct
https://support.google.com/a/answer/14114704?sjid=3966942068221268267-EU

CORRECTION Edit 14.12.2024
This link seesms to be unrelated to normal private gamial accounts. The migration seems to refer to WORKSPACE Users only

@UncleSamSwiss
Copy link
Contributor

Just for my understanding: If this adapter is based on nodemailer, and nodemailer supports oauth - can it really be so hard to get things up and running again (for microsoft-based accounts like hotmail)?

AFAIK you need a client ID and a client secret for OAuth. We can (for obvious reasons) not provide these in the adapter. So, I'm not sure how we can get this working for everybody, unless users are ready to create these credentials themselves.

@mcm1957 mcm1957 changed the title How to use this adapter on accounts for Hotmail, Live.com, Office365 und Web-Outlook after September 16. ? - and GMAIL after 1.1.2025 How to use this adapter on accounts for Hotmail, Live.com, Office365 und Web-Outlook after September 16. ? Dec 14, 2024
@tarikweiss
Copy link

Alright, just checked the transition timeline of Microsoft. It is extraordinary confusing. In the german article you get a suggestion how to use the service with "Security Cameras" which are just supporting the normal SMTP login. In the english version of the article there is just the first sentence, which is indicating such use case. Furthermore there is this very definitive article about the transition time https://support.microsoft.com/en-us/office/modern-authentication-methods-now-needed-to-continue-syncing-outlook-email-in-non-microsoft-email-apps-c5d65390-9676-4763-b41f-d7986499a90d . And then there is the microsoft account stating, that app-passwords still supported, but not specifying their exact use cases (except Xbox360). After all, there is just the way to switch to OAuth. The further consequences have been explained already.

@mcm1957 mcm1957 changed the title How to use this adapter on accounts for Hotmail, Live.com, Office365 und Web-Outlook after September 16. ? Microsoft accounts for Hotmail, Live.com, Office365 und Web-Outlook no longer working / supported Dec 14, 2024
@mcm1957 mcm1957 changed the title Microsoft accounts for Hotmail, Live.com, Office365 und Web-Outlook no longer working / supported Microsoft accounts for Hotmail, Live.com, Office365 und Web-Outlook no longer working / supported - OAUTH2 suppoert needed Dec 14, 2024
@mcm1957 mcm1957 changed the title Microsoft accounts for Hotmail, Live.com, Office365 und Web-Outlook no longer working / supported - OAUTH2 suppoert needed Microsoft accounts for Hotmail, Live.com, Office365 und Web-Outlook no longer working / supported - OAUTH2 support needed Dec 14, 2024
@mcm1957 mcm1957 added bug and removed bug labels Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants