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

[FEATURE] Office 365: Anbindung von Postfächern mit 2FA / MFA #2724

Open
9 of 10 tasks
j-dimension opened this issue Dec 5, 2024 · 1 comment · May be fixed by #2725
Open
9 of 10 tasks

[FEATURE] Office 365: Anbindung von Postfächern mit 2FA / MFA #2724

j-dimension opened this issue Dec 5, 2024 · 1 comment · May be fixed by #2725
Labels
e-mail Issue weist Bezug zu e-mail auf enhancement New feature or request
Milestone

Comments

@j-dimension
Copy link
Member

j-dimension commented Dec 5, 2024

Anderer Anmeldeprozess (Device Code Flow)

  • Postfach koppeln, initialen Auth und Refresh Token holen und am Postfach speichern
  • zyklisch Auth Token refreshen (am Server, damit das Postfach auch für die Automatisierung genutzt werden kann)
  • Client muss Auth Token als Passwort nutzen, also den aktuellen Auth Token immer vom Server abfragen
  • Server muss Auth Token als Passwort nutzen, also den aktuellen Auth Token immer von der Datenbank abfragen
  • Client muss erkennen, wenn Postfach neu gekoppelt werden muss
  • testReceiveMail
  • testSendMail
  • "Einstellungen testen" für O365
  • neuen Tokenwert erkennen und automatisch neu verbinden
  • Dokumentation
@j-dimension j-dimension added the enhancement New feature or request label Dec 5, 2024
@j-dimension j-dimension added this to the 3.1 milestone Dec 5, 2024
@j-dimension j-dimension moved this to In Progress in j-lawyer.org 3.1 Dec 5, 2024
@j-dimension j-dimension added the e-mail Issue weist Bezug zu e-mail auf label Dec 5, 2024
j-dimension added a commit that referenced this issue Dec 6, 2024
j-dimension added a commit that referenced this issue Dec 6, 2024
j-dimension added a commit that referenced this issue Dec 6, 2024
j-dimension added a commit that referenced this issue Dec 6, 2024
@j-dimension j-dimension linked a pull request Dec 6, 2024 that will close this issue
@j-dimension
Copy link
Member Author

Steps to Enable SMTP Authentication

Enable SMTP Client Authentication at the Tenant Level
    Log in to the [Microsoft 365 Admin Center](https://admin.microsoft.com/).
    Navigate to Settings > Org settings.
    Under Services, select Modern authentication.
    Ensure that the checkbox for Allow clients to connect using modern authentication protocols (IMAP, SMTP, etc.) is enabled.

Enable SMTP Authentication for the User If SMTP is disabled for the specific user account, you need to enable it:
    Go to the Microsoft 365 Admin Center.
    Navigate to Users > Active users.
    Select the user in question and open Mail settings.
    Under Email apps, ensure Authenticated SMTP is enabled.

Verify Multi-Factor Authentication (MFA) Settings If your user has MFA enabled, ensure that you're using OAuth2 for SMTP. Basic authentication won't work with MFA.

Check Security Defaults If Security Defaults are enabled in Azure AD, they might block SMTP authentication. To disable security defaults:
    Go to the Azure Portal.
    Navigate to Azure Active Directory > Properties.
    Scroll down to Manage Security Defaults and disable them.

j-dimension added a commit that referenced this issue Dec 6, 2024
j-dimension added a commit that referenced this issue Dec 6, 2024
j-dimension added a commit that referenced this issue Dec 6, 2024
j-dimension added a commit that referenced this issue Dec 6, 2024
j-dimension added a commit that referenced this issue Dec 6, 2024
j-dimension added a commit that referenced this issue Dec 8, 2024
j-dimension added a commit that referenced this issue Dec 10, 2024
j-dimension added a commit that referenced this issue Dec 10, 2024
j-dimension added a commit that referenced this issue Dec 10, 2024
@j-dimension j-dimension moved this from In Progress to Testing in j-lawyer.org 3.1 Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
e-mail Issue weist Bezug zu e-mail auf enhancement New feature or request
Projects
Status: Testing
Development

Successfully merging a pull request may close this issue.

1 participant