Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Read an azure queue from Dynamics CRM

(0) ShareShare
ReportReport
Posted on by

Hi,

I'm working with Dynamics CRM (dynamics 365 trial) and an Azure queue. I'm using the Azure Service bus to communicate CRM with the queue.

I need to read the queue (on a scheduled basis) and perform actions within CRM depending on the content of the message (i.e. adding/removing Security roles to a list of users).

I'm already able to post messages to the queue with a step directly associated to the service endpoint via the Registration tool, or with a C# plugin.

BUT! I'm not sure how to create a listener or a recurring task that could be monitoring the queue for new messages, and how to do the actions from the message.

Any advice would be really appreciated.

Thanks!

-JaimeN

*This post is locked for comments

  • Suggested answer
    tw0sh3ds Profile Picture
    5,600 on at
    RE: Read an azure queue from Dynamics CRM

    Hi,

    +1 to what Martijn wrote, but also Azure WebJobs would do the job:

    docs.microsoft.com/.../web-sites-create-web-jobs

  • Suggested answer
    JohnAnonymous Profile Picture
    5,241 on at
    RE: Read an azure queue from Dynamics CRM

    For this scenario I would look at an Azure Function. It's great for job scheduling or on demand processes. Here's a good post on how to connect to crm from an Azure Function.

    crmtipoftheday.com/.../connect-to-dynamics-365-in-azure-functions

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…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 231,723 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans