Advanced SharePoint Integration (Azure Service Bus and Dynamics CRM)
-
Upload
gus-fraser -
Category
Documents
-
view
520 -
download
1
Transcript of Advanced SharePoint Integration (Azure Service Bus and Dynamics CRM)
Advanced SharePoint
Integration with the Azure
Service Bus and Dynamics CRM
Aonghus Fraser / @gusfraser
Aonghus (Gus) Fraser
Director, SharePoint Lead Consultant @ C5
Gold Partner with ~160 consultants in the
Channel Islands (www.c5alliance.com)
Approx 18 SharePoint Consultants
Run www.cispug.org, SPSJE
4th time presenting at SPEVO
[email protected] / @gusfraser
Jersey
Guernsey
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
Out Of The Box
SharePoint / CRM
Integration
OOTB SharePoint CRM Integration
Limited flexibility
Folder per CRM Entity
Security limitations
Point to Point
vs
Service Bus Architecture
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
Point to Point Example
SharePoint
CRM SQL
LoB
LoB 2
Service Bus Example
SharePoint
CRM SQL
LoB
LoB 2
Service Bus Architecture
Loosely coupled
Scalable
Less complexity / connections
Easier to upgrade/migrate systems
Azure Service Bus
Overview
Azure Service Bus
Lightweight Cloud Messaging Service
Connect anything (on-prem or cloud)
Cheap (£6.109/mo)
First 12.5 million Ops/Month Included..
Flexible
.NET, Java, Node.js, PHP, Python, Ruby..
Azure Service Bus – Basic vs Standard
Azure Service Bus Queues
One-to-one
Source: http://azure.microsoft.com/en-gb/documentation/articles/service-bus-dotnet-how-to-use-queues/
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/
Azure Flexibility – SDKs
http://azure.microsoft.com/en-us/downloads/
AZURE SERVICE BUS NAMESPACE
AND TOPIC SETUP
Creating an Azure Service Bus Namespace and Topic
Creating a Namespace
Azure Portal limited
Use PowerShell for ACS integration:
PS C:\> New-AzureSBNamespace -
NAME SPEvo15-ns -Location
"West Europe" -
CreateACSNamespace $true
Creating a Topic
CONNECTING DYNAMICS CRM TO
THE SERVICE BUS
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)
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
Useful Links
Azure CRM Connectivity
https://msdn.microsoft.com/en-
us/library/gg309276.aspx
Messaging With Topics
https://code.msdn.microsoft.com/windowsa
zure/Getting-Started-Brokered-614d42e5