Error sending Email using Oauth 2.0 modern authentication

Userlevel 4

I configured emails using azure Modern authentication. On email address I specified which I used to sign in to the azure application.
On reply address I specified, still an account in office 365.

I tried to send email now using but got the following error in Acumatica.


It seems I cannot send emails through the created application using any user.
Could I have left out any permissions, or what might be causing this?

Kindly assist 
Thank you all.

7 replies

Badge +12

I'm thinking maybe the account you sign in with needs to have delegated Send As or Full Control of the Reply mailbox.

Userlevel 4

I'm thinking maybe the account you sign in with needs to have delegated Send As or Full Control of the Replay mailbox.

I had specified the following delegated permissions on the account I signed with i.e.



Badge +12

No, those are graph permissions.

You can delegate one user as having permissions to a mailbox, meaning they can sign in with their own credentials and access a different mailbox.

Userlevel 2

Hi @development93 ,

I hope you have completely configured Azure Settings, after this, in System Email Account Specify these settings




If this is not working please share the error which you facing.

Thank you.


Userlevel 4

yeah, I did all the above.

the error I am facing is;

But am trying to manipulate the permission as @darylbowman suggested.

Userlevel 4
Badge +1

Hi Michael,

I noticed that your screen shot does not show any server for outgoing mail server. It should have one.

Also, I am not sure the retry email address is checked. My understanding is that it should not make any difference what address is used for the reply. I recommend the following test: use the same email address for Email Address and Reply address. If you get the same error then the reply address is out of the picture and the issue is with the Email address. 


Was this error sorted?




About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved