Question

Error sending Email using Oauth 2.0 modern authentication

  • 9 June 2023
  • 7 replies
  • 195 views

Userlevel 4
Badge

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

I tried to send email now using support@xxx.com 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 
Urgent!
Thank you all.


7 replies

Badge +11

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
Badge

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. donotreply@xxx.com

 

 

Badge +11

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.

https://learn.microsoft.com/en-us/exchange/recipients-in-exchange-online/manage-permissions-for-recipients

Userlevel 2
Badge

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
Badge

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. 

Badge

Was this error sorted?

 

Thanks

Reply


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