Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Workflow stopped: Failed to create a session

(1) ShareShare
ReportReport
Posted on by 2
Dears,

Error Message: 
Stopped (error): X++ Exception: Failed to create a session; confirm that the user has the proper privileges to log on to Microsoft Dynamics 365 for Finance and Operations.
 at SysWorkflowDocument-assert
SysWorkflowDocument-assertPermission
SysWorkflowWorkItem-create
SysWorkflowWorkItem-createWorkItems
SysWorkflow-save
SysWorkflowQueue-resume

Could someone help me to solve this issue?  
  • Suggested answer
    VT D365 FO Profile Picture
    5 on at
    Workflow stopped: Failed to create a session
    for this error the solution we found is
     
    s1: check who are list of users who will get the workflow for approval 
    s2: one or more of them users must be inactive in AD hence the error 
    solution : disable that user in D365 FO who is inactive in AD.
  • Alexio Pfumai Profile Picture
    344 on at
    Workflow stopped: Failed to create a session
    Hi... Can you check if all the users who should approve are available in Azure AD. This error usually pops up when one of the approvers is not available in Azure AD(ie the user was created manually).
     
    Kind regards
  • GirishS Profile Picture
    27,825 Moderator on at
    Workflow stopped: Failed to create a session
    If possible, please post the screenshot of the workflow history.
     
    Thanks,
    Girish S.
  • Community member Profile Picture
    2 on at
    Workflow stopped on Microsoft Dynamics 365 Finance and Operation
    Dear Girish,

    I have checked the accessibility of the user to the system, and he has access. 
    yes, it's related to Dynamics 365 F&O. Actually this is the first time I posted here, next time I will post on the right forum.

    Regards, 
    Tarik Alyateem
  • Suggested answer
    Mohit Rampal Profile Picture
    12,563 Moderator on at
  • Suggested answer
    GirishS Profile Picture
    27,825 Moderator on at
    Workflow stopped on Microsoft Dynamics 365 Finance and Operation
    Hi,
     
    Approval going to the user doesn't have access to D365 F&O environment, I guess.
    Try to import that user from AD and then try again.
    Also please confirm this is related to D365 FO - So I can move to that forum.
    Next time you post please see that and post.
     
    Thanks,
    Girish S.
     

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 565

#2
Martin Dráb Profile Picture

Martin Dráb 536 Most Valuable Professional

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 402 Super User 2025 Season 1

Product updates

Dynamics 365 release plans