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 :
Microsoft Dynamics CRM (Archived)

"Invalid User Authentication" Error when Working with Workflows

(0) ShareShare
ReportReport
Posted on by

Hello All,

We recently upgraded our Test environment to the December Update for Dynamics 365 on-premises (Build: 8.2.0.740). Since the update, when trying to either create a new workflow or edit an existing workflow, I am treated with the "Invalid User Authorization: The user authentication passed to the platform is not valid". I have perused the forums and the only material I have found in relation to this error involves users not being able to login to CRM. However, I am able to do everything else. This error appears to only affect workflows. In Production, we are still running CRM 2016 (Build 8.1.0.359), and everything works just fine. This seems to be tied to the December update. Any thoughts or suggestions? Thank you.

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    I am having the same problem. Just an additional detail (for me at least), I can actually view Activated processes. It's only when I deactivate them that I get the error.

    Tracing on the server didn't really reveal much more to me immediately. It's a null reference exception...

    at CrmException..ctor(String message, Int32 errorCode)  ilOffset = 0xB

    at CustomActivityInfoMetadataBase.GetCustomActivityInfo(ActivityInfo activityInfo, Int32 isolationMode)  ilOffset = 0x97

    at CustomActivityInfoMetadataBase.GetCustomActivityInfo(Guid pluginTypeId)  ilOffset = 0x0

    at WorkflowDetailPage.ConfigureCustomActivityStepMenu(CommandBarPopup addStepButton)  ilOffset = 0x2F5

    at WorkflowDetailPage.BuildStepMenu()  ilOffset = 0xEE

    at WorkflowDetailPage.ConfigureWorkflowStepMenu()  ilOffset = 0x0

    at WorkflowDetailPage.ConfigureMenus()  ilOffset = 0xB2

    at AppUIPage.OnPreRender(EventArgs e)  ilOffset = 0x19

    at PageManager.OnPreRender(EventArgs e)  ilOffset = 0x0

    at Control.PreRenderRecursiveInternal()  ilOffset = 0x52

    at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x6D3

    at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x3C

    at Page.ProcessRequest()  ilOffset = 0x14

    at Page.ProcessRequest(HttpContext context)  ilOffset = 0x38

    at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()  ilOffset = 0x187

    at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)  ilOffset = 0x15

    at PipelineStepManager.ResumeSteps(Exception error)  ilOffset = 0x27A

    at HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)  ilOffset = 0x31

    at HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)  ilOffset = 0xB0

    at PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)  ilOffset = 0x131

    at PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)  ilOffset = 0x0

    at UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)  ilOffset = 0xFFFFFFFF

    at UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)  ilOffset = 0xFFFFFFFF

    at PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)  ilOffset = 0x1E7

    at PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)  ilOffset = 0x0

    Crm Exception: Message: Exception retrieving custom activity info - Object reference not set to an instance of an object., ErrorCode: -2147200995

  • Community Member Profile Picture
    on at

    Hello,

    Anyone found any solution to this? I can't access Draft workflows on Dynamics 365 on-premise.

    When I activate them, I can access them with no problems.

    Thanks,


    Wael

  • Kathrin Falsett Profile Picture
    1,722 on at

    Hello,

    the same for me with 8.2.0.749 update - draft Workflows can't be accessed, so no new workflows and dialogs are possible, and existing can't be edited.

    Kathrin

  • Suggested answer
    Community Member Profile Picture
    on at

    Please check if the owner of the workflow is the same user who is trying to make changes.

  • GeHa Profile Picture
    on at

    Hello, 

    I got the same problem. Anyone has any update on this?
    I can confirm that I am the owner of the Workflow (and also have System Admin privileges). 
    Other Browsers show different errors, Chrome says: 
    "This custom process step is not valid. For more information, contact your system administrator."

  • Community Member Profile Picture
    on at

    I did actually figure it out. For us, at least, the issue was ultimately a custom workflow that we had overlooked (we weren't even using it, but it was still installed). It was actually designed for CRM 4.0 and had just ridden the upgrade train and, I guess, something finally happened between CRM 2016 and update 2 that made it incompatible with the designer. Once we deleted the assembly, we were able to edit workflows again.

  • Verified answer
    GeHa Profile Picture
    on at

    Hi there,

    Thank you for the hint, that actually was our problem too.

    The problem was the Solution "DWF AG Utilities", version 1.2.0.1. Uninstalling this solution fixed the problem!

  • Suggested answer
    Jason Matus Profile Picture
    on at

    Hi , Look Old custom assemblys and unregister!!

    here , I finded the solution. Work For me

    community.dynamics.com/.../634050

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans