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

Announcements

No record found.

News and Announcements icon
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,064 on at

    Hi,

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

  • Suggested answer
    Bipin D365 Profile Picture
    28,985 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,985 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 156

#2
Pallavi Phade Profile Picture

Pallavi Phade 102 Super User 2026 Season 1

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 55 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans