web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

SSIS and oData connection

(0) ShareShare
ReportReport
Posted on by

Hi, 

I am trying to use SQL Server Integration Services with the oData Connection Manager to connect to Dynamics CRM. When authenticating, I am picking up the following message.

For security reasons DTD is prohibited in this XML document. To enable DTD processing set the DtdProcessing property on XmlReaderSettings to Parse and pass the settings into XmlReader.Create method. (System.Xml)

Is there a work around (on the client side) to avoid the DTD error without writing C# code?

Thanks and regards

Steve

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Bruno Lucas Profile Picture
    5,421 on at

    Hi,

    this is because the OData API requires OAuth authentication. SSIS Odata source will not handle the OData authentication .

  • Aileen Gusni Profile Picture
    44,524 on at

    Hi Steve,

    Nice answer by Bruno.

    Have you used this:

    In the detail file it mentions about Microsoft Dynamics CRM 2011 data source

    www.microsoft.com/.../details.aspx

    And also I found this article:

    stackoverflow.com/.../ssis-connecting-to-crm-odata-endpoint-dtd-error

    You might try to take a lok this:

    www.rssbus.com/.../mscrm

    Hope this helps.

    Thanks.

  • Community Member Profile Picture
    on at
    Hi Aileen,
    Hi Aileen, Thanks for the note!
    I have looked at all of these. Installed where applicable and we shall probably opt for a third party product.
    regards Steve
  • Community Member Profile Picture
    on at

    Hi Steve,

    I was able to connect to CRM 2013 Onpremise Organization Data Service using the odata source adaptor mentioned here - www.mssqltips.com/.../using-the-new-odata-source-in-sql-server-integration-services

  • Suggested answer
    Bashir Ahmad Profile Picture
    5,248 on at

    SSIS doesn't support DTD in XML file. So remove the all DTD from your XML file

  • Community Member Profile Picture
    on at

    playing with

    * crm online

    * azure active directory

    * ssis

    * C# (script component)

    * xml transformation

    you can achieve it. Our company created a blog post for that. sorry for not posting the whole solution here, it's kind of long

    stuffandtacos.carfup.com/.../use-crm-dynamics-online-odata-endpoints-in-ssis

    stuffandtacos.carfup.com/.../use-crm-dynamics-online-odata-endpoints-in-ssis-part2

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans