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 SERVICEBUS360 – 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 Order fulfillment and trading Settlement Reconciliation Enrollment Claims processing Risk modeling Regulatory filing Insurance Utilities & Telecom Medical records Care quality metrics Patient monitoring & diagnostics Healthcare Customer information system Billing integration Smart meter and grid Command and Control Logistics Order processing eCommerce Delivery notification Inventory Management Public data capture GST filling Aadhar Government
Azure Service Bus (Queues and Topics) “Azure Service Bus is a generic, cloud-based 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 Messaging Event Hubs 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 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 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 Relays Create, Read & Delete Monitor - Listener Count - WebHttp Endpoints Hybrid Relays Access Shared Access Policy Copy Relay URL
Notification Channels General Features Management Monitoring Notification Channels Software as a Service Associate Namespaces from different Azure Subscriptions Invite Users to manage through ServiceBu360 Payments and Subscribing to ServiceBus360 through application Import Namespace connection strings from Service Bus Explorer Configuration file Import entities from existing Namespace eg: Import from Dev / UAT to Production 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 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.servicebus360.com Documentation – https://assist.servicebus360.com/ Support – support@servicebus360.com Briefly refer to these websites during your session: https://www.servicebus360.com https://www.servicebus360.com/blogs/meeting-paolo-salvatori-microsoft-gtsc-bangalore/ https://github.com/paolosalvatori/ServiceBusExplorer/blob/master/README.md#alternative-service-bus-management-tools
Thank you