Net :: SMTPFatalError in SMTP configuration GitLab - office 365

Guys good morning,

I am configuring Gitlab to send emails through OFFICE 365, when I perform some functions (such as merge-request)

When I run Notify.test_email on the console git displays the following error:

**Net :: SMTPFatalError: 550 5.7.60 SMTP; **Client does not have permissions to send this sender [FR1P15201MB2614.LAMP152.PROD.OUTLOOK.COM]

My settings:

gitlab_rails[‘smtp_enable’] = true
gitlab_rails[‘smtp_address’] = “smtp.office365.com
gitlab_rails[‘smtp_port’] = 587
gitlab_rails[‘smtp_user_name’] = “MY_EMAIL”
gitlab_rails[‘smtp_password’] = “MY_PASSWD”
gitlab_rails[‘smtp_domain’] = “MYDOMAIN.COM
gitlab_rails[‘smtp_authentication’] = “login”
gitlab_rails[‘smtp_enable_starttls_auto’] = true
gitlab_rails[‘smtp_tls’] = false

Log erro:

2018-05-24_10:57:04.75333 2018-05-24T10:57:04.752Z 471 TID-owe2uts6k WARN: {“context”:“Job raised exception”,“job”:{“class”:“ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper”,“wrapped”:“ActionMailer::DeliveryJob”,“queue”:“mailers”,“args”:[{“job_class”:“ActionMailer::DeliveryJob”,“job_id”:“b844d9e2-25eb-476e-8221-9a6c5e585791”,“queue_name”:“mailers”,“arguments”:[“Notify”,“member_access_granted_email”,“deliver_now”,“Group”,326],“locale”:“en”}],“retry”:3,“jid”:“997c5e7d8d2d17538b9990f5”,“created_at”:1527159381.5274081,“enqueued_at”:1527159417.860419,“error_message”:“535 5.7.3 Authentication unsuccessful [CP2PR80CA0052.lamprd80.prod.outlook.com]\n”,“error_class”:“Net::SMTPAuthenticationError”,“failed_at”:1527159381.5359669,“retry_count”:1,“retried_at”:1527159424.7515056},“jobstr”:"{“class”:“ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper”,“wrapped”:“ActionMailer::DeliveryJob”,“queue”:“mailers”,“args”:[{“job_class”:“ActionMailer::DeliveryJob”,“job_id”:“b844d9e2-25eb-476e-8221-9a6c5e585791”,“queue_name”:“mailers”,“arguments”:[“Notify”,“member_access_granted_email”,“deliver_now”,“Group”,326],“locale”:“en”}],“retry”:3,“jid”:“997c5e7d8d2d17538b9990f5”,“created_at”:1527159381.5274081,“enqueued_at”:1527159417.860419,“error_message”:“Couldn’t find Member with ‘id’=326”,“error_class”:“ActiveRecord::RecordNotFound”,“failed_at”:1527159381.5359669,“retry_count”:0}"}

2018-05-24_10:57:04.75338 2018-05-24T10:57:04.753Z 471 TID-owe2uts6k WARN: Net::SMTPAuthenticationError: 535 5.7.3 Authentication unsuccessful [CP2PR80CA0052.lamprd80.prod.outlook.com]

Do you know what that can be?