Microsoft Dynamics CRM and Azure Service Bus Integration
Microsoft Dynamics CRM and Azure Service Bus Integration By: Abhishek Bhansali https: //dynamicspeople. wordpress. com
Agenda • • Messaging – What and Why? Azure Service Bus overview Queues Topics Dynamics CRM 365 Demo - Integration without coding SERVICEBUS 360 – One Platform
History of Distributed Software Systems • In the beginning, it was all punch cards • And then we got… • Operating systems • Multiple CPUs • Multitasking • Threads • Server farms and data centers and clouds and stuff
Stuff Over Here Wants to Talk to Stuff Over There Basic Communication • Which means we got… • • • Ethernet RPC (DCOM, CORBA, etc. ) - Remote Procedure Call Enterprise Messaging (TIBCO, etc. ) XML messaging SOAP REST • Most of these fall down at scale due to conceptual and/or practical limitations • Messaging and Events provide a useful set of core concepts to reason about moving data around at scale (“in the cloud”) Enterprise Messaging is moving to cloud…. Azure Service Bus is driving this move!!!
Azure Messaging Services
Where can I use Messaging? Financial Services • Inter-Bank transfer • Enrollment • Order fulfillment and trading • Claims processing • Settlement • Risk modeling • Reconciliation • Regulatory filing Utilities & Telecom • Customer information system • Medical records • Billing integration • Care quality metrics • Smart meter and grid • Patient monitoring & diagnostics • Command Control Logistics Healthcare • Order processing • Public data capture • e. Commerce • GST filling • Delivery notification • Aadhar • Inventory Management Insurance Government
Azure Service Bus (Queues and Topics) “Azure Service Bus is a generic, cloudbased messaging system for connecting just about anything—applications, services, and devices—wherever they are. ”
Where does Service Bus fit? Decoupling and providing durability are primary drives for using Service Bus
Features of Azure Service Bus Scheduled delivery Defer Duplicate Detection Sessions Forward to Actions Transactions Ordering Filter On Message
The basics of a queue Sender sends message to queue Queue Acks receipt Receiver connects to queue & retrieves message Receiver Acks complete (or other action)
Topics and Subscriptions Sender only knows about Topics Receivers only know about Subscriptions Filters and Actions exist on Subscriptions
Dynamics CRM 365 Demonstration – Integration
Overview
Key Features Messaging Queues & Topics ü Create, Read, Update & Delete ü Enable / Disable Entity ü Monitor based on Properties ü Access Shared Access Policy ü Send Messages through Activities - Instant, Scheduled & Recurring ü Access Message body and properties Queues ü Read Messages from Main Queue ü Read Messages from Deadletter ü Resubmit Deadletter messages ü Delete Deadletter messages ü Copy Queue URL / Deadletter URL Topics ü Copy Topic URL Messaging Topic – Subscriptions ü Create, Read, Update & Delete ü Enable / Disable ü Monitor based on Properties ü Access Rules ü Read Messages from Subscription ü Read Messages from Deadletter ü Copy Subscription URL / Deadletter URL Relays ü Create, Read & Delete ü Monitor - Listener Count - Web. Http Endpoints - Hybrid Relays ü Access Shared Access Policy ü Copy Relay URL Event Hubs ü Create, Read, Update & Delete ü Enable / Disable ü Monitor based on Properties - Partition Properties ü Access Shared Access Policy ü Send Events through Activities - Instant, Scheduled & Recurring Consumer Groups Create, Read & Delete Copy Consumer Group URL Partitions ü Access Properties ü Monitor based on Properties
General Features Management ü Software as a Service ü Associate Namespaces from different Azure Subscriptions ü Invite Users to manage through Service. Bu 360 ü Payments and Subscribing to Service. Bus 360 through application ü Import Namespace connection strings from Service Bus Explorer Configuration file ü Import entities from existing Namespace eg: Import from Dev / UAT to Production Monitoring Dashboard ü To assess Errors & Warnings Alarms ü Threshold Alerts - Alerts based on violation of expected state or values ü Health or Status Alerts - Periodic Alerts at specified times of day ü Receive alerts only in specified time window Notification Channels Send your Alerts to any of the following channels - Email - Slack - Pager Duty Governance & Auditing ü Operations Tracking ü Activity History ü Alert History
Try for Free https: //app. servicebus 360. com Documentation – https: //assist. servicebus 360. com/ Support – support@servicebus 360. com Briefly refer to these websites during your session: • https: //www. servicebus 360. com/blogs/meeting-paolo-salvatori-microsoft-gtscbangalore/ • https: //github. com/paolosalvatori/Service. Bus. Explorer/blob/master/README. md#al ternative-service-bus-management-tools
Thank you
- Slides: 18