• Resolved ojala67

    (@ojala67)


    Hi,
    I installed the Dynamics 365 Integration Plugin.
    It works fine for all entities except for leads.
    This is the code which I used:

    [msdyncrm_twig]
    {% form entity=”Lead” name=”Lead” mode=”create” %}{% endform %}
    [/msdyncrm_twig]

    I’m getting this error:
    Error: Could not find CreateResponse node in XML returned from Server

    Some background. I created a custom solution in dynamics and the only entity which I customised was the leads entity. Not sure if this has anything to do with it.

    Any ideas?

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author alexacrm

    (@alexacrm)

    @ojala67

    if the lead form renders correctly and submissions are working for other tables (e.g. contact), then send us the log files to [email protected]

    1. Switch to About tab in the plugin settings, set log level to Debug
    2. Reproduce the problem/error
    3. Go back to About tab, click Download link to get zip files
    4. Set log level back to Notice

    Thanks

    Plugin Author alexacrm

    (@alexacrm)

    @ojala67

    The problem is that the account used to connect to Dynamics 365/Dataverse does not have permissions to create Leads. From the logs:

    Microsoft.Crm.CrmSecurityException: Principal user (Id=Guid-redacted, type=8, roleCount=2, privilegeCount=560, accessMode=4), is missing prvCreateLead privilege (Id=Guid-redacted) on OTC=4 for entity 'lead' (LocalizedName='Lead')

    Hope it helps

    • This reply was modified 2 years, 8 months ago by alexacrm.
    Thread Starter ojala67

    (@ojala67)

    I changed the permissions and it worked perfectly. Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error: Could not find CreateResponse node in XML returned from Server’ is closed to new replies.