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)

Web api integration with on Premise

(0) ShareShare
ReportReport
Posted on by 20

I need help with an integration with MS Dynamics on Premise:
we have a system that works using the MS Dynamics API working with several clients that use Dynamics online. However, we need our solution to work together for customers using Dynamics on Premise and several doubts have arisen:
How can I access the Web Api of a CRM Dynamics on Premise? Is a link required for external access?
In our solution with Online versions, we register the App in Azure Portal, generate the password and grant the permissions and everything works perfectly. How to do this with On Premise? Does the On Premise client have access to Azure?

Thank you in advance

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    PranavShroti Profile Picture
    4,510 on at

    See, if you want to expose your onPrem system to outside world, you will have to expose your WebAPI end points on public IP. Than only external systems will be able to ping them. Rest of the other things will remain same.

    Another way of doing this will be to create a custom webAPI layer and host it on your onprem network with a public IP.

  • Luciano Navomi Profile Picture
    20 on at

    Thank you so much for the precious help, this confirms the course we are taking. But I need to ask: how in the onLine versions it is necessary to register the App in Azure in order to access Api, how should this be done in On Premise being that it is not configured with Azure?

  • Suggested answer
    PranavShroti Profile Picture
    4,510 on at

    My take on this: In online environment your onprem AD and Azure AD is synced. Now if you want to access CRM online then you need to tell Azure AD also that I will be accessing this app and help me with authentication. That process is registering app with AD. This is not really required in OnPrem as you will be exposing your end point on public IP and user credentials need to be pass inorder to access the end points.

    Hope this helps,

  • Dev.Michael Profile Picture
    15 on at

    Hi Luciano,

    Were you ever able to get the on-premise API access to work with your current App in Azure?  I am having the same exact problem as you -- we have an app that we use to Authenticate with online Dynamics accounts and it works just great granting us tokens to access their accounts.  But I cannot figure out the Authentication process for the on-premise accounts.  You can see my question i've posted on the subject here:

    https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/372129/trying-to-authenticate-a-current-multi-tenant-application-with-on-premise-install

    Would love to hear if you found a solution to this same problem...

    Thanks for any response you have!

    -Michael

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