SlideShare una empresa de Scribd logo
1 de 48
Descargar para leer sin conexión
ADFS & SharePoint the real world 
Thomas Vochten 
November 19, 2014 | SharePoint Connect Amsterdam
About Me 
Thomas VochtenSharePoint MVP. Platform architect. Speaker. Trainer. Involuntary DBA. Consultant at Xylos. V-TSP at Microsoft. 
@thomasvochtenhttp://thomasvochten.com 
mail@thomasvochten.com
Agenda
Claims based identity
Claims based identity
Claims based identity 
Authorization decisions are based on claims
Some claims examples
Use Cases 
Federation 
Single Sign On
Solutions on the market
Why ADFS ? 
ADFS Wiki on TechNet: http://thvo.me/adfswiki
Vocabulary
Claims Token 
Claim 
Claim 
Claim 
Claim 
Signature 
Name 
Age 
Location
Claims in SharePoint 2013
Windows Claims
Trusted Provider Claims
Identity Normalization
Simplified Logon Process with ADFS
Prerequisites
Installing ADFS 
Windows Server 2008 R2 
ADFS2.0 (free download) 
Windows Server 2012 
ADFS 2.1 (included) 
Windows Server 2012R2 
ADFS 3.0 (included) 
Configuration is stored in 
•Windows Internal Database (standalone) 
•SQL Server (farm) 
Install-WindowsFeature ADFS-Federation -IncludeManagementTools
# 
# Windows PowerShell script for AD FS Deployment 
# 
Import-Module ADFS 
# Get the credential used for the federation service account 
$serviceAccountCredential= Get-Credential 
Install-AdfsFarm` 
-CertificateThumbprint:"E76240FE42A81F9D61832A47DFD752EE6DB3A5A5" ` 
-FederationServiceDisplayName:"THVO Federation" ` 
-FederationServiceName:"fed.thvo.net" ` 
-ServiceAccountCredential:$serviceAccountCredential` 
-SQLConnectionString:"Data Source=alias_FSDB;InitialCatalog=ADFSConfiguration;IntegratedSecurity=True;MinPool Size=20"
Configuring ADFS
Prepare SharePoint for ADFS
Create the Trusted Security Token Issuer 
# Import the ADFS token signing certificate to SharePoint 
$cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2("C:FS01-TokenSigning.cer") 
New-SPTrustedRootAuthority -Name "FS01 Token SigningCertificate" -Certificate $cert 
# Define the claims type mappings 
$emailClaimMap = New-SPClaimTypeMapping -IncomingClaimType"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress" -IncomingClaimTypeDisplayName"EmailAddress" -SameAsIncoming 
$roleClaimMap = New-SPClaimTypeMapping -IncomingClaimType"http://schemas.microsoft.com/ws/2008/06/identity/claims/role" -IncomingClaimTypeDisplayName"Role" -SameAsIncoming 
$upnClaimMap = New-SPClaimTypeMapping -IncomingClaimType"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn" -IncomingClaimTypeDisplayName"UPN" -SameAsIncoming
Create the Trusted Security Token Issuer 
# Create the trusted identity provider 
$realm = "urn:sharepoint:intranet" 
$signInURL = "https://sts.lab.thvo.net/adfs/ls" 
$issuer = New-SPTrustedIdentityTokenIssuer -Name "ADFS" -Description"ADFS Trusted Identity Provider" ` 
-Realm $realm -ImportTrustCertificate $cert ` 
-ClaimsMappings $emailClaimMap,$roleClaimMap,$upnClaimMap ` 
-SignInUrl $signInURL ` 
-IdentifierClaim $upnClaimMap.InputClaimType
Modify your web application
Multiple Web Apps / Host Named Sites 
37 
$issuer= Get-SPTrustedIdentityTokenIssuer"FED01" 
$uri = new-object System.Uri("https://sf01-my.thvo.net/_trust/") 
$issuer.ProviderRealms.Add($uri, "urn:sharepoint:sf01-my") 
$issuer.Update() 
$issuer= Get-SPTrustedIdentityTokenIssuer"FED01" 
$isser.UseWReplyParameter= $true 
$issuer.Update()
People Picker
Claims Encoding 
i:0#.t|fed01|thomasv 
i:0#.w|labthomasv 
© Wictor Wilén
Custom Claims Provider 
https://ldapcp.codeplex.com/
User Profile Service
(User) Pictures in multiple sites or web applications 
$wa = Get-SPWebApplication https://sf01-content.thvo.net 
$wa.CrossDomainPhotosEnabled = $true 
$wa.Update()
Search
SharePoint Hosted Apps 
44
Cookies
Thank you! 
@thomasvochten
Spca2014 thvo adfs pub vochten

Más contenido relacionado

La actualidad más candente

It112 SharePoint 2010 Mythbusters
It112 SharePoint 2010MythbustersIt112 SharePoint 2010Mythbusters
It112 SharePoint 2010 Mythbusters
Spencer Harbar
 
CTU June 2011 - Windows Azure App Fabric
CTU June 2011 - Windows Azure App FabricCTU June 2011 - Windows Azure App Fabric
CTU June 2011 - Windows Azure App Fabric
Spiffy
 

La actualidad más candente (20)

Azure AD App Proxy Login Scenarios with an On Premises Applications - TSPUG
Azure AD App Proxy Login Scenarios with an On Premises Applications - TSPUGAzure AD App Proxy Login Scenarios with an On Premises Applications - TSPUG
Azure AD App Proxy Login Scenarios with an On Premises Applications - TSPUG
 
It112 SharePoint 2010 Mythbusters
It112 SharePoint 2010MythbustersIt112 SharePoint 2010Mythbusters
It112 SharePoint 2010 Mythbusters
 
Office 365 APIs for your Applications
Office 365 APIs for your ApplicationsOffice 365 APIs for your Applications
Office 365 APIs for your Applications
 
SharePoint and Office Development Workshop
SharePoint and Office Development WorkshopSharePoint and Office Development Workshop
SharePoint and Office Development Workshop
 
Kerberos part 2
Kerberos part 2Kerberos part 2
Kerberos part 2
 
Multi-Factor Authentication for your clouds
Multi-Factor Authentication for your cloudsMulti-Factor Authentication for your clouds
Multi-Factor Authentication for your clouds
 
O365Con18 - Introduction to Azure Web Applications - Eric Shupps
O365Con18 - Introduction to Azure Web Applications  - Eric ShuppsO365Con18 - Introduction to Azure Web Applications  - Eric Shupps
O365Con18 - Introduction to Azure Web Applications - Eric Shupps
 
Creating Cloud-Ready Enterprise Applications with the SharePoint 2013 Add-In ...
Creating Cloud-Ready Enterprise Applications with the SharePoint 2013 Add-In ...Creating Cloud-Ready Enterprise Applications with the SharePoint 2013 Add-In ...
Creating Cloud-Ready Enterprise Applications with the SharePoint 2013 Add-In ...
 
Microsoft Azure Identity and O365
Microsoft Azure Identity and O365Microsoft Azure Identity and O365
Microsoft Azure Identity and O365
 
Colabora.dk - Azure PTA vs ADFS vs Desktop SSO
Colabora.dk - Azure PTA vs ADFS vs Desktop SSOColabora.dk - Azure PTA vs ADFS vs Desktop SSO
Colabora.dk - Azure PTA vs ADFS vs Desktop SSO
 
Presentation
PresentationPresentation
Presentation
 
Windows Azure Active Directory
Windows Azure Active DirectoryWindows Azure Active Directory
Windows Azure Active Directory
 
O365Con18 - External Collaboration with Azure B2B - Sjoukje Zaal
O365Con18 - External Collaboration with Azure B2B - Sjoukje ZaalO365Con18 - External Collaboration with Azure B2B - Sjoukje Zaal
O365Con18 - External Collaboration with Azure B2B - Sjoukje Zaal
 
Azure for SharePoint Developers - Workshop - Part 3: Web Services
Azure for SharePoint Developers - Workshop - Part 3: Web ServicesAzure for SharePoint Developers - Workshop - Part 3: Web Services
Azure for SharePoint Developers - Workshop - Part 3: Web Services
 
IdP, SAML, OAuth
IdP, SAML, OAuthIdP, SAML, OAuth
IdP, SAML, OAuth
 
Deploying your static web app to the Cloud
Deploying your static web app to the CloudDeploying your static web app to the Cloud
Deploying your static web app to the Cloud
 
Azure AD Presentation - @ BITPro - Ajay
Azure AD Presentation - @ BITPro - AjayAzure AD Presentation - @ BITPro - Ajay
Azure AD Presentation - @ BITPro - Ajay
 
Introduction to Azure Web Applications for Office and SharePoint Developers
Introduction to Azure Web Applications for Office and SharePoint DevelopersIntroduction to Azure Web Applications for Office and SharePoint Developers
Introduction to Azure Web Applications for Office and SharePoint Developers
 
CTU June 2011 - Windows Azure App Fabric
CTU June 2011 - Windows Azure App FabricCTU June 2011 - Windows Azure App Fabric
CTU June 2011 - Windows Azure App Fabric
 
Microsoft Azure ad in 10 slides
Microsoft Azure ad in 10 slidesMicrosoft Azure ad in 10 slides
Microsoft Azure ad in 10 slides
 

Destacado

Spca2014 sp connect 10 worst practices sam marshall 1.0d
Spca2014 sp connect 10 worst practices sam marshall 1.0dSpca2014 sp connect 10 worst practices sam marshall 1.0d
Spca2014 sp connect 10 worst practices sam marshall 1.0d
NCCOMMS
 
Spca2014 thvo sql pub vochten
Spca2014 thvo sql pub vochtenSpca2014 thvo sql pub vochten
Spca2014 thvo sql pub vochten
NCCOMMS
 
Spca2014 office365 ap is full hackett obrien
Spca2014 office365 ap is full hackett obrienSpca2014 office365 ap is full hackett obrien
Spca2014 office365 ap is full hackett obrien
NCCOMMS
 
Spca2014 marianne vanwanrooij collaboration_and_enterprise_content_management
Spca2014 marianne vanwanrooij collaboration_and_enterprise_content_managementSpca2014 marianne vanwanrooij collaboration_and_enterprise_content_management
Spca2014 marianne vanwanrooij collaboration_and_enterprise_content_management
NCCOMMS
 
Spca2014 yammer share point_what_next_moneypenny
Spca2014 yammer share point_what_next_moneypennySpca2014 yammer share point_what_next_moneypenny
Spca2014 yammer share point_what_next_moneypenny
NCCOMMS
 
Spca2014 practical large scale migration guidance v1.0 andries den haan
Spca2014 practical large scale migration guidance v1.0 andries den haanSpca2014 practical large scale migration guidance v1.0 andries den haan
Spca2014 practical large scale migration guidance v1.0 andries den haan
NCCOMMS
 
Spca2014 social refiners svenson
Spca2014 social refiners svensonSpca2014 social refiners svenson
Spca2014 social refiners svenson
NCCOMMS
 
Spca2014 real world business value of social kapic
Spca2014 real world business value of social kapicSpca2014 real world business value of social kapic
Spca2014 real world business value of social kapic
NCCOMMS
 
Spca2014 sp buy orbuild goedhart
Spca2014 sp buy orbuild goedhartSpca2014 sp buy orbuild goedhart
Spca2014 sp buy orbuild goedhart
NCCOMMS
 
Spca2014 share point azure_the_best_of_friends_moneypenny
Spca2014 share point  azure_the_best_of_friends_moneypennySpca2014 share point  azure_the_best_of_friends_moneypenny
Spca2014 share point azure_the_best_of_friends_moneypenny
NCCOMMS
 
Spca2014 navigating clouds sp_con14_mackie
Spca2014 navigating clouds sp_con14_mackieSpca2014 navigating clouds sp_con14_mackie
Spca2014 navigating clouds sp_con14_mackie
NCCOMMS
 
Spca2014 search queries explained svenson
Spca2014 search queries explained svensonSpca2014 search queries explained svenson
Spca2014 search queries explained svenson
NCCOMMS
 
Spca2014 public rovers
Spca2014 public roversSpca2014 public rovers
Spca2014 public rovers
NCCOMMS
 
Spca2014 sp ci with tfs online and azure matthias einig
Spca2014 sp ci with tfs online and azure matthias einigSpca2014 sp ci with tfs online and azure matthias einig
Spca2014 sp ci with tfs online and azure matthias einig
NCCOMMS
 
Spca2014 office 365 the year in review and next year too oosterveld
Spca2014 office 365 the year in review and next year too oosterveldSpca2014 office 365 the year in review and next year too oosterveld
Spca2014 office 365 the year in review and next year too oosterveld
NCCOMMS
 
Spca2014 keynote johnson
Spca2014 keynote johnsonSpca2014 keynote johnson
Spca2014 keynote johnson
NCCOMMS
 
Spca2014 mirjam van olst upgrading share point 2010 custom solutions to sha...
Spca2014 mirjam van olst   upgrading share point 2010 custom solutions to sha...Spca2014 mirjam van olst   upgrading share point 2010 custom solutions to sha...
Spca2014 mirjam van olst upgrading share point 2010 custom solutions to sha...
NCCOMMS
 
Spca2014 search workshop niaulin
Spca2014 search workshop niaulinSpca2014 search workshop niaulin
Spca2014 search workshop niaulin
NCCOMMS
 

Destacado (19)

Spca2014 sp connect 10 worst practices sam marshall 1.0d
Spca2014 sp connect 10 worst practices sam marshall 1.0dSpca2014 sp connect 10 worst practices sam marshall 1.0d
Spca2014 sp connect 10 worst practices sam marshall 1.0d
 
Spca2014 thvo sql pub vochten
Spca2014 thvo sql pub vochtenSpca2014 thvo sql pub vochten
Spca2014 thvo sql pub vochten
 
Spca2014 office365 ap is full hackett obrien
Spca2014 office365 ap is full hackett obrienSpca2014 office365 ap is full hackett obrien
Spca2014 office365 ap is full hackett obrien
 
Spca2014 marianne vanwanrooij collaboration_and_enterprise_content_management
Spca2014 marianne vanwanrooij collaboration_and_enterprise_content_managementSpca2014 marianne vanwanrooij collaboration_and_enterprise_content_management
Spca2014 marianne vanwanrooij collaboration_and_enterprise_content_management
 
Spca2014 yammer share point_what_next_moneypenny
Spca2014 yammer share point_what_next_moneypennySpca2014 yammer share point_what_next_moneypenny
Spca2014 yammer share point_what_next_moneypenny
 
Spca2014 practical large scale migration guidance v1.0 andries den haan
Spca2014 practical large scale migration guidance v1.0 andries den haanSpca2014 practical large scale migration guidance v1.0 andries den haan
Spca2014 practical large scale migration guidance v1.0 andries den haan
 
Spca2014 social refiners svenson
Spca2014 social refiners svensonSpca2014 social refiners svenson
Spca2014 social refiners svenson
 
Spca2014 real world business value of social kapic
Spca2014 real world business value of social kapicSpca2014 real world business value of social kapic
Spca2014 real world business value of social kapic
 
Spca2014 sp buy orbuild goedhart
Spca2014 sp buy orbuild goedhartSpca2014 sp buy orbuild goedhart
Spca2014 sp buy orbuild goedhart
 
Spca2014 share point azure_the_best_of_friends_moneypenny
Spca2014 share point  azure_the_best_of_friends_moneypennySpca2014 share point  azure_the_best_of_friends_moneypenny
Spca2014 share point azure_the_best_of_friends_moneypenny
 
Spca2014 navigating clouds sp_con14_mackie
Spca2014 navigating clouds sp_con14_mackieSpca2014 navigating clouds sp_con14_mackie
Spca2014 navigating clouds sp_con14_mackie
 
Spca2014 search queries explained svenson
Spca2014 search queries explained svensonSpca2014 search queries explained svenson
Spca2014 search queries explained svenson
 
Spca2014 public rovers
Spca2014 public roversSpca2014 public rovers
Spca2014 public rovers
 
Spca2014 sp ci with tfs online and azure matthias einig
Spca2014 sp ci with tfs online and azure matthias einigSpca2014 sp ci with tfs online and azure matthias einig
Spca2014 sp ci with tfs online and azure matthias einig
 
Spca2014 office 365 the year in review and next year too oosterveld
Spca2014 office 365 the year in review and next year too oosterveldSpca2014 office 365 the year in review and next year too oosterveld
Spca2014 office 365 the year in review and next year too oosterveld
 
Spca2014 keynote johnson
Spca2014 keynote johnsonSpca2014 keynote johnson
Spca2014 keynote johnson
 
Spca2014 mirjam van olst upgrading share point 2010 custom solutions to sha...
Spca2014 mirjam van olst   upgrading share point 2010 custom solutions to sha...Spca2014 mirjam van olst   upgrading share point 2010 custom solutions to sha...
Spca2014 mirjam van olst upgrading share point 2010 custom solutions to sha...
 
SPCA2013 - Test-driven Development with SharePoint 2013 and Visual Studio
SPCA2013 - Test-driven Development with SharePoint 2013 and Visual StudioSPCA2013 - Test-driven Development with SharePoint 2013 and Visual Studio
SPCA2013 - Test-driven Development with SharePoint 2013 and Visual Studio
 
Spca2014 search workshop niaulin
Spca2014 search workshop niaulinSpca2014 search workshop niaulin
Spca2014 search workshop niaulin
 

Similar a Spca2014 thvo adfs pub vochten

Early Adopting Java WSIT-Experiences with Windows CardSpace
Early Adopting Java WSIT-Experiences with Windows CardSpaceEarly Adopting Java WSIT-Experiences with Windows CardSpace
Early Adopting Java WSIT-Experiences with Windows CardSpace
Oliver Pfaff
 
Create a Uniform Login Experience with a Centralized Cloud Authentication Sys...
Create a Uniform Login Experience with a Centralized Cloud Authentication Sys...Create a Uniform Login Experience with a Centralized Cloud Authentication Sys...
Create a Uniform Login Experience with a Centralized Cloud Authentication Sys...
Xamarin
 
SharePoint 2010, Claims-Based Identity, Facebook, and the Cloud
SharePoint 2010, Claims-Based Identity, Facebook, and the CloudSharePoint 2010, Claims-Based Identity, Facebook, and the Cloud
SharePoint 2010, Claims-Based Identity, Facebook, and the Cloud
Danny Jessee
 
PCI Security Requirements - secure coding
PCI Security Requirements - secure codingPCI Security Requirements - secure coding
PCI Security Requirements - secure coding
Haitham Raik
 
Claims Based Identity In Share Point 2010
Claims  Based  Identity In  Share Point 2010Claims  Based  Identity In  Share Point 2010
Claims Based Identity In Share Point 2010
Steve Sofian
 

Similar a Spca2014 thvo adfs pub vochten (20)

Early Adopting Java WSIT-Experiences with Windows CardSpace
Early Adopting Java WSIT-Experiences with Windows CardSpaceEarly Adopting Java WSIT-Experiences with Windows CardSpace
Early Adopting Java WSIT-Experiences with Windows CardSpace
 
Create a Uniform Login Experience with a Centralized Cloud Authentication Sys...
Create a Uniform Login Experience with a Centralized Cloud Authentication Sys...Create a Uniform Login Experience with a Centralized Cloud Authentication Sys...
Create a Uniform Login Experience with a Centralized Cloud Authentication Sys...
 
ITPROCEED_WorkplaceMobility_Delivering traditional File Server Workloads in a...
ITPROCEED_WorkplaceMobility_Delivering traditional File Server Workloads in a...ITPROCEED_WorkplaceMobility_Delivering traditional File Server Workloads in a...
ITPROCEED_WorkplaceMobility_Delivering traditional File Server Workloads in a...
 
Single Sign On using ADFS.pptx
Single Sign On using ADFS.pptxSingle Sign On using ADFS.pptx
Single Sign On using ADFS.pptx
 
Ad fs
Ad fsAd fs
Ad fs
 
PHP on Windows and on Azure
PHP on Windows and on AzurePHP on Windows and on Azure
PHP on Windows and on Azure
 
Chris O'Brien - Modern SharePoint development: techniques for moving code off...
Chris O'Brien - Modern SharePoint development: techniques for moving code off...Chris O'Brien - Modern SharePoint development: techniques for moving code off...
Chris O'Brien - Modern SharePoint development: techniques for moving code off...
 
SharePoint 2010, Claims-Based Identity, Facebook, and the Cloud
SharePoint 2010, Claims-Based Identity, Facebook, and the CloudSharePoint 2010, Claims-Based Identity, Facebook, and the Cloud
SharePoint 2010, Claims-Based Identity, Facebook, and the Cloud
 
Developing and deploying Identity-enabled applications for the cloud
Developing and deploying Identity-enabled applications for the cloudDeveloping and deploying Identity-enabled applications for the cloud
Developing and deploying Identity-enabled applications for the cloud
 
Claims-Based Identity in SharePoint 2010
Claims-Based Identity in SharePoint 2010Claims-Based Identity in SharePoint 2010
Claims-Based Identity in SharePoint 2010
 
AWS May Webinar Series - Deep Dive: Infrastructure as Code
AWS May Webinar Series - Deep Dive: Infrastructure as CodeAWS May Webinar Series - Deep Dive: Infrastructure as Code
AWS May Webinar Series - Deep Dive: Infrastructure as Code
 
SharePoint 2010, Claims-Based Identity, Facebook, and the Cloud
SharePoint 2010, Claims-Based Identity, Facebook, and the CloudSharePoint 2010, Claims-Based Identity, Facebook, and the Cloud
SharePoint 2010, Claims-Based Identity, Facebook, and the Cloud
 
SharePoint 2010, Claims-Based Identity, Facebook, and the Cloud
SharePoint 2010, Claims-Based Identity, Facebook, and the CloudSharePoint 2010, Claims-Based Identity, Facebook, and the Cloud
SharePoint 2010, Claims-Based Identity, Facebook, and the Cloud
 
Develop iOS and Android apps with SharePoint/Office 365
Develop iOS and Android apps with SharePoint/Office 365Develop iOS and Android apps with SharePoint/Office 365
Develop iOS and Android apps with SharePoint/Office 365
 
PCI Security Requirements - secure coding
PCI Security Requirements - secure codingPCI Security Requirements - secure coding
PCI Security Requirements - secure coding
 
SAML and Other Types of Federation for Your Enterprise
SAML and Other Types of Federation for Your EnterpriseSAML and Other Types of Federation for Your Enterprise
SAML and Other Types of Federation for Your Enterprise
 
Attacking ADFS Endpoints - DerbyCon
Attacking ADFS Endpoints - DerbyConAttacking ADFS Endpoints - DerbyCon
Attacking ADFS Endpoints - DerbyCon
 
Developing custom claim providers to enable authorization in share point an...
Developing custom claim providers to enable authorization in share point   an...Developing custom claim providers to enable authorization in share point   an...
Developing custom claim providers to enable authorization in share point an...
 
Claims Based Identity In Share Point 2010
Claims  Based  Identity In  Share Point 2010Claims  Based  Identity In  Share Point 2010
Claims Based Identity In Share Point 2010
 
Deep Dive: Infrastructure as Code
Deep Dive: Infrastructure as CodeDeep Dive: Infrastructure as Code
Deep Dive: Infrastructure as Code
 

Más de NCCOMMS

Más de NCCOMMS (20)

O365Con19 - UI:UX 101 Learn How to Design Custom Experiences for SharePoint -...
O365Con19 - UI:UX 101 Learn How to Design Custom Experiences for SharePoint -...O365Con19 - UI:UX 101 Learn How to Design Custom Experiences for SharePoint -...
O365Con19 - UI:UX 101 Learn How to Design Custom Experiences for SharePoint -...
 
O365Con19 - Model-driven Apps or Canvas Apps? - Rick Bakker
O365Con19 - Model-driven Apps or Canvas Apps? - Rick BakkerO365Con19 - Model-driven Apps or Canvas Apps? - Rick Bakker
O365Con19 - Model-driven Apps or Canvas Apps? - Rick Bakker
 
O365Con19 - Office 365 Groups Surviving the Real World - Jasper Oosterveld
O365Con19 - Office 365 Groups Surviving the Real World - Jasper OosterveldO365Con19 - Office 365 Groups Surviving the Real World - Jasper Oosterveld
O365Con19 - Office 365 Groups Surviving the Real World - Jasper Oosterveld
 
O365Con19 - Developing Timerjob and Eventhandler Equivalents - Adis Jugo
O365Con19 - Developing Timerjob and Eventhandler Equivalents - Adis JugoO365Con19 - Developing Timerjob and Eventhandler Equivalents - Adis Jugo
O365Con19 - Developing Timerjob and Eventhandler Equivalents - Adis Jugo
 
O365Con19 - Sharepoint with (Artificial) Intelligence - Adis Jugo
O365Con19 - Sharepoint with (Artificial) Intelligence - Adis JugoO365Con19 - Sharepoint with (Artificial) Intelligence - Adis Jugo
O365Con19 - Sharepoint with (Artificial) Intelligence - Adis Jugo
 
O365Con19 - What Do You Mean 90 days Isn't Enough - Paul Hunt
O365Con19 - What Do You Mean 90 days Isn't Enough - Paul HuntO365Con19 - What Do You Mean 90 days Isn't Enough - Paul Hunt
O365Con19 - What Do You Mean 90 days Isn't Enough - Paul Hunt
 
O365Con19 - Tips and Tricks for Complex Migrations to SharePoint Online - And...
O365Con19 - Tips and Tricks for Complex Migrations to SharePoint Online - And...O365Con19 - Tips and Tricks for Complex Migrations to SharePoint Online - And...
O365Con19 - Tips and Tricks for Complex Migrations to SharePoint Online - And...
 
O365Con19 - Start Developing Teams Tabs and SharePoint Webparts with SPFX - O...
O365Con19 - Start Developing Teams Tabs and SharePoint Webparts with SPFX - O...O365Con19 - Start Developing Teams Tabs and SharePoint Webparts with SPFX - O...
O365Con19 - Start Developing Teams Tabs and SharePoint Webparts with SPFX - O...
 
O365Con19 - Start Your Journey from Skype for Business to Teams - Sasja Beere...
O365Con19 - Start Your Journey from Skype for Business to Teams - Sasja Beere...O365Con19 - Start Your Journey from Skype for Business to Teams - Sasja Beere...
O365Con19 - Start Your Journey from Skype for Business to Teams - Sasja Beere...
 
O365Con19 - Lets Get Started with Azure Container Instances - Jussi Roine
O365Con19 - Lets Get Started with Azure Container Instances - Jussi RoineO365Con19 - Lets Get Started with Azure Container Instances - Jussi Roine
O365Con19 - Lets Get Started with Azure Container Instances - Jussi Roine
 
O365Con19 - Azure Blackbelt - Jussi Roine
O365Con19 - Azure Blackbelt - Jussi RoineO365Con19 - Azure Blackbelt - Jussi Roine
O365Con19 - Azure Blackbelt - Jussi Roine
 
O365Con19 - Customise the UI in Modern SharePoint Workspaces - Corinna Lins
O365Con19 - Customise the UI in Modern SharePoint Workspaces - Corinna LinsO365Con19 - Customise the UI in Modern SharePoint Workspaces - Corinna Lins
O365Con19 - Customise the UI in Modern SharePoint Workspaces - Corinna Lins
 
O365Con19 - Be The Protagonist of Your Modern Workplace - Corinna Lins
O365Con19 - Be The Protagonist of Your Modern Workplace - Corinna LinsO365Con19 - Be The Protagonist of Your Modern Workplace - Corinna Lins
O365Con19 - Be The Protagonist of Your Modern Workplace - Corinna Lins
 
O365Con19 - How to Really Manage all your Tasks Across Microsoft 365 - Luise ...
O365Con19 - How to Really Manage all your Tasks Across Microsoft 365 - Luise ...O365Con19 - How to Really Manage all your Tasks Across Microsoft 365 - Luise ...
O365Con19 - How to Really Manage all your Tasks Across Microsoft 365 - Luise ...
 
O365Con19 - Sharing Code Efficiently in your Organisation - Elio Struyf
O365Con19 - Sharing Code Efficiently in your Organisation - Elio StruyfO365Con19 - Sharing Code Efficiently in your Organisation - Elio Struyf
O365Con19 - Sharing Code Efficiently in your Organisation - Elio Struyf
 
O365Con19 - Things I've Learned While Building a Product on SharePoint Modern...
O365Con19 - Things I've Learned While Building a Product on SharePoint Modern...O365Con19 - Things I've Learned While Building a Product on SharePoint Modern...
O365Con19 - Things I've Learned While Building a Product on SharePoint Modern...
 
O365Con19 - Keep Control of Your Data with AIP and CA - Bram de Jager
O365Con19 - Keep Control of Your Data with AIP and CA - Bram de JagerO365Con19 - Keep Control of Your Data with AIP and CA - Bram de Jager
O365Con19 - Keep Control of Your Data with AIP and CA - Bram de Jager
 
O365Con19 - Kaizala a Dive Into the Unknown - Rick van Rousselt
O365Con19 - Kaizala a Dive Into the Unknown - Rick van RousseltO365Con19 - Kaizala a Dive Into the Unknown - Rick van Rousselt
O365Con19 - Kaizala a Dive Into the Unknown - Rick van Rousselt
 
O365Con19 - How to Inspire Users to Unstick from Email - Luise Freese
O365Con19 - How to Inspire Users to Unstick from Email - Luise FreeseO365Con19 - How to Inspire Users to Unstick from Email - Luise Freese
O365Con19 - How to Inspire Users to Unstick from Email - Luise Freese
 
O365Con19 - O365 Identity Management and The Golden Config - Chris Goosen
O365Con19 - O365 Identity Management and The Golden Config - Chris GoosenO365Con19 - O365 Identity Management and The Golden Config - Chris Goosen
O365Con19 - O365 Identity Management and The Golden Config - Chris Goosen
 

Spca2014 thvo adfs pub vochten

  • 1. ADFS & SharePoint the real world Thomas Vochten November 19, 2014 | SharePoint Connect Amsterdam
  • 2.
  • 3. About Me Thomas VochtenSharePoint MVP. Platform architect. Speaker. Trainer. Involuntary DBA. Consultant at Xylos. V-TSP at Microsoft. @thomasvochtenhttp://thomasvochten.com mail@thomasvochten.com
  • 7. Claims based identity Authorization decisions are based on claims
  • 9. Use Cases Federation Single Sign On
  • 11. Why ADFS ? ADFS Wiki on TechNet: http://thvo.me/adfswiki
  • 13. Claims Token Claim Claim Claim Claim Signature Name Age Location
  • 19.
  • 20.
  • 22. Installing ADFS Windows Server 2008 R2 ADFS2.0 (free download) Windows Server 2012 ADFS 2.1 (included) Windows Server 2012R2 ADFS 3.0 (included) Configuration is stored in •Windows Internal Database (standalone) •SQL Server (farm) Install-WindowsFeature ADFS-Federation -IncludeManagementTools
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30. # # Windows PowerShell script for AD FS Deployment # Import-Module ADFS # Get the credential used for the federation service account $serviceAccountCredential= Get-Credential Install-AdfsFarm` -CertificateThumbprint:"E76240FE42A81F9D61832A47DFD752EE6DB3A5A5" ` -FederationServiceDisplayName:"THVO Federation" ` -FederationServiceName:"fed.thvo.net" ` -ServiceAccountCredential:$serviceAccountCredential` -SQLConnectionString:"Data Source=alias_FSDB;InitialCatalog=ADFSConfiguration;IntegratedSecurity=True;MinPool Size=20"
  • 31.
  • 34. Create the Trusted Security Token Issuer # Import the ADFS token signing certificate to SharePoint $cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2("C:FS01-TokenSigning.cer") New-SPTrustedRootAuthority -Name "FS01 Token SigningCertificate" -Certificate $cert # Define the claims type mappings $emailClaimMap = New-SPClaimTypeMapping -IncomingClaimType"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress" -IncomingClaimTypeDisplayName"EmailAddress" -SameAsIncoming $roleClaimMap = New-SPClaimTypeMapping -IncomingClaimType"http://schemas.microsoft.com/ws/2008/06/identity/claims/role" -IncomingClaimTypeDisplayName"Role" -SameAsIncoming $upnClaimMap = New-SPClaimTypeMapping -IncomingClaimType"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn" -IncomingClaimTypeDisplayName"UPN" -SameAsIncoming
  • 35. Create the Trusted Security Token Issuer # Create the trusted identity provider $realm = "urn:sharepoint:intranet" $signInURL = "https://sts.lab.thvo.net/adfs/ls" $issuer = New-SPTrustedIdentityTokenIssuer -Name "ADFS" -Description"ADFS Trusted Identity Provider" ` -Realm $realm -ImportTrustCertificate $cert ` -ClaimsMappings $emailClaimMap,$roleClaimMap,$upnClaimMap ` -SignInUrl $signInURL ` -IdentifierClaim $upnClaimMap.InputClaimType
  • 36. Modify your web application
  • 37. Multiple Web Apps / Host Named Sites 37 $issuer= Get-SPTrustedIdentityTokenIssuer"FED01" $uri = new-object System.Uri("https://sf01-my.thvo.net/_trust/") $issuer.ProviderRealms.Add($uri, "urn:sharepoint:sf01-my") $issuer.Update() $issuer= Get-SPTrustedIdentityTokenIssuer"FED01" $isser.UseWReplyParameter= $true $issuer.Update()
  • 39. Claims Encoding i:0#.t|fed01|thomasv i:0#.w|labthomasv © Wictor Wilén
  • 40. Custom Claims Provider https://ldapcp.codeplex.com/
  • 42. (User) Pictures in multiple sites or web applications $wa = Get-SPWebApplication https://sf01-content.thvo.net $wa.CrossDomainPhotosEnabled = $true $wa.Update()
  • 46.