Skip to main content
Post a question

Notifications

Community site session details

Community site session details

Session Id : 183xicPi6t8Bbn4Y2+aR5s
Microsoft Dynamics AX (Archived)

By Mistake workflow owner deleted from Active Directory

Like (0) ShareShare
ReportReport
Posted on 14 Jul 2019 08:33:06 by 2,165

Dear All,

Unfortunately Workflow owner user id deleted from active directory and workflow shopped.

I created same user id in active directory but not able to import it to Dynamics AX error" User already exists" even try to delete gave me error "Cannot delete batch job in the executing or cancelling state" and "Cannot delete a record in Batch job (BatchJob).The corresponding AOS validation failed."

even not able to delete Batch Job.

066457.error.jpg

Please help me to fix this.

*This post is locked for comments

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    293,435 Super User 2025 Season 1 on 14 Jul 2019 at 19:56:44
    RE: By Mistake workflow owner deleted from Active Directory

    Hi Faiz7049,

    You used the tag AX 2009, but I also read something about AX 2012. I do assume this is related to AX 2012. If the user already exists (same email and ID used), you can find the user in the users list; disable the user; save the record and enable the user. Then the new SID ID will be linked to the old User ID in AX 2012 which should fix your issue.

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on 14 Jul 2019 at 16:28:50
    RE: By Mistake workflow owner deleted from Active Directory

    Hi,

    The workflow owner is configured in the workflow designer. You should be able to change this user by another one. No deletion is necessary here only a configuration.

    Best regards 

    Ludwig 

  • faiz7049 Profile Picture
    2,165 on 14 Jul 2019 at 13:44:11
    RE: By Mistake workflow owner deleted from Active Directory

    Thanks for reply, Than how to delete users which already deleted from Active directory by mistake from AX 2012 user form.

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on 14 Jul 2019 at 10:20:20
    RE: By Mistake workflow owner deleted from Active Directory

    Hi,

    Can't you simply assign a different workflow owner possibly a 'generic' admin account / user that is not related to an employee who might leave one day?

    As long as the workflow owner is not directly addressed in a workflow step, this should only be a simple change in the workflow configuration.

    Best regards,

    Ludwig

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

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... 293,435 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,567 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans
Loading complete