How can I fix this error on Dynamic 365? Error code: 0x80040265Session Id: 2fd6caca-5fe2-439e-b482-cd4a6b3fd69dActivity Id: 38be937f-e83b-4969-8b56-025c71cb6442Time: Tue Nov 03 2026 10:36:04 GMT-0600 (Mountain Daylight Time)

Dirstein, Jeremy 0 Reputation points
2026-11-03T16:38:12.7466667+00:00

How can I fix this error? Error code: 0x80040265Session Id: 2fd6caca-5fe2-439e-b482-cd4a6b3fd69dActivity Id: 38be937f-e83b-4969-8b56-025c71cb6442Time: Tue Nov 03 2026 10:36:04 GMT-0600 (Mountain Daylight Time)

Microsoft 365 and Office | Other
0 comments No comments

2 answers

Sort by: Most helpful
  1. hassan raza 0 Reputation points
    2026-11-27T08:56:51.85+00:00

    The Dynamics 365 error 0x80040265 is commonly associated with an ISV code aborted the operation (IsvAborted) error.

    In simple terms, a custom plug-in, workflow, or integration may be preventing Dynamics 365 from completing an operation. However, the error code alone doesn't identify the exact cause.

    Microsoft Learn

    Troubleshoot it

    Step 1. Identify when the error occurs

    Check whether it appears when you:

    Create or update a record.

    Save a contact, account, or opportunity.

    Send or receive an email.

    Synchronize data between Dynamics 365 and another application.

    Run a Power Automate flow or custom integration.

    The operation matters because different components can trigger this error.

    Step 2. Check plug-ins and workflows

    If your organization uses custom Dynamics 365 development:

    Open Power Apps.

    Select your Dynamics 365 environment.

    Open the relevant solution.

    Check plug-in registrations and related workflows.

    Look for synchronous plug-ins or workflows triggered by the affected operation.

    Review their execution logs for exceptions.

    Microsoft specifically identifies synchronous plug-ins and workflows as possible causes of this error during email and activity synchronization.

    Microsoft Learn

    Step 3. Check System Jobs

    If the error involves an asynchronous workflow or automation:

    Open Dynamics 365.

    Navigate to Settings or the relevant administration area.

    Open System Jobs.

    Filter for Failed jobs.

    Open the failed job and inspect its error details.

    Look for the underlying exception rather than relying only on 0x80040265.

    Step 4. If you're using custom plug-ins

    Ask your developer to:

    Check plug-in trace logs.

    Inspect the full exception and inner exception.

    Verify that required fields and related records exist.

    Check pre-images and post-images.

    Review synchronous execution steps.

    Check whether external API calls are failing.

    Microsoft's documentation: Dataverse web service error codes.

    Was this answer helpful?

    0 comments No comments

  2. Erland Sommarskog 138K Reputation points MVP Volunteer Moderator
    2026-11-03T17:22:08.89+00:00

    Microsoft Q&A is not the best place to ask about Dynamics. Instead try the Microsoft 365 Dynamics Community.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.