App Passwords cant be used if Security Defaults is enabled:
https://learn.microsoft.com/en-us/azure/active-directory/fundamentals/concept-fundamentals-security-defaults#authentication-methods
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
We try to send emails from an application with an Office 365 Account.
The configuration is the following:
gitlab_rails['smtp_enable'] = true
gitlab_rails['smtp_address'] = "smtp.office365.com"
gitlab_rails['smtp_port'] = 587
gitlab_rails['smtp_user_name'] = "******@ourdomain.ai"
gitlab_rails['smtp_password'] = "app_password"
gitlab_rails['smtp_domain'] = "ourdomain.ai"
gitlab_rails['smtp_authentication'] = "login"
gitlab_rails['smtp_enable_starttls_auto'] = true
gitlab_rails['smtp_openssl_verify_mode'] = 'peer'
gitlab_rails['gitlab_email_from'] = '******@ourdomain.ai'
It's still doesn't work:
535 5.7.139 Authentication unsuccessful, basic authentication is disabled
Note: Disable the Azure Security Defaults is not an option.
Thank you in advance for your help.
Best,
Maxime
App Passwords cant be used if Security Defaults is enabled:
https://learn.microsoft.com/en-us/azure/active-directory/fundamentals/concept-fundamentals-security-defaults#authentication-methods