web
You’re offline. This is a read only version of the page.
close
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

Timesheet workflow error : Stopped (error): X++ Exception: User XXX not found.

(0) ShareShare
ReportReport
Posted on by 115

Hello everybody,

I read some posts on this topic, but I didn't find the solution.

I presume I made a mistake in the past but I fixed it and it doest work.

SO summary

I have a worker (Lucy P.) who submitted timesheet.

Worker's position is : P1.1.0.1.3

In the position's detail this position reports to position P1.1.0.1. This position is dedicated to worker Colleen S.

This worker (Colleen S.) is related to a user (userid is colleen.)

User is enabled... but in the past I updated with sql request the field enable with value 0.

with enable value 0 I dot this message in the workflow

"01/06/2021 11:14:37:
Stopped (error): X++ Exception: User colleen. not found.
at SysWorkflowDocument-assert
SysWorkflowDocument-assertPermission
SysWorkflowWorkItem-create
SysWorkflowWorkItem-createWorkItems
SysWorkflow-save
SysWorkflowQueue-resume"

I updated the field (sql) - I can't do it in the form because I have an error message (The Active Directory user or group does not exist. Contact your network administrator.)

then I resumed the workflow but I still have the message

01/06/2021 14:20:39:
Stopped (error): X++ Exception: User colleen. not found.
at SysWorkflowDocument-assert
SysWorkflowDocument-assertPermission
SysWorkflowWorkItem-create
SysWorkflowWorkItem-createWorkItems
SysWorkflow-save
SysWorkflowQueue-resume

Do you have any idea ? 

I have the same question (0)
  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi,

    If you start a completely new timesheet workflow do you still get the message?

    Rather than resuming the workflow, it might be better canceling it and start this specific timesheet workflow from scratch, which might involve creating the timesheet new again.

    Best regards,

    Ludwig

  • Christophe BOURNAC Profile Picture
    115 on at

    Hi Reinhard,

    I tried both of solution with always the same result.

    But what is really stranged, this is that TODAY, I resumed the workflow again... and everything was OK. Work item were created and assigned to user Colleen S.

    Thank's for your answer.

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    301,020 Super User 2025 Season 2 on at

    Hi Christophe,

    If you update date directly in SQL, it will not be recognized if caching needs to be refreshed. As there is a nightly flush, it now can read the correct value for the Enabled field.

    For the error "The Active Directory user or group does not exist.", you can check the details of the UserInfo form if all users and groups are known in your Active Directory and if the data per user (Network alias, Domain and SID) is stored correctly.

  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hello Christophe,

    You mean that today everything works fine again and that your issue is resolved?

    Best regards,

    Ludwig

  • Verified answer
    Christophe BOURNAC Profile Picture
    115 on at

    Yes, this is what I noticed today

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 646 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans