Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Answered

Connecting to D365CE (CRM) from Azure Web Service

Posted on by Microsoft Employee

Hello,

I am building a Web Service (ASP.NET Core) which occasionally needs to connect to D365 Customer Engagement (Sales) Online, and retrieve or update CRM information there.

I have not done this before, but I am familiar using the Organization Service API from C# to connect from console/desktop apps and doing similar things.

And I know there is also a Web API available, that I have not used before.

Question:

What is the available options and recommended one to connect to D365CE-CRM from the Cloud (Web Services)?

Are there any hints about it, or some quickstart available to suggest?

Thanks in advance,

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Connecting to D365CE (CRM) from Azure Web Service

    Thank you Andrew,

    I will probably try the XrmTooling for NET Framework first, as I feel more comfortable with it,

    and will report the experience or come back again with questions.

  • a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Connecting to D365CE (CRM) from Azure Web Service

    Hello,

    If my reply (or replies) answers your question take a minute and verify the answer. You can do it by clicking "Yes" at the top of the reply (or replies) under the label "Does this answer your question?"

  • Verified answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Connecting to D365CE (CRM) from Azure Web Service

    If you want to use .Net Core you can check option 2 - it's doable using .Net Core.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Connecting to D365CE (CRM) from Azure Web Service

    I see. Thank you Andrew.

    Does this mean that skipping NET Core and going with NET Framework alone will allow me to work with Xrm Tooling?

  • Verified answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Connecting to D365CE (CRM) from Azure Web Service

    Yiannis,

    At the moment there is only .Net Framework version of XrmTooling available that can't be used with .Net Core app. So here you have 2 alternatives:

    1. Use .Net Core version of XrmTooling that is in Alpha - powerusers.microsoft.com/.../470035 and it's not recommended to use it in produtive applications.

    2. Use pure WebApi - docs.microsoft.com/.../quick-start-console-app-csharp

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans