locked
Imports record in mscrm 2011 on-premises give an error RRS feed

  • Question

  • Dear all;

    I am trying to import record in mscrm 2011 on-premises i am getting the following error

    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: The user Id is invalid.Detail: 

    Tuesday, September 3, 2013 1:49 PM

All replies

  • Could you please provide more detail about error message ?

    Hope this helps. If you get answer of your question, please mark the response as an answer and vote as helpful !
    Vikram !

    Tuesday, September 3, 2013 2:13 PM
  • Hi,

    Generally, the error "The user Id is invalid" means that the user accessing CRM is not a valid CRM user with several possible causes. It is strange that you are getting it when trying to import a record and not earlier.

    At what step in the import process are you getting the error?


    Michael Palmer
    xRMPalmer     @MJFPalmer     Rockstar365

    Tuesday, September 3, 2013 2:14 PM
  • Please provide following information:-

    Which entity you are import into?

    Are you populating any user lookup in the import file?

    Which user is importing? Have to tried importing as administrator?


    Regards Faisal

    Tuesday, September 3, 2013 2:22 PM
  • Hi all 

    thanks for reply we are trying to import the branches entity ,no we are not populating the user lookup ,the user is the crm admin 

    the complete error is here 

    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf90882563364e35]]: The user Id is invalid.Detail:

    <OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">

      <ErrorCode>-2147214049</ErrorCode>

      <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />

      <Message>The user Id is invalid.</Message>

      <Timestamp>2013-09-03T12:59:56.5360634Z</Timestamp>

      <InnerFault i:nil="true" />

     

      <TraceText i:nil="true" />

    </OrganizationServiceFault>

    Tuesday, September 3, 2013 2:26 PM