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 365 | Integration, Dataverse...
Answered

CRM API ASP.NET CORE On Premise

(0) ShareShare
ReportReport
Posted on by 40

Something knows where I can find information about building crm api .net core in order to create crud requests
I would actually like to use api to get certain information from the outside and also to receive (outside of crm)
Important to note
I want a .net core

I have the same question (0)
  • Verified answer
    Wahaj Rashid Profile Picture
    11,323 on at

    Hi,

    Thank you for your query.

    You can use the Dynamics 365 Web API for the CRUD operations.

    It is an OData end-point and can be called like any other Web API, for more details see the following:

    Create a table row using the Web API (Microsoft Dataverse) - Power Apps | Microsoft Docs

    However, you cannot use the Dynamics 365 SDK for .Net Core (as of now).

    If you are looking to use SDK (instead of Web API), try the following, I am not sure if it works though:

    Connect to Dynamics CRM Online using .Net Core SDK – xrm CRM Dynamics (wordpress.com)

    I would suggest you go for Web API route, its simple, you can also try using Postman to send requests (for better understanding):

    Use Postman with Dynamics 365 Customer Engagement Web API (Developer Guide for Dynamics 365 Customer Engagement) | Microsoft Docs

  • haimHis Profile Picture
    40 on at

    First of all thank you very much!!

    You've brought me a lot to think about.

    And maybe even a certain starting point.

    Actually, my main problem is getting hooked up with crm.

    365 on premise

    I can't connect the asp.net core.

    If I succeed then even a small rest request for crm will give me significant progress.

  • Wahaj Rashid Profile Picture
    11,323 on at

    Hi,

    Can you please share, what you have steps you have done and what issues you are facing?

    Are you trying to connect using SDK or Web API?

    If you can share some of your code (for D365 integration part), that would be great.

  • haimHis Profile Picture
    40 on at

    Hay this is my step

    1.create asp.ne core web api

    pastedimage1626336974056v2.png

    2. core 5.0

    pastedimage1626336989891v3.png

    pastedimage1626337017892v4.png

    Inside this controller in the get function I won to make a async get request in rest to the crm and return the data that come..,  From where I can to config and how I create the rest request ????

    #*# I know that in postman I register to the crm in NLTN config and the get request is work fine, but I don’t thing I can to config with oAuth, I have a user name, password and domain.. maybe I can get more but In any case in asp.net core web api  I don’t know how config at all..

    This is my project files:

    pastedimage1626337031932v5.png

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 April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 83

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 76 Super User 2026 Season 1

#3
Subra Profile Picture

Subra 49

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans