Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Send customer data to service bus queue

(0) ShareShare
ReportReport
Posted on by 81

I have a requirement, where we are moving data from ax 2012 r3 to D365. The data is exported from ax 2012 r3 and stored in Azure service bus queue as a message and a logic app will take it forward to D365 instance. To complete this task I need to know how we are pushing the data from ax 2012 to azure service bus queue. I never got to work on AIF before so a detailed explanation would really help me. I just want to understand how will be be pushing the data to Azure service bus queue.

I should export customer data, I believe there are 5-6 entities that hold customer data in ax 2012, so how exactly I should be doing this? 

And will the service bus queue be able to hold that much data in a single message?
 

  • Bhaswanth Koka Profile Picture
    81 on at
    RE: Send customer data to service bus queue

    Thank You Martin!! That was helpful. If you don't mind could you please give me a step by step approach for me to try this.

  • Verified answer
    Martin Dráb Profile Picture
    233,017 Most Valuable Professional on at
    RE: Send customer data to service bus queue

    I'm not sure what you want to hear about the AIF Service Bus adapter (and I don't really know it anyway).

    By the way, you may also call Azure Service Bus API by yourself, if the AIF adapter doesn't work for you. It's quite simple; here is an example in C#:

    using Microsoft.ServiceBus.Messaging;
    
    var queueClient = QueueClient.CreateFromConnectionString(connectionString, queueName);
    
    var stream = ...
    
    BrokeredMessage message = new BrokeredMessage(stream);
    queueClient.Send(message);

    Regarding data combination, it's not going to happen automatically - you'll need to implement the logic somewhere (in AX 2012, in the Logic App and in D365FO).

    The maximum message size is 256 KB for Standard tier and 1 MB for Premium field. I think that 256 KB should be enough for information about a single customer. If you need more data in a single message, you can put it to another storage (e.g. a blog) and keep just a reference in the message queue.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March 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... 294,261 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,017 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans