This document discusses integrating SharePoint and Dynamics CRM using the Azure Service Bus. It begins with an overview of out-of-the-box integration options and their limitations. Then it compares a point-to-point integration architecture to a service bus architecture, noting that the service bus approach is more loosely coupled, scalable, and upgrade-friendly. The bulk of the document provides an overview of the Azure Service Bus and demonstrations of creating a service bus namespace and connecting CRM to publish and subscribe to messages. It concludes by emphasizing that the Azure Service Bus provides an easy, flexible, and reliable integration option compared to native or point-to-point integration.
7. Agenda
Introductions
Out Of The Box Options (SP / CRM)
Point to Point vs Service Bus Architecture
Azure Service Bus Overview
Azure Service Bus Demonstrations
Q&A
13. Point to Point Integration
E.g. CRM Plugin -> SharePoint Client Object
Model
Tightly coupled
Fails “ungracefully”
Unsuitable for multiple systems (2+)
Migration / upgrade pain
Scalability
21. Azure Service Bus Queues
One-to-one
Source: http://azure.microsoft.com/en-gb/documentation/articles/service-bus-dotnet-how-to-use-queues/
22. Azure Service Bus Topics
One-to-many
Publish/subscribe to relevant topics
Source: http://azure.microsoft.com/en-gb/documentation/articles/service-bus-dotnet-how-to-use-topics-subscriptions/
29. CRM 2015 Basics
Plugin = Event Receiver (kind of..)
Native (OOTB) Azure Service Bus Plugin
Azure ACS to handle claims
SDK Plugin Registration Tool to
configure/activate
Beware of .NET Versions (4.5.2 not yet
supported fully in Azure)
30.
31.
32.
33.
34.
35. Summary
Native integration if Entity > Folder is
sufficient (security/flexibility limitations)
Azure Service Bus is easy, flexible, scalable,
reliable
Topics provide one-to-many sender to
receivers
CRM 2015 SDKs and Azure SDKs provide
great examples
37. Thank you for attending!
Aonghus Fraser
@gusfraser
af@c5.je
Editor's Notes
Adding another connection can be complex, costly
Lightweight vs e.g. Biztalk (pipelines, adapters, transformations… more heavyweight)
Message Producer
Topics similar to Amazon SQS – per message semantics
Event Hubs similar to Amazon Kinesis, for scalability
We’re looking at Topics today.. Most relevant to the kind of relatively low traffic connectivity
Very important to use PowerShell if you need ACS integration!