Hi,
Thanks for your suggestions. But it got resolved by not activating the dataevent for each data area. Instead I left the legal entity field empty, and it is activated for all entities. And in azure service bus, messages are not replicated too.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have created an azure service bus topic that receives messages from D365 F&O Data Events. In my D365 F&O i have three legal entities. And for each legal entity I have enabled Data Event for Vendor update.
If I am updating a vendor in Legal Entity A, in service bus I am receiving messages thrice. In all three messages the legal entity is legal entity A, but still i think because I am using same service bus topic for all three legal entities; it is some how replicating the message. All three messages have different message id; so duplicate detection rule is not working.
Any idea how to resolve the issue?
Hi,
Thanks for your suggestions. But it got resolved by not activating the dataevent for each data area. Instead I left the legal entity field empty, and it is activated for all entities. And in azure service bus, messages are not replicated too.
The issue you're experiencing seems to be related to the configuration of your D365 F&O Data Events rather than the Azure Service Bus Topic itself. Here are a few things you could check:
MessageId
values, they will not be considered duplicates. If the built-in duplicate detection isn’t suitable, consider implementing a custom deduplication mechanism in your message processing logic. This could involve checking a database or cache to see if the message has already been processed. Reference - https://learn.microsoft.com/en-us/azure/service-bus-messaging/duplicate-detection.Hope this helps. If you have any follow-up questions, please let me know. I would be happy to help.
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.