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

AX2012 R3 workflow error

(0) ShareShare
ReportReport
Posted on by 3,475

Hello,

im facing this issue even as the user has all the permissions while processing the purchase requisition workflow.

Stopped (error): X++ Exception: Failed to create a session; confirm that the user has the proper privileges to log on to Microsoft Dynamics.
 at

what could be issue?

I have the same question (0)
  • Suggested answer
    Zain Mehmood Profile Picture
    4,187 Most Valuable Professional on at

    Hi Naveen,

    The user doesn't have proper privileges or rights to approve the work flow. The user to which the work flow is directing to should have the proper rights. Please check what rights have been attached with the Approving user. This can be seen in system administration> user.

    Warm Regards,

    Zain

  • Suggested answer
    Ehab_altammam Profile Picture
    150 on at

    in addition to above mentioned by Zain , you could get this if the user is disabled/Deleted  as well.

  • NaveenKumar S Profile Picture
    3,475 on at

    the user is system administrator

  • Suggested answer
    Zain Mehmood Profile Picture
    4,187 Most Valuable Professional on at

    Hi Naveen,

    Is this happening with every user with system administrator rights or only this user? Check if it is happening with this user only or not.

    Warm Regards,

    Zain

  • Suggested answer
    SouravDam Profile Picture
    11,730 on at

    Hi Naveen Kumar Somanagoudar ,

    This sounds like user do not have the privilege to log in ERP. Appreciate if you can share any screen shot for this.

    You have to check the following.

    --- Please ensure that the user ID of this approver is set to Enabled in "Users" form in system admin module.

    --- Also make sure that "Person" is linked with this user ID in 'Users' form.

    In addition to that; please make sure below are configured properly in terms of avoiding any further issue related to it.

    --- Appropriate roles have been assigned to this user.

    --- Check if proper privilege has been assigned to this user to approve the PR. You can check if any such privilege is available in AX "Approve purchase requisitions". Below screen shot is taken from D365 for your understanding.

    7723.JPG

    --- If your workflow configuration is designed based on participant or even hierarchy based; then make sure that "Position hierarchy" is assigned properly as well as a department is assigned to this user.

    Kindly review and update in this forum.

    Best regards,
    Sourav Dam

    Kindly mark this thread 'Yes' if this is answered your query which may help other community members in this forum.

  • NaveenKumar S Profile Picture
    3,475 on at

    All the settings are intact, no changes are done, last month the end user not faced this issue.

    pastedimage1576149136165v1.png

  • Ehab_altammam Profile Picture
    150 on at

    Can you go to  the Tracking details tab  .. so you will have the full error message .

  • Suggested answer
    SouravDam Profile Picture
    11,730 on at

    Hi Naveen Kumar Somanagoudar ,

    Would like to know if you have checked the suggestions already posted in this thread?

    Are you still getting this error even after applying those suggestions?

    Have you checked if the user ID is enabled in the "Users" form or not. Once this is enabled; please refresh or close the form and re-open and then see if you are still facing similar challenges.

    Kindly check and update us.

    Best regards,
    Sourav Dam

    Kindly mark this thread 'Yes' if this is answered your query which may help other community members in this forum.

  • Suggested answer
    NaveenKumar S Profile Picture
    3,475 on at

    Hello,

    we found the issue, this was due to the fact that the user was the approver in the workflow and this user has left the organization. however there was a worker defined in the HR module and linked to the user present in AX system who is enabled, but the user was removed/disabled from AD by the infra team and this was reason that we were getting the issue.

    Regards,

  • Verified answer
    SouravDam Profile Picture
    11,730 on at

    Hi Naveen Kumar Somanagoudar,

    In that case; do the following.

    --- Open the workflow configuration.

    --- Removed this user (who already left the organization) as an approver.

    --- You may select another user in case if no other approver is there in the configuration.

    --- Save and update the workflow configuration in ERP.

    Once this is done; a new version of the workflow will be created. Activate this version and ask the user to resubmit the document for approval again so that it can be processed through the new version this time.

    Best regards,
    Sourav Dam

    Kindly mark this thread 'Yes' if this is answered your query which may help other community members in this forum.

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

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans