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
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.
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.
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.
Hi Ranjeet,
I am also looking for postback URL from 3rd party (It supports postback url) into our CRM.
Did you find anything ?
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
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.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,134 Super User 2024 Season 2
Martin Dráb 229,928 Most Valuable Professional
nmaenpaa 101,156