Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Possibility to write a listener running on crm instance

(0) ShareShare
ReportReport
Posted on by

Hi,

I need to receive a message sent by another application to dynamics crm. This message cannot be sent in a format which is understood by dynamics crm, so I need to convert the message first.

I know that this is possible using a middleware which would do the converting part.

Are there any possibility to build something which runs on the crm instance itself? An aspx page or something like that? The page itself should be public so it should be accessible without authentication.

Thanks for the ideas

*This post is locked for comments

  • Suggested answer
    Joe Gill Profile Picture
    Joe Gill on at
    RE: Possibility to write a listener running on crm instance

    Hi Donny,

    Finally did a post on a solution that might work for you

    joegilldotcom.blogspot.ie/.../message-listener-with-no-code-json.html

    hth

    Joe

  • Tim Dutcher Profile Picture
    Tim Dutcher 2,100 on at
    RE: Possibility to write a listener running on crm instance

    I agree with Joe that the typical approach is to creating a message queue listener, for example an Azure Function or WebJob, to read in messages, translate them and perform CRUD operations in CRM.

    Occasionally, there's a need to write a polling-based service, such as a Windows Service, to read data from somewhere (file drop, new records in a database, etc.) and update CRM accordingly.

    CRM itself doesn't have a timer job that would facilitate a polling operation, but I've toyed with the idea of using an Azure Function, which can run on a schedule, to update a custom "Current Time" entity record in CRM every minute or so. Then, a plug-in can fire on the update of that record and spin off necessary polling or other time-based operations.  Now that I write this, it sounds like a bad idea... but sometimes we need to think outside the box.  :-)

  • Suggested answer
    Joe Gill Profile Picture
    Joe Gill on at
    RE: Possibility to write a listener running on crm instance

    Hi Donny,

    Usually messages listeners are hosted outside of Dynamics CRM and an example of this can be found here

    alexanderdevelopment.net/.../using-rabbitmq-as-a-message-broker-in-dynamics-crm-data-interfaces-part-5

    That said for small deployments I have used email as a transport mechanism. I have created an email queue and then written a plug in that parses incoming received emails and updates CRM

    hth

    Joe

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,407 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans