web
You’re offline. This is a read only version of the page.
close
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?
 

I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    237,884 Most Valuable Professional on at

    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.

  • Bhaswanth Koka Profile Picture
    81 on at

    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.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 544 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans