• No results found

Introductions. Christopher Cognetta Practice Manager Client Field Engineering Microsoft Dynamics CRM MVP

N/A
N/A
Protected

Academic year: 2021

Share "Introductions. Christopher Cognetta Practice Manager Client Field Engineering Microsoft Dynamics CRM MVP"

Copied!
53
0
0

Loading.... (view fulltext now)

Full text

(1)
(2)
(3)

Introductions

Christopher Cognetta

Practice Manager – Client Field Engineering

Microsoft Dynamics CRM MVP

[email protected]

• CRMUG Chairperson Miami & Tampa – Co Chair • 250+ Dynamics CRM Implementations & Upgrades

- 80+ with ADFS & IFD

• Infrastructure /Application Architecture Guru

BLOG: www.cognettacloud.com

(4)
(5)
(6)

What is ADFS?

Active Directory Federated Services (ADFS) is Microsoft’s Security Token Service (STS) designed to provide or ”federate” (SSO – Single Sign On) with other security providers (AD, Windows Live, Office 365, and many

others). Mobile and Cloud based ISV add-ons often require your CRM to be ADFS/IFD (Internet Facing Deployment) enabled.

So why is ADFS so challenging to implement?

ADFS interacts with most of the following technologies:

Active Directory PKI Firewall Domain Name Service Proxy Servers Certificate Authority SSL Internet Facing Deployment (IFD) IIS Certificates Server\Desktop Outlook Clients DMZ Ports

Hosts Claims Authentication NTLM Kerberos SPNS ACL Reservations Cloud

Various technologies make ADFS challenging to implement by an organization. Pre-Planning and Team work are essential to a successful ADFS implementation.

(7)

ADFS Diagrams

Standard Authentication Internal ADFS Other Identity Stores, AD, Windows Live, Oracle Etc

(8)

Preparation

Internal and External DNS Entries

Deployment Options

CRM and ADFS Installation Tips

ADFS Screen Shots

Quick Check List

Tips and Tricks

(9)

Internal & External DNS

    Optional (Dev.domain.com)      

(10)

Internal & External DNS

(11)

Firewall Overview

Firewall Web Server

External DNS Entries at ISP or HOST CRM Port 443 ADFS Port 444

Port Forward All URL’s

All URL’s except ADFS will port forward to the CRM webserver port 443 .

ADFS will be configured as a separate website under port 444.

Recommend ADFS Standalone server under port 443.

ADFS must be the default website - Site #1 in shown IIS Sites CRM must be installed on a port, and not on the default site if Implementing ADFS and CRM on the same server.

External IP Internal IP

ADFS Server ADFS

(12)

D M Z

F I R E W A L L

Web Server

ADFS Deployment Options

F I R E W A L L

CRM

Port 443 Port 444ADFS Internal IP ADFS Server ADFS Port 443 ADFS Server Proxy External IP ADFS Server P Proxy Web Server

OPTION 1 OPTION 2 OPTION 3

Web Backend

(13)

Certificates Required

 

Some security teams do not want to use

wildcard certificates like *.domainname.com

   

(14)

Certificate Warnings

HTTPS://crm.domain.com

(15)
(16)
(17)

ADFS & CRM Installation Tips

http://www.Microsoft.com/download/en/details.aspx?id=10909

(18)

 Use CRM deployment manager to

configure the CRM internal URLs.

 Set the HTTPS, naming the web

address to match your certificate setting.

 Manually Set the HTTPS 443

binding and SSL certificate in IIS, Restart IIS

 Changes in this section require an

IIS Restart to take effect.

 Once ADFS is deployed internal

users will use the

https://internalcrm.domainname.c om URL for SSO access.

(19)

ADFS Installation Tips

Tip: Pre-configure the ADFS Server/Website IIS binding and certificate prior to install.

 Once ADFS installs, the

configuration wizard will appear:

 ADFS will prompt for the name

of your federation service. Should match ADFS URL.

 ADFS.domainname.com

The following URL is be provided in order to test the ADFS Federation Service is working:

https://adfs.domain.com/FederationMetadata/2007-06/FederationMetadata.xml

(20)

ADFS Installation Testing

The following URL is be provided in order to test the ADFS Federation Service is working:

https://adfs.domain.com/FederationMetadata/2007-06/FederationMetadata.xml

(21)

Configure Claims Wizard

From the CRM deployment manager we can start to configure Claims based Auth:

 Make sure to test this URL in your browser

for no certification errors.

 Select IIS SSL Certificate used for CRM

 URL will be provided at the end of the ADFS

installation.

 Save as favorite, trusted or intranet site.

 Receive the XML metadata from the URL the

ADFS service is working correctly.

(22)

Configure Claims Wizard

Completion Window after Claims Wizard via deployment manager has been

configured:

 This configures and confirms the CRM

federation services are working.

 The URL shown on screen is at the

bottom of the log file. Click view the log file to copy the URL

 Restart IIS and Test the URL before

proceeding to ADFS Setup.

 This URL will setup the first Relying

Party Trust with ADFS for CRM (Internal)

(23)

Configure ADFS – Relying Party

Trust

Configure the Claims

Provider Trust For Active Directory

 Select Claims Provider  Select Active Directory  Select Edit Claim Rules  Add Rule

 UPN Claim Rule  Matches the User

Principal

(24)

Configure ADFS – Relying Party Trust

Configure the Relying Party Provider Trust For Internal  Add Relying Party Trust  Add URL From Claims

Wizard

 Add 3 Rules

 Pass Through UPN  Pass Through Pri SID  Transforms Windows

Account Name to Name You can now test Kerberos to claims authentication by

(25)

Configure Internet Facing Deployment IFD

Inside deployment manager, you

will click configure IFD:

Enter ending of domain name

Web Application and Org

Service should both be the

same domainname.com

Dev domain is used for the

discovery web server and

should match your DEV DNS

entry. (Could be discovery too!)

(26)

Configure Internet Facing Deployment IFD

Next you will be prompted for the external domain:

 This is AUTH.domainname.com

address, not ADFS address.

 The documentation uses the same

URL as the STS server which is not correct.

 The end of the configuration will

provide A URL to configure the replying party trust in ADFS.

(27)

Configure Internet Facing Deployment IFD

Success window for CRM IFD Configuration.  Perform an IIS Reset on the CRM Server  Now Let’s go Back to ADFS and enter the

(28)

Configure ADFS Relying Party Trust

Open ADFS Wizard on ADFS Server:  Select Add Relying Party Trust

 Add URL AUTH address (same as

last page of CRM IFD Wizard).

 Add 3 Rules

 Pass Through UPN

 Pass Through Primary SID

 Transforms Windows Account Name

to Name

(29)
(30)
(31)
(32)
(33)

Minimum Requirements

    

(34)

Behind the Scenes

(35)

ADFS Pre Configuration

 Download and deploy the Public SSL Certificate in IIS 7  Deploy AD FS 2.0 on Windows Server 2008 or Windows

Server 2008 R2 – Configure to use deployed certificate

 Download and Install the Microsoft Online Services sign-in

assistant and Microsoft Online Services Module (for PowerShell)

 Change Security on Default URL from Anonymous

Authentication to Windows Authentication

 Add Public Domain URL to Local Intranet Zone

 Run MS Online Services Module Powershell and convert your

public domain to Federated:

$cred=Get-Credential

Connect-MsolServices -Credential $cred

(36)
(37)

AD Sync Config

 

(38)
(39)

Checklist Summary

1. 2. 3. 4. 5.

Optional

Optional

(40)
(41)

Tips and Tricks

Quick Checklist

BackConnectionHostNames Registry

Changing your ADFS login Name

Setting the IFD timeout

Multiple HTTPS Bindings

Internal Service Error 503 & 505

Updating ADFS Cache

401 Errors

Outlook Client V4 with CRM 2011

Caution on Cache

(42)

Quick Checklist

  http://www.microsoft.com/download/en/details.aspx?displaylang =en&id=3621         

(43)

BackConnectionHostNames

http://support.microsoft.com/kb/896861

  

(44)
(45)
(46)

Setting the ADFS/IFD Timeout

 

(47)

HTTPS Binding

  

Internal Service Error 503

Republish CRM Customizations

Restart IIS and/or Reboot

Reconfigure via the CRM wizards

(48)

Updating the ADFS Cache

 Updating the ADFS cache is

sometimes required when adding new organization and IFD

deployment

 Adding DNS entries or

troubleshooting issues.

 Updating is done from the ADFS

configuration tool, while on replying party trusts, you will see the left an option to Update the Federation Metadata.

(49)

IFD 404 Error & Workaround

A common error reported after IFD is enabled by external access user:

 This is because ADFS had a

copy of the CRM metadata during the install and not the exact copy is cached.

 The fix is to publish all

customizations.

 If this continues for a specific

user, update the user record by removing their name,

replace with test name, save, and then replace domain name again.

(50)

CRM Outlook Client 4

  http://go.microsoft.com/fwlink/?LinkID=210780        http://go.microsoft.com/fwlink/?LinkId=205316  

(51)

Caution on Cache

(52)

Closing & Q&A

Use of the Microsoft Forums – Ask an MVP!

http://social.microsoft.com/Forums/en-US/category/dynamics

Please don’t forget to accept the answer that helps you! Use of the Collaborate on the CRMUG forums

http://community.crmug.com/home

(53)

References

Related documents

on-prem Microsoft Azure Tenant (Org 2) on-prem Federation Service (ADFS) Directory Synchronization (AADConnect) User A Tenant (Org 1) Federation Service (ADFS) Directory

With the introduction of SAML support in A10 Networks Advanced Core Operating System (ACOS) version 4.0, Thunder ADC can act as a service provider in a security topology and

• The employer shall also be liable to pay compound interest at such rate as may be notified by CG from time to time. • The interest shall be paid starting from the date of expiry

PSA for Microsoft Dynamics CRM 2011 is a solution leveraging the powerful platform of Microsoft Dynamics CRM 2011 to add rich project management capabilities including

Essentials, Advanced Management or any add-on components), as well as Microsoft Dynamics CRM, Microsoft Apertum, Microsoft Enterprise Reporting, Microsoft FRx, Microsoft Forecaster,

(The screen image above is Active Directory Federation Services software. Trademarks are the property of their respective owners.).. The Add Relying Party Trust

Open the HOTPin ADFS Agent Console installed on the AD FS server or AD FS proxy server. Click the ADFS tab to access

Open the HOTPin ADFS Agent Console installed on the AD FS server or AD FS proxy server. Click the ADFS tab to access