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

can i use a custom endpointUrl in webhook?

(0) ShareShare
ReportReport
Posted on by 15

we would like to switch from plugins to a webhook,but we created an object to contain the host url depending on the portal. in the register a webhook can i dynamically call that host url.

(I have not found much on how to set up a custom webhook, that may also be helpful..

I have the same question (0)
  • Nya Profile Picture
    29,060 on at

    Hi,

    Would you please specify which application you are using in Dynamics?

  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    Webhook needs host URL to be specified during registration and can not be dynamic.

    You have two options though -

    1. Write you own code to post message to your service from plugin using httpclient

    2. Use Power automate to post message to your endpoint when something happens in Dataverse

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

  • Renny99 Profile Picture
    15 on at

    Hi Bipin

    could you provide an example what you mean here:

    2. Use Power automate to post message to your endpoint when something happens in Dataverse

    i am doing number one currently. we were using webclient but getting a lot of these errors (The operation has timed out), so i have just switched to using httpclient hoping our clients will have less timeout errors (im a little confused why it happens for some of our clients and not all)

    Downloading the target URI: https://www.bing.com

    Exception: Microsoft.Xrm.Sdk.InvalidPluginExecutionException: The timeout elapsed while attempting to issue the request. ---> System.Net.WebException: The operation has timed out

     at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)

     at System.Net.WebClient.DownloadData(Uri address)

     at PowerApps.Samples.WebClientPlugin.Execute(IServiceProvider serviceProvider)

     --- End of inner exception stack trace ---

     at PowerApps.Samples.WebClientPlugin.Execute(IServiceProvider serviceProvider)

    docs.microsoft.com/.../web-access-plugin

  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    Dynamics CRM plugin has 2 minutes timeout limitation.

    Have you tried increasing the default timeout ?

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

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 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 46 Most Valuable Professional

#2
Pallavi Phade Profile Picture

Pallavi Phade 33

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 28 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans