web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Not receiving email alerts when batch job ends with error

(0) ShareShare
ReportReport
Posted on by 369

Hi,

I have configured a batch job to sending an alert when it finishes with error.

The alert trows ang gets the relay who sends to Exchange Online but this refuses the email

The SMTP relay is very clear, it shows a 554+5.2.252+SendAsDenied message.

The problem is because the batch job is not using any template and sends the email as the owner of the bacth job.

I know the workaround is configure in the account to allow sending as other user, but my question is why this kind of emails don't use a template? Or I'm missing something because it doesn't does

Will be easy just configure an alias instead giving send as or send on behalf permissions

Any other idea? I think my setup is right because we are receiving workflow emails and change based alerts. The only one that does not work properly are emails from batch jobs

Thanks

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 683 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 563 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 398 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans