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 :
Supply chain | Supply Chain Management, Commerce
Suggested answer

Users unable to perform Purchase Order confirm due to the error

(0) ShareShare
ReportReport
Posted on by 15

HI Team,

We have recently upgraded our PROD environment to V31 and since then we are getting the below issue:

Whenever users are trying to confirm a PO the below error pops up:

ERROR: Exception during RunAs call to AsyncMethod: className: [SysOperationSandbox], method: [operationExecutionWrapper], sessionCeated: [False] Microsoft.Dynamics.Ax.Xpp.ErrorException: 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 Microsoft.Dynamics.Ax.MSIL.Interop.throwException(Int32 ExceptionValue, interpret* ip) at Microsoft.Dynamics.Ax.MSIL.Interop.createSession(String userId, String company, String language, String partitionKey, Int32 workLoadType) at Microsoft.Dynamics.Ax.MSIL.Interop.createRunAsSession(String userId, String company, String language, String partitionKey, WorkLoadTypeEnum workLoadType) at Microsoft.Dynamics.Ax.MSIL.XppSession.Start(String userId, String company, String language, String partitionKey, Int32 workLoadType) at Microsoft.Dynamics.Ax.Xpp.AsyncTask.callAsyncMethod(WeakReference parentSessionWeakReference, Int32 classId, String staticMethodName, Object[] parms, CancellationToken cancellationToken, String userId, String company, String language, String partitionKey, Object[]& exportInfolog, Guid callerActivityId, String callerSessionLoggableKey, String executionType, Nullable`1 dateTimeParentSession) in D:\dbs\sh\l23t\0201_210450_0\cmd\o\Source\Kernel\xppil\XppSupport\AsyncTask.cs:line 688

Can someone suggest me what is the above error is all about?

IS there any solution for that?

I have the same question (0)
  • D365 Mania Profile Picture
    15 on at
    RE: Users unable to perform Purchase Order confirm due to the error

    Can  I have some suggestion on this please?

  • Suggested answer
    Siv Sagar Profile Picture
    4,236 Super User 2025 Season 2 on at
    RE: Users unable to perform Purchase Order confirm due to the error

    Hi ,

    Check the privileges given to the user and verify.

    ERROR: Exception during RunAs call to AsyncMethod: className: [SysOperationSandbox], method: [operationExecutionWrapper], sessionCeated: [False] Microsoft.Dynamics.Ax.Xpp.ErrorException: 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 Microsoft.Dynamics.Ax.MSIL.Interop.throwException(Int32 ExceptionValue, interpret* ip) at Microsoft.Dynamics.Ax.MSIL.Interop.createSession(String userId, String company, String language, String partitionKey, Int32 workLoadType) at Microsoft.Dynamics.Ax.MSIL.Interop.createRunAsSession(String userId, String company, String language, String partitionKey, WorkLoadTypeEnum workLoadType) at Microsoft.Dynamics.Ax.MSIL.XppSession.Start(String userId, String company, String language, String partitionKey, Int32 workLoadType) at Microsoft.Dynamics.Ax.Xpp.AsyncTask.callAsyncMethod(WeakReference parentSessionWeakReference, Int32 classId, String staticMethodName, Object[] parms, CancellationToken cancellationToken, String userId, String company, String language, String partitionKey, Object[]& exportInfolog, Guid callerActivityId, String callerSessionLoggableKey, String executionType, Nullable`1 dateTimeParentSession) in D:\dbs\sh\l23t\0201_210450_0\cmd\o\Source\Kernel\xppil\XppSupport\AsyncTask.cs:line 688

    Regards

    Siv Sagar

    This post is my own opinion and does not necessarily reflect the opinion or view of my company.

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

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 > Supply chain | Supply Chain Management, Commerce

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 810

#2
André Arnaud de Calavon Profile Picture

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

#3
Sagar Suman Profile Picture

Sagar Suman 217 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans