Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Query Dynamics CRM data using R

Posted on by 30

Has anyone implemented any solutions for querying CRM data using R? I'm specifically interested in CRM 2015 on prem (yes, I know my client is way behind). I don't think the Xrm.WebAPI is available in that version but just curious at this point and wondering if there are any go-to resources I should look at first. Thanks.

*This post is locked for comments

  • KevinDC Profile Picture
    KevinDC 30 on at
    RE: Query Dynamics CRM data using R

    Michael - I did not end up working on this so I gave up on researching. Although the suggestion about to use the R SQL server connector probably was the best option.

    Kevin

  • Michael.Xing Profile Picture
    Michael.Xing 10 on at
    RE: Query Dynamics CRM data using R

    Hi Kevin,

    Sure, I am facing the issue.

    Do you find any solution to pull data from Dynamics CRM with R?

    Michael

  • Suggested answer
    Adrian Begovich Profile Picture
    Adrian Begovich 21,009 Super User 2024 Season 2 on at
    RE: Query Dynamics CRM data using R

    Hi KevinDC,

    Since you are using Dynamics CRM on-premises, you can access the backend database directly and use the R-SQL server connector package to query the database and get information into R.

    Another option is to use the CData ODBC Driver for Dynamics CRM and the RODBC package to work with remote Dynamics CRM data in R. You can find more on this here.

  • KevinDC Profile Picture
    KevinDC 30 on at
    RE: Query Dynamics CRM data using R

    Thanks for the response. You are correct, that is the approach I would take as well. However, I am asking on behalf of a separate data analytics team that is trying to pull together data from CRM as well as other systems. They currently use R to do this and I'm wondering if there are any standard practices regarding that approach. Thanks.

  • Arun Vinoth Profile Picture
    Arun Vinoth 11,613 on at
    RE: Query Dynamics CRM data using R

    Instead of R language you should try organizationdata.svc for pulling the data..

    Start here: community.dynamics.com/.../crm-2011-getting-started-with-odata

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans