Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Batch job status for email alerts cancelled

(0) ShareShare
ReportReport
Posted on by 1,375

Hi, 

I have a batch job for a change based alert (with no expiration date) that goes to status "Cancelled" all the time. Anyone knows potential reasons for this? 

The result is that the user doesn't receive the email alert when the change happens where the alert is established. This used to work fine but since a couple of months back it stopped working. I'm trying to figure out why the batch job status gets cancelled. 

pastedimage1601890218309v1.png

  • Verified answer
    Sergei Minozhenko Profile Picture
    23,091 on at
    RE: Batch job status for email alerts cancelled

    Hi CapsLock,

    You can't assign it to yourself, you need to find login and password for admin (you can check alias name on the user form, it's AD user name) or check internally if you have a batch dedicated account in AX.

    When you get admin user (or batch account) and successfully log in to AX, you need to go to System administration - Periodic - Alerts - Change based alerts and set up batch processing from there (check batch group and recurrence from old job).

  • CapsLock Profile Picture
    1,375 on at
    RE: Batch job status for email alerts cancelled

    Hi Sergei, thanks again for your response. I see the user "Admin" in the list of users. How do I assign this to myself?. I see also in this post below that this is something that shouldn't be done very often but I guess this is one of those occasions when you should use it:

    Only use the AX Admin account, like your Domain\Administrator account, for emergency and/or extreme maintenance and never on a daily basis.

    community.dynamics.com/.../109300

    Also, once I have the Admin user and I go to system admin > Inquiries > Batch jobs. I click on File > new and create a new batch job under the Admin user. How do I link this batch job with the change based alert?

  • Verified answer
    Sergei Minozhenko Profile Picture
    23,091 on at
    RE: Batch job status for email alerts cancelled

    Hi CapsLock,

    There is an account in users form with user Id =  "Admin". You can use that one if you don't have a dedicated account for batch processing user.

  • CapsLock Profile Picture
    1,375 on at
    RE: Batch job status for email alerts cancelled

    What do you mean when you say "using admin"?

    The user who created the alert had admin rights assigned at the time of alert creation.

    Should I log in to AX with special account and create the alert from there? Is that even possible?

  • Verified answer
    Sergei Minozhenko Profile Picture
    23,091 on at
    RE: Batch job status for email alerts cancelled

    Hi CapsLock,

    I'm not sure. But it's best practice to create batch job using admin or dedicated batch account. You can try to create new batch job under this kind of account and check if it works.

  • CapsLock Profile Picture
    1,375 on at
    RE: Batch job status for email alerts cancelled

    Hi Sergei,

    Thanks for your prompt response. I checked the General tab and it was cancelled by the AOS. In that general tab I also saw that the user ID assigned to the batch job is a user that is no longer in the company. Can that be the reason?

  • Sergei Minozhenko Profile Picture
    23,091 on at
    RE: Batch job status for email alerts cancelled

    Hi CapsLock,

    There should be Cancelled by field on General tab, do you see it? Do you see user id here? Maybe it was canceled by the user intentionally.

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,351 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,029 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans