Error: The dynamics crm user that is specified in the CRM connection setup does not exist

stefanbstefanb Member Posts: 15
Hi,

In NAV2016 I'd setup a connection with Dynamics 365 on-premise.
CRM is successfully connected and I use the default synchronization setup. The user for this connection is also added to CRM and has the right access rights.

The synchronization for example 'ITEM-PRODUCT', 'CURRENCY' etc. goes well but for the Contact, Customer and Salespeople I get the following error when I click on 'Synchronize Modified Record'.

The dynamics crm user that is specified in the CRM connection setup does not exist.

I can't find anything on the internet :(

Anyone knows what's missing in my setup?

Answers

  • stefanbstefanb Member Posts: 15
    The solution is to do 3 small changes to Table 5330 changing InternalEMailAddress to DomainName.

    NAV Table 5330
    GetIntegrationUserID()
    //CRMSystemuser.SETRANGE(InternalEMailAddress,CRMConnectionSetup."User Name");
    CRMSystemuser.SETRANGE(DomainName,CRMConnectionSetup."User Name");

    EnableCRMConnectionFromWizard()
    //CRMSystemuser.SETRANGE(InternalEMailAddress,CRMConnectionSetup."User Name");
    CRMSystemuser.SETRANGE(DomainName,CRMConnectionSetup."User Name");

    SetUserAsIntegrationUser()
    //CRMSystemuser.SETRANGE(InternalEMailAddress,"User Name");
    CRMSystemuser.SETRANGE(DomainName,"User Name");

  • ChrisCChrisC Member Posts: 1
    Another approach to fixing this error is to make sure the value in the field InternalEmailAddress of the CRM's SystemUser table for the user being specified in the CRM Connection setup is the same value.
Sign In or Register to comment.