Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Suggested answer

What is the correct way to access Microsoft Dynamics 365 data on the cloud? SDK vs Web Api

Posted on by 5

I'm new to the forum, so I'm sorry if this question is in the wrong place. I didn't find a place to properly post a programming question.

I'm .NET Web Developer and new to Microsoft's CRM, so bear with me. I'm trying to find the correct way to connect to Microsoft Dynamics 365 and retrieve some PDF files. I need to know which is the correct way to do so. I have some questions of some topics found Googling around that don't make sense to me.

**Accessing through the SDK**

I have found this Microsoft documentation which explains the SDK. However there is a NOTE that says that this has changed with the 2016 update, and Googling more around, it seems to be that the SDK it's not used anymore. I am wrong?

**Accessing data using Web API**

There's yet another documentation that tries to explain the way to connect through a Web Api. However from the start, it says: "This section contains reference documentation of the types, functions, and actions that constitute the Web API for Microsoft Dataverse and Dynamics 365 Customer Engagement **(on-premises)**.

That "On-Premises" comment bothers me. I don't want to learn something that doesn't work for me. Why the web api seems to work only on premise? Why not Dynamics in the cloud?

And for what you can see, I'm utterly confused as to how in the world I can access data to retrieve a file programmatically through C# code from Microsoft Dynamics 365 cloud based.

Please, if you can point me in the right direction, I will really appreciate it.

Thank you!

  • Suggested answer
    RE: What is the correct way to access Microsoft Dynamics 365 data on the cloud? SDK vs Web Api

    Hi SamyCode, I hope you are doing good.

    With SDK you will obtain more facility to develop but with Web API you will have more flexibility to develop. The best option depends on what you are looking for.

    Welcome to this amazing community.

  • Suggested answer
    meelamri Profile Picture
    meelamri 13,198 User Group Leader on at
    RE: What is the correct way to access Microsoft Dynamics 365 data on the cloud? SDK vs Web Api

    Hi Sam and welcome to our community!

    Both approaches will work smoothly on the Cloud...As a .NET developer, I believe that you can easily develop your integrations using the c# SDK.

    I don't see any problem with that not working. The documentation you shared is old, and it refers to the 2016 version of CRM (V8). The current version that is deployed on the cloud is the version (V9.2)

  • Suggested answer
    meelamri Profile Picture
    meelamri 13,198 User Group Leader on at
    RE: What is the correct way to access Microsoft Dynamics 365 data on the cloud? SDK vs Web Api

    Hi Sam and welcome to our community!

    Both approaches will work smoothly on the Cloud...As a .NET developer, I believe that you can easily develop your integrations using the c# SDK.

    I don't see any problem with that not working. The documentation you shared is old, and it refers to the 2016 version of CRM (V8). The current version that is deployed on the cloud is the version (V9.2)

  • Suggested answer
    meelamri Profile Picture
    meelamri 13,198 User Group Leader on at
    RE: What is the correct way to access Microsoft Dynamics 365 data on the cloud? SDK vs Web Api

    Hi Sam and welcome to our community !

    Both approaches will work smoothly on the Cloud...As a .NET developer, I believe that you can easily develop your integrations using the c# SDK.

    I don't see any problem with that not working. The documentation you shared is old, and it refers to the 2016 version of CRM (V8). The current version that is deployed on the cloud is the version (V9.2)

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,564 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,651 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans