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 CRM (Archived)

Viewing messages in Azure Service Bus queue in plain text

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have configured a service endpoint that posts the context to an Azure service bus queue. I have been using Service Bus Explorer to peek in to these messages on the queue to validate them. However the message text looks to be in binary XML. I'd like to see the context's raw XML  instead. Is there something I need to do in order to see the raw XML instead of this binary serialized version? 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mandar Joshi Profile Picture
    2,116 on at

    Consider checking below sample code.

    code.msdn.microsoft.com/.../Getting-Started-Brokered-aa7a0ac3

    For more info regarding Service Bus check below link.

    blogs.msdn.com/.../learn-how-to-create-a-queue-place-and-read-a-message-using-azure-service-bus-queues-in-5-minutes.aspx

    For any other help related to Azure, also consider posting your query to Azure forum for more responses at below link.

    azure.microsoft.com/.../forums

  • cranialsurge Profile Picture
    Microsoft Employee on at

    Sorry, just to clarify some more here. This is CRM's out of the box support for communicating with the service bus. I've configured an ACS namespace and have a queue in the service bus. I have a service endpoint registered in the plugin registration tool and have a step that posts the context to the service bus queue whenever a lead is updated. However on using service bus explorer to peek in to the messages, I only get binary XML in the message text. I'd like to see the raw context XML. Is this possible? Has anyone tried doing this?

  • Verified answer
    cranialsurge Profile Picture
    Microsoft Employee on at

    Figured this out, use a 'queue' instead of 'persistentqueue' as the contract type in the Plugin registration tool while configuring the endpoint.

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 CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans