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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to call CRM API from outside of CRM?

(0) ShareShare
ReportReport
Posted on by

I have a tenant and I want to access the api below from outside of the CRM:

MyTenantUrl/api/data/v8.2/accounts

is it possible to access the above api from outside of the CRM like from other application?

Thanks in advanced.

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    No Shahriat you cant access outside CRM,

    The reason is authentication,

    If it is a .Net application you have Libraries to connect to CRM and perform the desired action

    If it is JavaScript then you need to have an intermediate application which is added as an intermediate application

    Check out this link below : docs.microsoft.com/.../mt595797(v=crm.8)

  • Community Member Profile Picture
    on at

    You mean I need to create plugin to connect with CRM? Is it possible to access CRM API from Asp.net CORE standalone application?

  • Community Member Profile Picture
    on at

    Just look into that.

    docs.microsoft.com/.../sample-simplified-connection-quick-start

    You should add the XrmToolingConnector from the nuget package.

  • Community Member Profile Picture
    on at

    Yes you call web api from .net code as well (docs.microsoft.com/.../web-api-query-data-sample-csharp)

    So your application is a js application or .net ?

    If it is .Net(c#) then you can use .Net library(XrmToolingConnector ) to connect to CRM and the service

    If it is a J then you need to have an intermediate application registered in azure for authentication.

  • Suggested answer
    Arun Vinoth Profile Picture
    11,615 Moderator on at

    You have to register the CRM app in Azure AAD to get ClientID & secret, later those can be used to get access tokens & interact with CRM web api from outside applications like java/php/.net web applications.

  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at

    Hi ,

    Have a look below article -

    debajmecrm.com/.../dynamics-crm-web-api-external-application

  • Community Member Profile Picture
    on at

    If I want to use .Net library(XrmToolingConnector ) to connect to CRM and the service then I don't need to have azure registration?

  • Community Member Profile Picture
    on at

    Yes, you wont need any Azure Registration. It will be a straight .Net code that connects to the CRM instance and make operations. Basicly, you will get a serviceProxy object after you establish a connection to the CRM. Then you can do any operation supported.

  • Community Member Profile Picture
    on at

    Yep, not require to register in Azure.

  • Community Member Profile Picture
    on at

    Hi Goutam, Your example required azure registration but can't I connect to CRM without azure registration the .net application?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans