web
You’re offline. This is a read only version of the page.
close
Skip to main content
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?  
I have the same question (0)
  • 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
    Workflow stopped on Microsoft Dynamics 365 Finance and Operation
  • 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,258

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 631 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans