Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Dynamics Callback URL to receive a response from third party REST service

Posted on by Microsoft Employee

HI Guys,

Need your expertise inputs on the CallBack URL which can be used to receive the response from third party REST service?

The requirement is - we have a third party REST service which works Asynchronously. The request parameters for that service includes a callback URL along with other standard request parameters. Upon completion of request the response will sent back to Dynamics CRM via the CallBack URL. 

How we can get that CallBack URL? Any guidance on this is highly appreciated! Thanks in Advance.

*This post is locked for comments

  • Suggested answer
    ANISH Profile Picture
    ANISH 95 on at
    RE: Dynamics Callback URL to receive a response from third party REST service

    I was accessing 3rd part API through our MSCRM and MSCRM does not support Callback url.

    So, as suggested here I achieved through FLOW. Source

    Go to FLOW and create first component as [When a HTTP request is received] and there define the schema of response that you can get from API and save it.

    After saving, you will get URL which will be as postback url and this url you can put in first request of 3rd part API.

    Now hit the API and you can see the you will receive response in this created FLOW.

    Please mark as ANSWER if it is.

  • ANISH Profile Picture
    ANISH 95 on at
    RE: Dynamics Callback URL to receive a response from third party REST service

    Hi  Kokul,

    Thank you for detailed explaination. It is online CRM (9.1).

    It is clear that I have to take approach either using FLOW or AZURE function.

    I need some reference for using FLOW or AZURE function with postback url, please.

    Thanks in advance.

  • Suggested answer
    Kokulan Profile Picture
    Kokulan 18,048 on at
    RE: Dynamics Callback URL to receive a response from third party REST service

    Hi

    As suggested above by Alex, CRM does not allow you to build custom endpoints to accept any data from external source.

    If you are on cloud, if you are using CRM online, you could use Flow or an Azure function URL as the post-back URL and have your logic in the function or flow to create/update records in CRM.

    If you are completely on-Prem, creating a simple Web API with just one action to handle the call back should be enough. The downside to this is you have to host this web api site separably somewhere in your network, you could even host on the CRM server as well depending on how your CRM server roles are setup.

    if you would like to go with approach of creating a Web API to handle your call back, make sure the API URL is accessible by the third party service.

  • ANISH Profile Picture
    ANISH 95 on at
    RE: Dynamics Callback URL to receive a response from third party REST service

    Hi Ranjeet,

    I am also looking for postback URL from 3rd party (It supports postback url) into our CRM.

    Did you find anything ?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamics Callback URL to receive a response from third party REST service

    Hi Alex,

    Based on your inputs, i can think of what can be done for such requirement.

    Do you have some Microsoft blog or post to justify that Microsoft OOB doesn't support callback URL and that something i can bring on the table to support my conversation?

    Thanks

    Ranjeet

  • Suggested answer
    ashlega Profile Picture
    ashlega 34,475 on at
    RE: Dynamics Callback URL to receive a response from third party REST service

    Hi Ranjeet,

     Dynamics does not allow you to expose any "custom" endpoints, so you are stuck with what it can offer out of the box (which is, basically, SOAP and WebAPI since you will need authentication). But, since you will need that callback to authenticate into Dynamics first, I'm not sure you can make it work at all. The simplest / guranteed solution would be to have another web service somewhere (on-prem, in Azure.. somewhere). That would be your callback, and, from there, you would send everything to Dynamics using WebAPI, for example.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,134 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,928 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans