envision it sharepoint extranet webinar series - federation and office 365

54
SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson President, Envision IT March 25, 2014

Upload: envision-it

Post on 30-Nov-2014

5.597 views

Category:

Technology


6 download

DESCRIPTION

In this Webinar, Envision IT demonstrates how to set up ADFS so that staff are automatically signed in to their corporate network, and external users are provided with a rich login experience. View more details and the webinar recording here: http://www.envisionit.com/products/events/Pages/SharePoint-Extranet-Spring-Webinar-Series-Federation-and-Office-365.aspx

TRANSCRIPT

Page 1: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

SharePoint Extranet Spring Webinar Series

Federation and Office 365

Presented by Peter CarsonPresident, Envision IT

March 25, 2014

Page 2: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Peter Carson

• President, Envision IT

• SharePoint MVP

• Virtual Technical Specialist, Microsoft Canada

[email protected]

• http://blog.petercarson.ca

• www.envisionit.com

• Twitter @carsonpeter

• VP Toronto SharePoint User Group

Page 3: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Peter Mackenzie

• VP Sales & Marketing

• e: [email protected]

• p: (905) 812-3009 x244

• President, International Association of Microsoft Certified Partners (IAMCP) Canada

Page 4: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Product Support

Corey Thokle, EUM Support Manager

• e: [email protected]

• p: (905) 812 3009 ext.248

• http://www.linkedin.com/company/envision-it-inc

Amanda Da Costa, Sales & Marketing Support

• e: [email protected]

• p: (905) 812 3009 ext.250

• http://ca.linkedin.com/in/amandadacosta/

Page 5: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Additional Credits

• Mark Jones, Envision IT Lead Architect

• Zulfiqar Ahmed

http://zamd.net/2013/02/08/federating-a-custom-sts-with-office-365-azure-active-directory/

• Brock Allen

www.thinktecture.com

Page 6: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Agenda

• Envision IT Overview

• Office 365 Authentication Options

• What is Federation and how does it work?

• Setting up ADFS with Office 365

• Extranet Scenarios in Office 365

• Federation Customization using ADFS or Thinktecture Identity Server

• Using Extranet User Manager to create and manage the external users

• SharePoint App Authentication Alternatives

• Wrap-Up and Q&A

Page 7: Envision it SharePoint Extranet Webinar Series - Federation and Office 365
Page 8: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Focused on complex SharePoint solutions, Envision IT is the “go-to” partner for Microsoft SharePoint, building integrated public web sites, Intranets, Extranets, and web applications that leverage your existing systems anywhere over the Internet.

Envision IT Services Overview

Page 9: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Public Web Sites

We create interactive, content-rich customer-facing web sites that are able to grow and transform with changing needs

Page 10: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Collaboration Portals

Our Collaboration Portals provide a secure space for teams to share knowledge and resources

Page 11: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Extranets

Envision IT has a wealth of experience building Corporate Extranets that allow you to securely connect with customers and partners

Page 12: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Intranets

Our Intranet Sites connect people to information, expertise and key business applications, and SharePoint provides a broad set of Enterprise Content Management features

Page 13: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Products

Page 14: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

• Easy delegation of user management to business

• Self-registration, approvals, forgotten password reset

• Single URL and sign-on for AD

Page 15: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Pricing

• $8,000 per production SharePoint farm

• No limits on the number of web front ends

• 20% annual Software Assurance provides all product updates

• Dev and QA farm licenses provided with up to date Software Assurance

Page 16: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Extranet Clients

Page 17: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Microsoft SharePoint

Page 18: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Poll 1

Which Version of SharePoint are you currently using?

• Office 365

• SharePoint Server 2013

• SharePoint Server 2010

• SharePoint Foundation (2010 or 2013)

• MOSS 2007 or WSS 3.0

Page 19: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Poll 2

How do you use SharePoint today?

• Internal collaboration

• Internal web publishing (Intranet)

• Extranets

• Public facing website

Page 20: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Identity Management, Authentication, and Authorization

Identity Management

• Process for managing the entire life cycle of digital identities, including the profiles of people, systems, and services

• For our purposes we are focused just on people

• Who creates and manages identities? The Extranet owner or the external users themselves?

• Are identities part of the Extranet or external to it?

Authentication and Authorization

• Authentication is the mechanism whereby systems may securely identify their users

• Authentication systems provide an answers to the questions: Who is the user?

Is the user really who he/she represents himself to be?

• Authorization is the mechanism by which a system determines what level of access a particular authenticated user should have Is user X authorized to access

resource R?

Page 21: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Office 365 Authentication Options

Windows Azure Active Directory

No Integration

Cloud Identity

Windows Azure Active Directory

Integration with no federation

Directory and Password Synchronization

DirSync and Password Sync

On Premise Identity

Windows Azure Active Directory

Single federated identity and credentials

Federated Identity

On Premise Identity

Federation User Sync

Page 22: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Windows Azure Active Directory

• All Office 365 users have a WAAD shadow account

• DirSync can create WAAD accounts for all your AD users Password Sync can also sync your passwords Doesn’t provide Single sign-On, but does allow users

to use the same password on premise and in the cloud Syncs a hash of the password, rather than the

password itself

• PowerShell or Graph API (REST interface) can also be used to manage WAAD

Page 23: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

DirSync Process

http://technet.microsoft.com/en-us/library/dn441212.aspx

Page 24: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Demo 1 Scenario

• Sign up at http://office.microsoft.com/en-ca/sharepoint/sharepoint-products-and-free-trial-online-collaboration-tools-FX103789417.aspx

• Sample site created at https://eumwebinar.sharepoint.com

• Cloud Identity admin user format is [email protected]

Page 25: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Federated Identity

• Trusted Identity Provider does the authentication• Can be any SAML compliant provider

Active Directory Federation Services Thinktecture Identity Server

o www.thinktecture.com

Social identities

• Can be AD, SQL, or other user repository under the hood• Relying parties (such as SharePoint) trust the SAML token

and provide the authorization based off that identity• Provides Single Sign-On to multiple systems

Can be any SAML claims compliant system, not just SharePoint

Page 26: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Authentication ProcessIdentity ProviderRelying Party Active Directory

Browse app

Not authenticated

Redirected to IP

Authenticate

User

Query for user attributesReturn SAML Security Token

Return pageand cookie

Send Token

ST

ST

RP trusts IP

Home Realm Discovery

Page 27: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Certificates

• PKI SSL encryption is used for communication

• Token can be self-signed by the Identity Provider

• Token can also be encrypted with a self-signed certificate from the Identity Provider

CommunicationA

Signing

Relying party Identity Provider

ST

Encyption ST

B

Public key of C C

Public key of DD

Root for ARoot for B

Page 28: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

ADFS Servers

https://login.thinktecturedev.com

Internal ADFS/DC Servers DMZ ADFS Proxies

Page 29: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

ADFS Server Considerations

• Should have at least two each of ADFS and ADFS Proxy Servers

• If there is only one Internet connection, consider putting them in Azure

• Having Lync and Exchange in the cloud and not being able to authenticate because your Internet pipe is down is a problem

Page 30: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Setting up ADFS with Office 365

• http://technet.microsoft.com/en-us/library/jj205462.aspx

• DirSync is still used to create the shadow WAAD accounts

• Set up a trust between ADFS and Windows Azure AD Setup through PowerShell Requires you to setup some TXT DNS records to prove

you own the domain

• Accounts need to be licensed in the Office 365 portal

Page 31: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Demo 2 Scenario

• Sample site at https://envisionit.sharepoint.com/sites/eumwebinar

• Internal user in authenticated automatically through the ADFS Server

• Need to go through the Microsoft home realm discovery page This can be overridden for Exchange Online but

not SharePoint Online (yet)

Page 32: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Microsoft Home Realm Discovery

Page 33: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Smart Links

• Run Fiddler as you are logging in

• Capture the 302 redirect https://fedsrv.envisionit.com/adfs/ls/?cbcxt=&popupui=&vv=&username=peter%

40envisionit.com&mkt=&lc=1033&wfresh=&wa=wsignin1.0&wtrealm=urn:federat

ion:MicrosoftOnline&wctx=wa%3Dwsignin1%252E0%26rpsnv%3D3%26ct%3D139

5748967%26rver%3D6%252E1%252E6206%252E0%26wp%3DMBI%26wreply%3D

https%253A%252F%252Fenvisionit%252Esharepoint%252Ecom%252F%255Fform

s%252Fdefault%252Easpx%26lc%3D1033%26id%3D500046%26%26bk%3D139574

8967%26LoginOptions%3D3

• Remove the highlighted text

• Add the desired URL as double-encoded text

Page 34: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Smart Links

https://fedsrv.envisionit.com/adfs/ls/?wa=wsignin1.0&wtrealm=urn:federation:Micr

osoftOnline&wctx=wa%3Dwsignin1%252E0%26rpsnv%3D3%26ct%3D1395748967%2

6rver%3D6%252E1%252E6206%252E0%26wp%3DMBI%26wreply%3Dhttps%253A%2

52F%252Fenvisionit%252Esharepoint%252Ecom%252Fsites%252Feumwebinar

Character Double-Encoded Value

: %253A

. %252E

/ %252F

A friendly URL and redirect can be setup to hide the complex URL

Our Custom 404 product is a good option for this

https://productdemo.envisionit.com/eumwebinar

Page 35: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Extranets in Office 365

• External sharing using Microsoft accounts or other federated users

• Licensing of external users as subscribers

Page 36: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

External Sharing

• Supported by default by Office 365

• Up to 10,000 external users can access a SharePoint Online site for free using Microsoft accounts

• Also works for other federated users with subscriptions

• Need to enable external sharing

• Email invitations are sent out

• Can be authenticated or anonymous

• Hard to hide the Microsoft experience

• No groups or central management

Page 37: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Licensed External Users

• Centrally managed

• Group permissions

• Full control over the login experience

• Need to pay for a subscription

Page 38: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Demo 3 Scenario

• Sample site at https://thinktecturedev.sharepoint.com

• Federated with Thinktecture Identity Server

• Customized to work with Office 365

• Login is customized with branding and ability to login with email address

• Can still use ADFS for internal users

• Smart link is https://productdemo.envisionit.com/thinktecturedev

Page 39: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Why Thinktecture over ADFS?

• Open source allows any customization

• Fully brandable (ADFS allows branding within very particular parameters)

• Login with email address instead of AD username

• Use SQL instead of AD as the underlying user repository

• Ability to incorporate the home realm discovery into the login form

Page 40: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Authentication Process

Page 41: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Managing Your External O365 Users with EUM

• Delegate user management internally or externally to your organization

• Self-registration and approvals

• Full control over the accounts and login experience

• Delegated group management simplifies permissions

• Lost password reset

• Improved governance over your Extranet

Page 42: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

• Easy delegation of user management to business

• Self-registration, approvals, forgotten password reset

• Single URL and sign-on

Page 43: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Main Components• Administration console

• Used by IT to configure EUM

• Used by the business to manage users and groups

• End User• Components that the Extranet users see

• Login, disclaimer, change password, forgotten password

• Registration• Allow users to self-register

• Support approval workflows

Page 44: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Demo 4

• Self-registration and approval of a new external user• https://eum.eitdev.org/landing/register/register.aspx• We have not fully implemented the Graph API yet• Licensing of the new user is proving problematic• Using PowerShell for now

Get-MsolAccountSku | format-Table AccountSkuID, SkuPartNumber

$User = get-aduser userid$immutableId = [convert]::ToBase64String($User.ObjectGuid.ToByteArray()); $DisplayName = $User.GivenName + " " + $User.Surname

New-MsolUser -DisplayName $DisplayName -UserPrincipalName $User.UserPrincipalName -ImmutableId$immutableId -UsageLocation CA

Set-MsolUserLicense -UserPrincipalName $User.UserPrincipalName -AddLicenses"Thinktecturedev:SHAREPOINTSTANDARD_YAMMER"

Get-MsolUser | select UserPrincipalName, DisplayName, isLicensed

Page 45: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Apps and Office 365

• Three main types of Apps SharePoint Hosted

o Client side code only

Auto Hostedo Server code runs in an Azure instance provided by

Office 365

Provider Hostedo Use your own server environment to host your server

side code

o Doesn’t need to be Microsoft technology

Page 46: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Apps and Office 365

• No App code ever runs on the SharePoint farm

• Apps are selected and installed by the end user

• Need to explicitly trust the app to allow it to run

• OAuth is used to provide the end-user’s authentication to the app and back to SharePoint

Page 47: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Challenges with SharePoint Apps

• For full functionality, apps need to be installed in each site where they are being used

• No way to programmatically install them

• This is a problem for apps that are used on many sites

Page 48: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Alternative App Model

• Client side code and REST APIs is the direction Microsoft is taking in general

• Use this approach for Apps too• If Office 365 is authenticated using Thinktecture, that

can be leveraged to authenticate provider hosted apps too

• Thinktecture can provide a JSON Web Token (JWT) to the client-side code Similar to a SAML token It is the model going forward with WebAPI

• This can be passed to and trusted by the REST API for authentication

Page 49: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

App Authentication Process with JWTProvider AppClient Side Code Thinktecture

Browse app

No JWT

Redirected to IP

User

Return JWT Security Token

Return page

REST call with Token

JWT

JWT

App trusts IP

Save Token in session

Return JSON data

JWT

Page 50: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Poll 3

Is there one of the topics you’d like me to go back over?

• What is Federation?

• ADFS and Office 365

• External Scenarios in Office 365

• Federation Customization with Thinktecture

• Managing the Users with EUM

• SharePoint App Authentication Alternative

Page 51: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Poll 4

When would you like us to follow up?

• Right away

• April

• May

Page 52: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Pricing

• $8,000 per production SharePoint farm

• No limits on the number of web front ends

• 20% annual Software Assurance provides all product updates

• Dev and QA farm licenses provided with up to date Software Assurance

Page 53: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Links

• www.envisionit.com

• blog.petercarson.ca

• www.envisionit.com/eum

• Video and presentation deck will be at www.envisionit.com/events

Page 54: Envision it SharePoint Extranet Webinar Series - Federation and Office 365

Questions?