Escolar Documentos
Profissional Documentos
Cultura Documentos
Microsoft Dynamics
365 and ExpressRoute
July 2017
Microsoft Dynamics 365 and ExpressRoute
Table of Contents
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
. . . . . . . . . . . . . . . . . . .
LAN Connectivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Poor WAN Connectivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Poor Internet Connectivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Security: Protection in Transit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
What is Azure ExpressRoute? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Structure of ExpressRoute Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
ExpressRoute Circuits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Microsoft Peering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Public Peering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Private Peering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Direct Internet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Routing Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
BGP Communities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Configuring ExpressRoute for distributed user bases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Asymmetric Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Azure ExpressRoute Costs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Where can ExpressRoute help with Dynamics 365? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 7
Compliance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Predictability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Implementing ExpressRoute with Dynamics 365 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 0
Pre-requisites for ExpressRoute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
External pre-requisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Microsoft pre-requisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Office 365 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Routing Dynamics 365 traffic across ExpressRoute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
External Connectivity to/from Dynamics 365 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Internal Cloud Connectivity within Dynamics 365 Customer Engagement applications . . . . . . . . . 36
Customer PaaS/IaaS Cloud Connectivity to/from Dynamics 365 . . . . . . . . . . . . . . . . . . . . . 38
Setting up ExpressRoute for Dynamics 365 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Server traffic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Client traffic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Considerations with ExpressRoute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Reusing ExpressRoute across multiple Online Services . . . . . . . . . . . . . . . . . . . . . . . . . 43
Microsoft Peering covers Dynamics 365 Customer Engagement applications and Office 365 . . . . . . 44
Configuration of customer network routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Routing between Dynamics 365 and other Azure . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
ExpressRoute controls traffic to the Microsoft network, not within it . . . . . . . . . . . . . . . . . . 45
ExpressRoute is not enforced as the ONLY route to Dynamics 365 . . . . . . . . . . . . . . . . . . . 46
Outbound Traffic from Dynamics 365 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
ExpressRoute does not make public cloud services part of customer on-premises domain . . . . . . . 48
Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Data Load Throughput to Dynamics 365 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
ExpressRoute Readiness Checklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2
Client Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
WAN Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Peering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Asymmetric Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Geographical distribution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
On-Premises Integration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
2
Microsoft Dynamics 365 and ExpressRoute
Contents
Overview
Overview What are the What is Azure Where can Implementing ExpressRoute
challenges? ExpressRoute? ExpressRoute help ExpressRoute with Readiness
with Dynamics 365? Dynamics 365 Checklist
3
Microsoft Dynamics 365 and ExpressRoute
Overview
Overview
When deploying new systems, the changes can expose challenges in connectivity
that are often amplified when users connect to Online services for the first time. This
can be a problem customers experience when initially deploying Microsoft Dynamics
Overview 365 services.
For many organizations, this can highlight one or more of the following concerns:
• Ability of their network or Internet connection to handle the additional traffic of a
rich business application
• Because Dynamics 365 is often a business-critical application, managing the pre-
dictability of the traffic supporting that service as opposed to other less critical
Internet traffic is important to ensure performance for the user and the business
• Ensuring compliance with regulations from a security and privacy policy perspec-
tive
Microsoft Azure ExpressRoute is an option that is often considered to mitigate these
concerns but it is important to understand the real benefits this brings so that you can
accurately judge the value for the situation.
ExpressRoute adds the most value when used with Dynamics 365 in providing com-
pliance with a regulatory need for data to never transit across the public Internet. It
can also assist in scenarios where routing Dynamics 365 traffic separately from gen-
eral Internet traffic can help with predictability of performance to a business-critical
applications such as those offered with Dynamics 365.
One critical factor to consider however though is that ExpressRoute does not cur-
rently allow you to directly configure specific services to be transported across the
ExpressRoute circuit but rather allows you to enable groups of services called peer-
ings. The choice of Dynamics 365 services you wish to use will affect which peerings
you need to enable:
Microsoft peering
• Configuring ExpressRoute for Dynamics 365 Customer Engagement (formerly Dy-
namics CRM) applications requires Microsoft Peering which by default will jointly
route both Dynamics 365 Customer Engagement applications and Office 365 via
ExpressRoute.
• It is possible using BGP Communities to configure the network to only route
traffic for certain services, such as only Skype for Business, or only Dynamics
365 Customer Engagement applications, through an ExpressRoute Microsoft
Peering circuit.
Public Peering
• All Dynamics 365 for Finance and Operations, Enterprise edition services require
Public Peering to be enabled
• Some Dynamics 365 Customer Engagement applications services require Public
Peering to be enabled (e.g. Learning Path, Voice of the Customer) 4
Microsoft Dynamics 365 and ExpressRoute
Overview
Private Peering
• Used for Azure IaaS services private to the customer and not directly used by the
Dynamics 365 services
The process of setting up ExpressRoute is often underestimated, in particular several
Overview actions and implications for the customer are often missed either in planning or ex-
ecution including:
• Configuration of the customer network to route traffic to the subnet connected to
ExpressRoute
• Avoiding asymmetric routing of traffic directly to Dynamics 365 across the Internet
but returned by ExpressRoute to the corporate network triggering firewall rejection
of the traffic
• The overall costs of provisioning ExpressRoute including Microsoft Azure services,
connectivity provider provisioning and ongoing service and internal IT network
routing configuration
• Determining whether multiple ExpressRoute circuits should be established for dis-
tributed deployments
ExpressRoute is a valuable technology, particularly with Azure IaaS, but one whose
deployment should not be undertaken lightly particularly for use with Dynamics 365
and Office 365 services. It should only be considered for these after a comprehensive
review of the business justification and planned configuration of its use.
5
Microsoft Dynamics 365 and ExpressRoute
Contents
Overview What are the What is Azure Where can Implementing ExpressRoute
challenges? ExpressRoute? ExpressRoute help ExpressRoute with Readiness
with Dynamics 365? Dynamics 365 Checklist
6
Microsoft Dynamics 365 and ExpressRoute
Dublin
LAN Latency/
Saturation
Frankfurt
The root causes and solutions to this are common and well known and typically re-
quire upgrading or improving the local area network itself as any other solutions will
typically require transiting through the LAN before they can help.
Poor WAN
Frankfurt
Connectivity
If Dynamics 365 traffic suffers from those challenges, then performance at the client
can suffer.
Dublin
Regional
Connectivity
Frankfurt Inefficient
What are the Routing
challenges?
Dublin
Security in
Transition
Frankfurt
In these situations, utilizing standard connections via the public Internet to cloud
services may not be acceptable. This is rare however, most regulations do not specify
that the Internet cannot be used, but rather that the data must be protected in transit
and typically by encryption at the level of 256 bit AES encryption which the SSL en- 9
cryption used by Dynamics 365 meets.
Microsoft Dynamics 365 and ExpressRoute
Contents
What is Azure
ExpressRoute?
Structure of ExpressRoute Connections
Configuring ExpressRoute for distributed user bases
Azure ExpressRoute Costs
Overview What are the What is Azure Where can Implementing ExpressRoute
challenges? ExpressRoute? ExpressRoute help ExpressRoute with Readiness
with Dynamics 365? Dynamics 365 Checklist
10
Microsoft Dynamics 365 and ExpressRoute
ExpressRoute
ExpressRoute
WAN
11
Microsoft Dynamics 365 and ExpressRoute
By utilizing a private connection, separate from other traffic to the public Internet, a
more controlled and predictable connection can be established to business-critical
services like Azure, Office 365 and Dynamics 365 avoiding issues like bandwidth sat-
uration by other Internet traffic.
Traffic between the customer environment and the Microsoft data center does not
transit the public network giving additional confidence in privacy of the traffic.
When ExpressRoute is enabled the connection is made between the customer and
Microsoft data centers and all traffic for designated subnets route via the Express-
Route dedicated connection. When it reaches the Microsoft data center peering rules
What is Azure
ExpressRoute? are applied to determine how to route the requests to the relevant service:
Microsoft Peering
Office 365, Dynamics 365
Customer's
network
The benefit that ExpressRoute brings is to enable a private connection between the
online services hosted in Microsoft’s data centers and the customer’s on-premises
connection, the benefits come from that private connection and the network routing
of traffic across that, it does not provide additional encryption or filtering of the traffic
itself.
ExpressRoute Circuits
A customer can order and configure one or more ExpressRoute Circuits. Each circuit 12
can be in the same or different regions, and can be connected to the customer prem-
ises through different connectivity providers.
Microsoft Dynamics 365 and ExpressRoute
An ExpressRoute circuit does not map to any physical entities and is identified by a
standard GUID called a service key (s-key).
Use of an ExpressRoute circuit can offer performance advantages when with the con-
nectivity provider a dedicated and optimized connection is set up directly through
their infrastructure to the edge of the Microsoft network. This connection could
be optimized without ExpressRoute but Internet connectivity is typically provided
through a series of partnerships and relationships between telecommunications pro-
viders which can lead to sub-optimal connectivity paths being taken to delivering
a customer’s network traffic to a specific destination. The agreement to provide a
What is Azure dedicated and private connection with a connectivity provider ensures that there is
ExpressRoute? a direct responsibility for the connectivity provider to setup an optimized connection
direct to the Microsoft network, and this ownership is often what leads to the opti-
mized experience.
Each circuit has fixed bandwidth and is mapped to a connectivity provider and a
peering location, the available bandwidth shared across the peerings for the circuit.
A circuit can have up to three separate peerings. These peerings represent different
routings used depending on which kind of service is being requested
• Microsoft peering: routes requests to Microsoft public services such as Office365
or Dynamics 365 Customer Engagement applications
• Public Peering: routes requests to the appropriate Azure public services e.g. Web
Roles, Storage.
• Some Dynamics 365 services and capabilities (Dynamics 365 for Finance and
Operation, Voice of the Customer and Learning Path) are hosted within Public
Peering services, whether a customer needs Public Peering will depend on
whether they require one of these services.
• Private Peering: routes requests to the customers private Azure services e.g. IaaS
Virtual Machines
Each peering is a pair of independent Border Gateway Protocol (BGP) sessions each
of them configured redundantly for high availability. To ensure true resilience though
it is important to ensure that they do transit over physically different connections.
Microsoft advertises the IP subnets or prefixes of the cloud services generally to the
public Internet. Microsoft would also advertise the IP prefixes for the relevant services
through the ExpressRoute BGP connection for the services specified in the peerings
defined for that circuit.
13
Microsoft Dynamics 365 and ExpressRoute
Customer Microsoft
Network Network
Internal Router configuration, routes
traffic for Microsoft Online Services
to ExpressRoute connected subnet
Internal routing
Router configuration routes configuration routes traffic
traffic via BGP session to appropriate service
For traffic to Microsoft, internal routing configuration within the customer network
needs to set up and is responsible for:
• Prioritizing the route for Microsoft Online Services traffic via the subnet connected
to ExpressRoute as opposed to through the public Internet connection
• Routing the Microsoft Online Services traffic from the connected subnet through
the BGP session established through ExpressRoute
At the other side, Microsoft is then responsible for routing the traffic to the appropri-
ate service within the Microsoft data center.
For traffic routed from Microsoft Online Services to an external service:
Customer Microsoft
Network Network
Connection Public
made to the Internet
internal service
Requests to external
services looked up against
Router configuration routes DNS; then if IP registered
traffic internally as appropriate against an ExpressRoute
either using public IP or NAT IP circuit, routes it internally
Traffic to IP registered
against ExpressRoute
Partner ExpressRoute Microsoft routed over the BGP
Edge Circuit Edge Session through the
customer private circuit
ExpressRoute Microsoft Peering
Connected Subnet
14
Microsoft Dynamics 365 and ExpressRoute
Microsoft Peering
Connectivity to Microsoft online services such as Office 365 and Customer Engage-
ment services will be routed through the Microsoft peering. Microsoft assigns the
URLs and IPs for Dynamics 365 Customer Engagement applications and Office 365
services to the Microsoft Peering, so any traffic routed to them will be advertised
and enabled through the Microsoft Peering, (although note that there are some an-
cillary services of Dynamics 365 Customer Engagement applications that are routed
through Public Peering).
Customer Microsoft
Network Network
Internal Router configuration, routes
traffic for Microsoft Online Services
to ExpressRoute connected subnet
Internal routing
Router configuration routes configuration routes traffic
traffic via BGP session to appropriate service
Using Microsoft peering, the connections are to shared services at Microsoft so once
they arrive at the Microsoft data center the ongoing connection is across an internal
shared network, the private connection provided by ExpressRoute does not extend
all the way to the destination service endpoint itself.
Public Peering
Depending on which Dynamics 365 applications are being used, public peering may
also be required.
Dynamics 365 Customer Engagement applications
What is Azure
ExpressRoute? Dynamics 365 Customer Engagement applications also use several Azure public ser-
vices as part of the broader offering. These break down into three categories that are
relevant to the discussion around ExpressRoute:
• Directly accessed services from outside of the corporate network. This can be ex-
ternal parties such as customers or partners, or internal users for whom their use
or location does not require their network traffic to be kept within the corporate
network or off the public Internet
• As these connections are made directly across the Internet then peering is not
relevant to these connections
• This would include capabilities like Portals and Voice of the Customer surveys.
• There are scenarios where although these are targeted at public Internet audi-
ences, may also be delivered to an internal audience where it may be relevant
to a customer to route the traffic to these for internal users through Express-
Route
• Directly accessed services such as Learning Path and Dynamics 365 for Tablet of-
fline sync
• As the connection to these services is directly from the client application e.g.
browser, Outlook client or tablet/phone app, then Public Peering to these
services needs to be configured to route this traffic if it is to utilize the Express-
Route connection and avoid public Internet routing
• Indirectly accessed services such as Azure Search, and Service Bus queues for
Dynamics Marketing
• As the connections to these services is indirectly managed within the Dynam-
ics 365 Customer Engagement applications service and would not be made
from the client applications, this traffic should never need to be considered by
the customer as the routing would be handled internally by the Dynamics 365
Customer Engagement applications service itself
Dynamics 365 Customer Engagement applications, while mostly routed through Mic-
rosoft Peering, therefore also requires Public Peering for certain capabilities.
Dynamics 365 for Finance and Operation
Dynamics 365 for Finance and Operations is hosted within Azure Public Services and
16
therefore would be routed using Azure Public Peering.
Microsoft Dynamics 365 and ExpressRoute
Private Peering
Microsoft does not utilize private services for Dynamics 365 that would be directly
accessible by the customer. It is not necessary for Dynamics 365 purposes to config-
ure Private peering for ExpressRoute. If the customer separately utilizes Azure private
services though, configuring Private peering is not harmful other than where the
introduction of additional workloads can cause the connection to be saturated.
Direct Internet
It is also important to realize that not all traffic to Dynamics 365 would be possible to
What is Azure
ExpressRoute? route across ExpressRoute, therefore direct Internet connections will also be required.
Dynamics 365 Customer Engagement applications
To gain performance benefit, where there is static content we can gain an advantage
by utilizing Azure Content Delivery Network (CDN) which is deployed as close as
possible to the edge of the Microsoft network. In many cases that location will be
closer to the user than the ExpressRoute circuit connection and therefore bypasses
ExpressRoute.
The content hosted within CDN does not contain any customer information, it would
only contain static content shared across all users rather than any dynamically gen-
erated and retrieved customer data which is always retrieved from the Dynamics 365
servers on demand.
Currently Azure CDN is used for the Learning Path feature, but other uses are under
consideration for future releases.
It is important to realize therefore, that a direct Internet connection from the client
to the Microsoft cloud service is required for Dynamics 365 Customer Engagement
applications.
Dynamics 365 for Finance and Operations, Enterprise edition
While client traffic into Dynamics 365 for Finance and Operation would be possible
to route via ExpressRoute, requests made from Dynamics 365 for Finance and Oper-
ation out to on-premises services, cannot be initiated at the service side and routed
through ExpressRoute Public Peering. Where connections back to the on-premises
services are needed from Dynamics 365 for Finance and Operation, those services
would need to be accessible from the public Internet.
Routing Configuration
The routing configuration is either done by the connectivity provider or the customer
depending on the connection type provided.
A characteristic when considering ExpressRoute for Dynamics 365 compared to some
other Azure services is that although the ExpressRoute connection itself is between
data centers, the actual network connection is mostly from the end user client de-
vices which will often be distributed across a broader WAN such as distributed bank
branches for example. This therefore means that the routing of connections from the
location of the client device through the WAN to the data center and then across the 17
Microsoft Dynamics 365 and ExpressRoute
BGP Communities
One of the challenges faced by customers is wanting to use ExpressRoute for a par-
ticular Microsoft cloud service but not for others. While the different peering options
provide some level of control here, the ability for example to enable only routing to
Azure IaaS machines but not to Office 365, the peering itself does not provide gran-
ular control within services of the same peering type. It is possible though to use BGP
communities to configure traffic for specific services only.
This is particularly relevant for Dynamics 365 Customer Engagement applications with
Office 365 where routing via ExpressRoute may be desirable for one service but not
for both or only for certain individual services of Office 365 such as Skype for Business.
ExpressRoute itself does not currently offer the ability to directly configure services
to be routed via a specific ExpressRoute circuit at this level of service granularity, but
BGP communities can be used to control this.
Microsoft will advertise routes in the Microsoft peering paths with routes tagged with 18
Microsoft Dynamics 365 and ExpressRoute
appropriate BGP community values for geographical locations and service types.
These can then be configured in the customer’s routers to route traffic for those
services through the ExpressRoute circuit.
Both Dynamics 365 Customer Engagement applications and the different Office 365
services will be tagged and these tags can be used to decide to route traffic only for
those services through the ExpressRoute circuit and the rest across either a different
ExpressRoute circuit or the public Internet.
What is Azure
ExpressRoute?
Configuring ExpressRoute for distributed user
bases
ExpressRoute is designed to provide private, dedicated and therefore predictable
connections from a customer’s environment to the Microsoft network. By having a
dedicated and direct connection through the connectivity provider to Microsoft this
will reduce the potential for contention from other traffic on shared connections
through the connectivity provider’s network. It should not be necessary however
to utilize ExpressRoute to achieve that quality of connection through a connectivity
provider, but is a way to ensure it.
In the following example, it shows how a user in a branch location would have their
connection routed via the WAN to the customer data center connection to Express-
Route.
Partner ExpressRoute
WAN Connection
Edge Circuit
ExpressRoute
Connected Subnet
Where a customer has a highly distributed network of users, such as a branch net-
work of a bank distributed around a country, the network traffic now needs to be
connected efficiently from multiple, highly geographically distributed locations.
The typical pattern for this then would be to route things through the WAN to the
local network connected to ExpressRoute as the following diagram shows:
19
Microsoft Dynamics 365 and ExpressRoute
If the connection between the client and ExpressRoute is too poor or is saturated or
inefficient in some other way, then ExpressRoute will not solve this as the connection
problems in getting to the ExpressRoute entry point would still impact the user ex-
perience.
WAN Connection
When connecting to cloud services and being constrained by challenges in the WAN
connections, establishing local Internet breakouts from local branches can often be
extremely beneficial to performance, avoiding the slower WAN connection and uti-
lizing the reach of the connectivity provider to achieve a more direct connection to
the cloud service.
20
Microsoft Dynamics 365 and ExpressRoute
Partner
Edge
Connection to Microsoft
n
ctio
Branch Network Customer Data
nne
Co
in Holland Center
N
WA
Partner ExpressRoute
What is Azure WAN Connection
WAN Connection Edge Circuit
ExpressRoute?
ExpressRoute
Connected Subnet
It is possible to setup ExpressRoute circuits from multiple locations and even out to
individual branch locations through a local Internet breakout as shown in the follow-
ing diagram:
Partner ExpressRoute
Edge Circuit
n
ctio
in Holland Center
N
WA
The WAN approach from branch locations to a central data center and ExpressRoute
circuits between the customer and Microsoft data centers is typically preferable and
more practical though than trying to establish an ExpressRoute connection from each
branch office location which is both relatively expensive and complicated to setup
and maintain if this was required from large numbers of locations
An alternative approach is to connect all the branch offices and customer data center
on the same IP VPN and have the IP VPN service provider connect to Microsoft at an
ExpressRoute location.
If there are challenges with a local WAN connection then it is typically better to op-
timize that, such as gaining additional bandwidth or optimizing the routing, rather
than trying to establish an ExpressRoute connection from each location. 21
Microsoft Dynamics 365 and ExpressRoute
For more physically distributed networks, it may be valuable to have several hubs
connected to ExpressRoute to minimize the number of ExpressRoute connections
needed while still offering a more local connection point. In this case it is important
to ensure that unique public IPs are published via each ExpressRoute circuit. This has
the implication that each of these subnets must be distinct, requiring as many publicly
facing subnets as ExpressRoute connections.
This is particularly beneficial if the different operational areas are in vastly different
areas or if the network connectivity between the areas is limited but a more direct
connection to Microsoft can be established.
It is also possible that different regions have different privacy requirements, and it is
not necessary that every region uses ExpressRoute simply because one does. It may
be possible for some connections to be routed directly through the Internet and
others through ExpressRoute:
22
Microsoft Dynamics 365 and ExpressRoute
ExpressRoute
Connected Subnet
Asymmetric Routing
One challenge to watch for is asymmetric routing, where routing configuration within
the customer network could route traffic to the Microsoft data center directly across
the Internet but then the return traffic determines that the responses should be rout-
ed via an ExpressRoute circuit. This can often trigger firewalls to reject the traffic as
it would receive response packets without having sent the request packets so rejects
them as it is not aware of the request origination.
23
Microsoft Dynamics 365 and ExpressRoute
n
ctio
Branch Network Customer Data 4. Response 3. Response
nne
Partner ExpressRoute
What is Azure WAN Connection
WAN Connection Edge Circuit
ExpressRoute?
ExpressRoute
Connected Subnet
Microsoft
Customer Operations in Holland Cloud
Where this can happen is if the local network for a client perceives that the most
efficient routing to Microsoft’s cloud services is across the public Internet rather than
through the WAN to the private ExpressRoute circuit. But if in that case the client
IP address is either a public IP address or is translated through NAT mappings to a
public IP address that is advertised through ExpressRoute, then when the Microsoft
service comes to route the reply, the most efficient route back to that IP would likely
be through the BGP session over ExpressRoute. A customer can use different NAT
IPs on the customer’s Internet edge and ExpressRoute edge. With distinct source
address, return traffic will unambiguously come back to the same edge.
This can also happen where there are multiple ExpressRoute circuits configured for
the same customer with outbound traffic routing via one circuit but return rout-
ing through another where the same firewall checks could block unsolicited traffic
through the return path. To avoid asymmetric routing across a different ExpressRoute
circuit for the outbound and inbound paths, it is equally important to ensure that
unique public IPs are published across each circuit.
As this shows, it is important to determine how the routing is managed within the
customer’s WAN and ensure that the paths to and from Microsoft’s cloud services are
carefully considered.
25
Microsoft Dynamics 365 and ExpressRoute
Contents
Where can
ExpressRoute help
with Dynamics 365?
Compliance
Predictability
Overview What are the What is Azure Where can Implementing ExpressRoute
challenges? ExpressRoute? ExpressRoute help ExpressRoute with Readiness
with Dynamics 365? Dynamics 365 Checklist
26
Microsoft Dynamics 365 and ExpressRoute
Azure PaaS
Where can ExpressRoute Express Route
help with Dynamics 365?
Frankfurt
Azure IaaS
Dedicated Connection
Circuit VPN Options
The primary areas therefore that this provides direct benefits to are:
• Compliance: not routing customer information via the public Internet
• Predictability: dedicated connection avoiding conflict with other Internet traffic
Compliance
By routing the traffic to Dynamics 365 via a private connection, this avoids routing of
customer data over the public Internet.
It is important to note though, that ExpressRoute does not actually encrypt the traffic
itself, so the encryption used to connect to Dynamics 365 is that provided by the
underlying services themselves. The Dynamics 365 services support AES 256-bit en-
cryption.
The primary benefit to routing Dynamics 365 traffic via ExpressRoute is to meet com-
pliance needs where regulatory requirements state that customer data cannot be
transferred over the public Internet. This is not a common regulatory requirement
however, most regulations state that the data transfer must be adequately protected
but make no specific calls for a private connection to a cloud service.
As described earlier, static content served by the Azure CDN service for Dynamics
365 Customer Engagement applications cannot be routed via ExpressRoute so would 27
be routed directly across the public Internet.
Microsoft Dynamics 365 and ExpressRoute
Dynamics 365 for Finance and Operation would also require direct Internet con-
nections for any communications initiated from the cloud service to on-premises
services.
Predictability
The Internet connection of most organizations is shared with many other uses. This
can lead to contention for bandwidth. The connection within the connectivity provid-
er may also suffer from contention from other customers.
ExpressRoute can establish a private and direct connection to the Microsoft data cen-
ters. If the main issue is just within the bandwidth available, internal routing through
Where can ExpressRoute the connectivity provider or traffic in the connection between the customer and the
help with Dynamics 365?
network provider, then this can be resolved through either higher bandwidth and
more reliable or better optimized connections without the need for ExpressRoute.
These would in fact be pre-requisites to ExpressRoute anyway, so if the problem can
be resolved directly through better Internet connections then ExpressRoute may not
drive value.
Providing a connection directly through to the Microsoft’s data centers minimizes
the chances of any contention with other traffic either from the same organization
or any other.
28
Microsoft Dynamics 365 and ExpressRoute
Contents
Implementing
ExpressRoute with
Dynamics 365
Pre-requisites for ExpressRoute
Routing Dynamics 365 traffic across ExpressRoute
Setting up ExpressRoute for Dynamics 365
Considerations with ExpressRoute
Overview What are the What is Azure Where can Implementing ExpressRoute
challenges? ExpressRoute? ExpressRoute help ExpressRoute with Readiness
with Dynamics 365? Dynamics 365 Checklist
29
Microsoft Dynamics 365 and ExpressRoute
Implementing ExpressRoute
with Dynamics 365
External Pre-requisites
ExpressRoute does not provide the physical connection itself, but the private connec-
Implementing tivity over an already established physical connection.
ExpressRoute with The physical connectivity must first be set up by a connectivity provider. There are a
Dynamics 365 number of ways this connectivity can be established with existing ExpressRoute part-
ners, the ExpressRoute documentation gives detailed explanations of the options and
the currently available partners.
ExpressRoute
documentation As part of planning the following need to be allowed for:
Geography
Documentation
• As we will discuss in more detail later, understanding geographically where one or
more connections need to be made from will impact on the overall planning
Cost
• The Connectivity Provider will charge the customer for establishing the private
connection
• This can be a significant cost, and will vary depending on the type and number of
connections needed and across different connectivity providers
Setup time
• With the need in some cases for physical hardware setup, the setup time for this
needs to be planned into implementation schedules
Configuration skills
• The majority of the configuration complexity will be in setting up the internal net-
work routing within the customer network. Ensuring availability of the skills of re-
sources to do this is essential
Microsoft Pre-requisites
Once the physical connectivity is in place, setting up the Microsoft ExpressRoute con-
nections themselves can be done.
30
Microsoft Dynamics 365 and ExpressRoute
Implementing ExpressRoute
with Dynamics 365
Office 365
As Dynamics 365 Customer Engagement applications and Office 365 services are
both offered through the Microsoft Peering, setting up Microsoft peering would by
default advertise all Dynamics 365 Customer Engagement applications and Office
365 services across the ExpressRoute circuit.
Implementing
ExpressRoute with
The consequence of this is that enabling it to route traffic for one, would lead to
Dynamics 365 both being routed across ExpressRoute. This may be desirable or not, but can have
adverse implications. For example, if you have determined the network bandwidth
needed for Dynamics 365 and sized the ExpressRoute connection accordingly but
accidentally then discover that all your Office 365 traffic is also routing via Express-
Route then this could saturate your network and cause performance challenges.
Azure tools
If you decide to configure ExpressRoute for Dynamics 365 Customer Engagement
applications and enable it while still trailing the internal network configuration but are
already hosting your email in Office 365 and discover a problem in your configura-
tion, this could affect users’ existing access to their email service. It would be possible
to utilize BGP Communities to not route traffic for Office 365 services but this should
be considered and planned for.
As Dynamics 365 Customer Engagement applications work as part of the Office 365
service many cross over services such as the admin portal and authentication are also
required. Not all of these are possible to protect using ExpressRoute, the Office 365
Portal for example is not published across ExpressRoute.
While by default enabling ExpressRoute for Microsoft peering will route all Dynamics
365 Customer Engagement applications and Office 365 traffic through the Express-
Route connection, it is possible to use BGP Communities tags to control the routing
so that only specific services such as Dynamics 365 Customer Engagement appli-
cations, but not other Office 365 services, utilize the ExpressRoute connection. In
particular, not all Office 365 services are designed to work with ExpressRoute.
31
Microsoft Dynamics 365 and ExpressRoute
Implementing ExpressRoute
with Dynamics 365
Azure PaaS
Express Route
Frankfurt
Azure IaaS
Dedicated Connection
Circuit VPN Options
32
Microsoft Dynamics 365 and ExpressRoute
Implementing ExpressRoute
with Dynamics 365
Customer's
network
Microsoft Peering
Office 365, Dynamics 365
On-Premise
Exchange Server
Implementing
ExpressRoute with Partner ExpressRoute Microsoft
Dynamics 365 Edge Circuit Edge Public Peering
Azure PaaS
On-Premise
Customer System
Inbound Traffic
The following inbound traffic is possible to Dynamics 365 Customer Engagement
applications from the customer network.
Implementing ExpressRoute
with Dynamics 365
Outbound Traffic
The following types of outbound traffic can occur directly from Dynamics 365 Cus-
tomer Engagement applications services to customer services.
For each of these it is important to note that the customer service must be publicly
addressable with a public IP that can be resolved through public DNS by the Dynam-
ics 365 Customer Engagement applications service.
There are not controls within the Dynamics 365 Customer Engagement applications
service to specify which service instance or customer organization can make requests
to which IP addresses. It is important therefore to realize that requests inbound to
Implementing the corporate network should be treated as inbound from the Internet and secured
ExpressRoute with as such.
Dynamics 365
34
Microsoft Dynamics 365 and ExpressRoute
Implementing ExpressRoute
with Dynamics 365
External Connectivity to/ from Dynamics 365 for Finance and Operation,
The following different connection types exist between Dynamics 365 for Finance and
Operation and an external network.
Customer's
network Microsoft Peering
Office 365, Dynamics 365
On-Premise
Customer System
Implementing
ExpressRoute with Partner ExpressRoute Microsoft
Dynamics 365 Edge Circuit Edge Public Peering
Azure PaaS
Client PCs
Inbound Traffic
The following inbound traffic is possible to Dynamics 365 for Finance and Operation
from the customer network.
35
Microsoft Dynamics 365 and ExpressRoute
Implementing ExpressRoute
with Dynamics 365
Outbound Traffic
The following types of outbound traffic can occur directly from Dynamics 365 for
Finance and Operation services to customer services.
For each of these it is important to note that the customer service must be publicly
addressable with a public IP that can be resolved through public DNS by the Dynam-
ics 365 for Finance and Operation service.
The Dynamics 365 for Finance and Operation Service does not control or limit the
destination of outbound requests from specific customer instances. There is no con-
trol to make sure that only Organization A can make requests to resources over
Organization A’s Express Route circuit or to their published IP addresses. It is import-
ant therefore to realize that requests inbound to the corporate network should be
treated as inbound from the Internet and secured as such.
Implementing
ExpressRoute with
Traffic Type and
Dynamics 365 Description Peering Type Purpose
Direction
Cannot be routed
Https Outbound across Express- Custom code can
from Dynamics 365 Route, and would make web service
Web Services
for Finance and need to travel requests to external
Operation across the public services
Internet
EWS
36
Microsoft Dynamics 365 and ExpressRoute
Implementing ExpressRoute
with Dynamics 365
The actual connectivity between these services, hosted either in Microsoft or custom-
er Azure subscriptions, is handled by Microsoft. ExpressRoute is not applicable for
connections with these services.
Where events are pushed onto the service bus, the connectivity between Dynamics
365 Customer Engagement applications and Azure is handled internally. Separately
the customer may make requests to the Service Bus to retrieve information, and this
can be managed through public peering.
Internal Cloud Connectivity within Dynamics 365 for Finance and Operation
Dynamics 365 for Finance and Operation can be integrated with a customer’s Azure
AD for Single Sign On.
This connectivity would occur through claims based authentication passing tokens
between the authentication service and the client and then the client and the Dy-
namics 365 for Finance and Operation service, so no additional traffic is required
than is required to connect to the customer’s Office 365 service. If they wish to use
the Office 365 service for authentication then that would be over Microsoft Peering if
they wish it to be routed via ExpressRoute
37
Microsoft Dynamics 365 and ExpressRoute
Implementing ExpressRoute
with Dynamics 365
Customer's
Implementing
ExpressRoute with network Request to SQL Azure/Cortana Analytics Suite
Dynamics 365 Customer Push messages to/pull messages from Service Bus
Azure IaaS
38
Microsoft Dynamics 365 and ExpressRoute
Implementing ExpressRoute
with Dynamics 365
39
Microsoft Dynamics 365 and ExpressRoute
Implementing ExpressRoute
with Dynamics 365
40
Microsoft Dynamics 365 and ExpressRoute
Implementing ExpressRoute
with Dynamics 365
There may be other public services in the future that also require public peering as
other Azure capabilities are utilized.
Customer Public/Private Cloud Connectivity to/from Dynamics 365 for Finance and
Operation Engagement
Dynamics 365 Customer Engagement applications also allow direct integration with
public or private Azure resources:
• From external sources using the Dynamics 365 for Finance and Operation web
services APIs
• To external sources using web service requests made
41
Microsoft Dynamics 365 and ExpressRoute
Implementing ExpressRoute
with Dynamics 365
Server traffic
Inbound traffic
Configuring for inbound traffic will require establishing internal routing within the
data center to prefer connections through the ExpressRoute circuit for traffic to
Microsoft services.
Outbound traffic
Outbound traffic from a Dynamics 365 resource will need the target IP address to
be a public IP address and advertised through an ExpressRoute circuit.
All traffic should be treated as from the Internet though due to the shared nature 42
Microsoft Dynamics 365 and ExpressRoute
Implementing ExpressRoute
with Dynamics 365
Client traffic
Client traffic would typically be inbound to the Microsoft services rather than
outbound back to the client.
Inbound traffic
Traffic from users who may be on a variety of clients such as corporate network
attached PCs or in mobile scenarios such as tablet users either on the corporate
network or on public connections.
This would typically be ensured through use of proxies within the corporate network
and for mobile devices potentially the additional use of VPN to connect back
into the corporate network first, ensuring that traffic is routed via the corporate
ExpressRoute circuit. Note however, that this could incur overheads compared to
directly accessing the cloud services through a local Internet breakout.
43
Microsoft Dynamics 365 and ExpressRoute
Implementing ExpressRoute
with Dynamics 365
Dynamics 365
Dublin for Customer Engagement
Azure PaaS
Express Route
Frankfurt
Can reuse same ExpressRoute Azure IaaS
connection across Dynamics
365 and other Online Services.
Note that ExpressRoute itself does not separate different types of Microsoft services
from a particular subnet. It is possible to utilize BGP Community tags to control the
routing of traffic to particular services across ExpressRoute. Note that Microsoft does
not route traffic back across ExpressRoute selectively based on BGP Communities
tags. If traffic needs to be returned differently based on service type, then it would
be necessary to make sure that the traffic comes from different public IP addresses,
And as any traffic returning to a subnet would be handled at a network level, it would
be dangerous to configure only some traffic from a subnet to utilize ExpressRoute as
this can lead to asymmetric routing.
Microsoft Peering covers Dynamics 365 Customer Engagement applications and Of-
fice 365
When Microsoft peering is enabled, this will configure traffic both Dynamics 365
Customer Engagement applications and Office 365 to be routed via ExpressRoute.
Implementing ExpressRoute
with Dynamics 365
We advertise more specific routes for Office 365 and Dynamics 365 over Express-
Route than the routes we advertise on the public Internet. If the customer propagates
the specific routes from us to their network, their user traffic will be routed to Express-
Route because of Longest Prefix Matching (LPM).
A key reason customers run into challenges when configuring ExpressRoute is either
because:
• Their internal network routing is incorrectly setup to route traffic to the Express-
Route connection point
• Or because they have asymmetric routing, where request and response traffic is
routed differently.
• For example, where traffic is routed directly to Microsoft cloud services across
the Internet but then returns via ExpressRoute, triggering firewall exceptions
blocking the return traffic.
Implementing
ExpressRoute with
Dynamics 365 Routing between Dynamics 365 and other Azure
Traffic between services in Microsoft’s data centers would route within the Microsoft
network rather than via the public Internet.
Dynamics 365
Dublin
Express Route
Frankfurt
Azure IaaS
No direct link between Azure IaaS and
Dynamics 365 servers. Within same data
center, these would route normally.
Implementing ExpressRoute
with Dynamics 365
Dynamics 365, the end target is a shared service so the network connection to it is
also shared within the Microsoft network.
Implementing
ExpressRoute with Doesn't prevent direct access
Dynamics 365 Dublin
Express Route
Frankfurt
Dedicated Connection
Circuit VPN Options
The issue of external connectivity is particularly a concern where mobile users are
involved, especially from mobile devices such as laptops, tablets and phones.
Where this is a concern, there are a number of approaches that can be used to man-
age this
• Where federated authentication is used, ensuring that access to ADFS is only pos-
sible once VPN connections are established to the corporate network
• Azure AD conditional access and Intune can be used to control from which devices
and locations access is allowed and to control the device configuration such as
proxies, VPN and routing
46
Microsoft Dynamics 365 and ExpressRoute
Implementing ExpressRoute
with Dynamics 365
Express Route
Corporate WiFi or VPN
Frankfurt
Azure IaaS
Connectivity can also be via
corporate infrastructure, e.g.,
ADFS for authentication
It is conceivable that requests could be made from other services to a customer ser-
vice. Particularly for Dynamics 365 Customer Engagement applications, it is a shared
service so it is not possible to lock the requests down to a particular set of machines.
It is necessary to consider traffic back through ExpressRoute as coming from an
external source, as although it is coming from a Microsoft data center, Microsoft is
not controlling the source of the requests as other customer services could attempt
connections.
47
Microsoft Dynamics 365 and ExpressRoute
Implementing ExpressRoute
with Dynamics 365
Dublin
Express Route
Implementing
ExpressRoute with
Dynamics 365
In order to be routed back through ExpressRoute, any service being connected to
must have:
• A publicly discoverable URL
• A Public IP address that matches a subnet configured for an ExpressRoute circuit
peering definition
• Must be in the same region as the requesting service if ExpressRoute standard is
used, or in any region if ExpressRoute Premium is used
This approach is particularly valuable for a number of common integration scenarios
between Online and On-Premises services.
ExpressRoute does not make public cloud services part of customer on-premises
domain
Although ExpressRoute establishes private connections between the customers
on-premises domain and the cloud data center it does not make the cloud services
part of the customer on-premises domain. While this can be done now for customer
specific IaaS resources, this is not the case for public resources like Dynamics 365.
In the case of Dynamics 365 Customer Engagement applications, these are shared
resources and cannot be attached to a customer domain.
For Dynamics 365 for Finance and Operation, while the individual resources are pri-
vate to the customer, the machines are not domain joined to the customer network.
The implication of this for integrations or connections between cloud and on-prem-
ises services is that connections cannot rely on mechanisms like integrated authenti-
cation using domain credentials.
Implementing ExpressRoute
with Dynamics 365
While the URL and IP Address to discover the Exchange Web Services must be pub-
lished externally, the actual connection can be controlled so that it can only be ac-
cessed via ExpressRoute. Although this means that if access through ExpressRoute
is lost then connection would be lost until the access is restored. While this reduces
the threat vectors to connect to Exchange, as discussed earlier this does not actually
ensure that only the customer’s particular online service instance is making the con-
nection. Connections across ExpressRoute to Exchange On-Premises would still need
to be validated by the customer.
Microsoft
Network
Requests to Exchange On-
Premises, routed via DNS
Connections to the lookup to an ExpressRoute
Implementing On-Premises Exchange connected subnet
ExpressRoute with Customer server would need to
Dynamics 365 Network
be protected at the
customer gateway
Only web service traffic utilizing SSL is possible directly from custom plug ins or
workflow activities, but these would then have similar characteristics as connections
to Exchange on-premises and would need to be protected in the same way.
Microsoft
Network
Requests to Exchange On-
Premises, routed via DNS
Connections to the lookup to an ExpressRoute
On-Premises Exchange connected subnet
Customer server would need to
be protected at the
Network customer gateway
Implementing ExpressRoute
with Dynamics 365
Performance
ExpressRoute alone will typically not add significant advantages in performance over
an efficient network connection with available capacity. It is possible that the process
of establishing a dedicated and private connection by your connectivity provider re-
sults in a more optimized connection than your shared Internet connection.
50
Microsoft Dynamics 365 and ExpressRoute
Contents
ExpressRoute
Readiness Checklist
Client Routing
WAN Performance
Peering
Asymmetric Routing
Geographical distribution
On-Premises Integration
Overview What are the What is Azure Where can Implementing ExpressRoute
challenges? ExpressRoute? ExpressRoute help ExpressRoute with Readiness
with Dynamics 365? Dynamics 365 Checklist
51
Microsoft Dynamics 365 and ExpressRoute
ExpressRoute Readiness
Checklist
Client Routing
Using ExpressRoute for Dynamics 365 and Office 365 requires traffic routing from the
client via ExpressRoute circuit, rather than via the Internet
This is typically done through proxy setup. Has it been confirmed how the client con-
nectivity will be configured to make sure that appropriate traffic will be routed via the
ExpressRoute circuit?
ExpressRoute
Are the clients connecting
Readiness Checklist from Public IP addresses or
n
in Holland Center
Co
N
WA
Partner ExpressRoute
WAN Connection Edge Circuit
Has the client been configured to use a ExpressRoute
proxy to route traffic to the ExpressRoute Connected Subnet
subnet rather than across the Internet?
WAN Performance
When using ExpressRoute, the performance from a client will only be as good as the
slowest link on the connection and as most clients will be connected to the Express-
Route circuit via a WAN, the capacity and speed of the WAN connection is critical, will
this be sufficient for the required traffic?
52
Microsoft Dynamics 365 and ExpressRoute
ExpressRoute Readiness
Checklist
WAN Connection
ExpressRoute Peering
Readiness Checklist
Dynamics 365 uses a combination of Microsoft and Public Peering
Public Peering is used for Learning Path, Voice of the Customer and Tablet Offline
sync
Has the appropriate combination of Microsoft and Public Peering been configured
for your needs?
Partner ExpressRoute
WAN Connection Edge Circuit
ExpressRoute
Connected Subnet
Asymmetric Routing
Have you configured the network and ExpressRoute to ensure you avoid asymmetric
routing?
53
Microsoft Dynamics 365 and ExpressRoute
ExpressRoute Readiness
Checklist
in Holland Center
ted
firewall ExpressRoute
Rou
Geographical distribution
If a geographically distributed user base is to be served, has this been considered
in the ExpressRoute circuit connectivity, are multiple circuits needed distributed geo-
graphically for different areas or regions?
in Holland Center
WAN Connection
ExpressRoute Readiness
Checklist
On-Premises Integration
Are connections back into the on-premises network from Microsoft cloud across Ex-
pressRoute protected, are they validated as if coming from the public Internet?
55
Microsoft Dynamics 365
This document is provided "as-is". Information and views expressed in this document, including URL and other Internet Web site references,
may change without notice. You bear the risk of using it.
Some examples depicted herein are provided for illustration only and are fictitious. No real association or connection is intended or
should be inferred.
This document does not provide you with any legal rights to any intellectual property in any Microsoft product. You may copy and use this
document for your internal, reference purposes.
Microsoft, Active Directory, Excel, Hyper-V, Internet Explorer, Microsoft Dynamics, Microsoft Dynamics logo, MSDN, Outlook, Notepad,
SharePoint, Silverlight, Visual C++, Windows, Windows Azure, Windows Live, Windows PowerShell, Windows Server, and Windows Vista
are trademarks of the Microsoft group of companies.