SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint...

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

Transcript of SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint...

Page 1: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

SharePoint Extranet Spring Webinar Series

Federation and Office 365

Presented by Peter CarsonPresident, Envision IT

March 25, 2014

Page 2: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

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: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

Peter Mackenzie

• VP Sales & Marketing

• e: [email protected]

• p: (905) 812-3009 x244

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

Page 4: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

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: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

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: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

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: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson
Page 8: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

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: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

Public Web Sites

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

Page 10: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

Collaboration Portals

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

Page 11: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

Extranets

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

Page 12: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

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: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

Products

Page 14: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

• Easy delegation of user management to business

• Self-registration, approvals, forgotten password reset

• Single URL and sign-on for AD

Page 15: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

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: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

Extranet Clients

Page 17: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

Microsoft SharePoint

Page 18: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

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: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

Poll 2

How do you use SharePoint today?

• Internal collaboration

• Internal web publishing (Intranet)

• Extranets

• Public facing website

Page 20: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

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: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

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: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

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: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

DirSync Process

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

Page 24: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

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: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

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: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

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: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

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: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

ADFS Servers

https://login.thinktecturedev.com

Internal ADFS/DC Servers DMZ ADFS Proxies

Page 29: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

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: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

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: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

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: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

Microsoft Home Realm Discovery

Page 33: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

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: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

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: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

Extranets in Office 365

• External sharing using Microsoft accounts or other federated users

• Licensing of external users as subscribers

Page 36: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

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: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

Licensed External Users

• Centrally managed

• Group permissions

• Full control over the login experience

• Need to pay for a subscription

Page 38: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

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: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

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: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

Authentication Process

Page 41: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

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: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

• Easy delegation of user management to business

• Self-registration, approvals, forgotten password reset

• Single URL and sign-on

Page 43: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

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: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

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: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

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: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

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: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

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: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

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: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

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: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

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: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

Poll 4

When would you like us to follow up?

• Right away

• April

• May

Page 52: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

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: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

Links

• www.envisionit.com

• blog.petercarson.ca

• www.envisionit.com/eum

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

Page 54: SharePoint Extranet Spring Webinar Series Federation and Office … · 2019-11-25 · SharePoint Extranet Spring Webinar Series Federation and Office 365 Presented by Peter Carson

Questions?