Hi Apurva,
Thank you for reaching out about your email sending issue with your Microsoft work account I understand how frustrating it can be when a setup that once worked smoothly stops functioning after a migration.
Because you were able to send emails from your ERP using a Google work account previously the most likely cause is that your Microsoft 365 mailbox isn’t properly configured for SMTP submission. Microsoft supports three main methods for sending emails from applications like ERPs: authenticated SMTP submission (SMTP AUTH), SMTP relay with a connector or Direct Send.
To get your reports sending again the simplest and most reliable route is SMTP AUTH here’s what you’ll need to do.
Point your ERP’s SMTP settings to: smtp.office365.com
Use port 587 with STARTTLS (TLS) enabled.
Sign in with your full Microsoft 365 email address and password.
Ensure SMTP AUTH is enabled for your mailbox in Exchange Online. You can check this in the Exchange admin center or by using PowerShell.
If your account has Multi-Factor Authentication enabled you'll need to create an App Password or switch to OAuth 2.0 authentication. For app password: create one in the Microsoft account security portal then update your ERP to use that instead of your regular password.
If your ERP supports registering an Azure AD app and using OAuth 2.0 for SMTP that’s preferred for modern authentication. You would need to register the ERP as an app in Entra ID, grant the SMTP.Send permission and configure the authorization flow to get tokens via MSAL.
Once you’ve configured the correct server, port, encryption, authentication method and confirmed SMTP AUTH is enabled (or set up OAuth) test by sending a sample report from the ERP. You should then see messages being sent successfully.
I hope this answer is helpful if you have further questions feel free to reply back
Regards,
Marcelo