CRM 2016: Unable to create User record RRS feed

  • Question

  • Hello Everyone,

    Looking for a help!

    In our CRM 2016(v8.1.1.1005) instance, recently we are facing issue in creating user record. Unable to find out what causes this problem. Below is the error that pops up on save of new user record.

    Below is the error detail.

    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Expected non-empty Guid.Detail: <OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts"> <ErrorCode>-2147220989</ErrorCode> <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" /> <Message>Expected non-empty Guid.</Message> <Timestamp>2017-12-07T06:16:17.9018343Z</Timestamp> <ExceptionRetriable>false</ExceptionRetriable> <ExceptionSource i:nil="true" /> <InnerFault i:nil="true" /> <OriginalException i:nil="true" /> <TraceText> [Microsoft.Crm.ObjectModel: Microsoft.Crm.ObjectModel.SyncWorkflowExecutionPlugin] [13bb0ad8-89d3-e711-80e1-005056934e24: ] </TraceText> </OrganizationServiceFault>




    Wednesday, December 13, 2017 7:17 AM


All replies

  • Do you have a plugin or workflow running on this action and entity?
    Thursday, December 14, 2017 3:09 PM
  • I noticed that one on demand workflow was registered on user entity with a single step, update User entity. But no property values are set.
    Friday, December 15, 2017 5:12 AM
  • Can you disable the workflow and try again?
    Monday, December 18, 2017 9:06 AM
  • Thank you for the suggestion :) After disabling that workflow, I'm able to created user record. But my doubt is how the on demand workflow disturbs the creation?

    Monday, December 18, 2017 10:16 AM
  • What are the triggers of the workflow? Can you share a screenshot of the workflow?
    Monday, December 18, 2017 1:46 PM
  • Please find the below screenshot of workflow FYR. Thank you.

    Wednesday, December 20, 2017 1:02 PM
  • The workflow will also be executed if a record is created. The checkbox Record is created is Marked.
    Wednesday, December 20, 2017 1:24 PM