sharepoint 2016 : hybrid search #spsoslo inge henriksen october 17 th, 2015 sharepoint saturday oslo...

22
SharePoint 2016 : Hybrid Search #SPSOslo Inge Henriksen October 17 th , 2015 SharePoint Saturday Oslo 2015

Upload: samantha-poole

Post on 13-Dec-2015

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SharePoint 2016 : Hybrid Search #SPSOslo Inge Henriksen October 17 th, 2015 SharePoint Saturday Oslo 2015

SharePoint 2016 : Hybrid Search#SPSOslo

Inge HenriksenOctober 17th, 2015

SharePoint SaturdayOslo 2015

Page 2: SharePoint 2016 : Hybrid Search #SPSOslo Inge Henriksen October 17 th, 2015 SharePoint Saturday Oslo 2015

SharePoint SaturdayOslo 2015

@ihenriksen

ingehenriksen.wordpress.com

Inge Henriksen

Page 3: SharePoint 2016 : Hybrid Search #SPSOslo Inge Henriksen October 17 th, 2015 SharePoint Saturday Oslo 2015

SharePoint SaturdayOslo 2015

SharePoint SaturdayOslo 2015

Thanks to our

Sponsors

Page 4: SharePoint 2016 : Hybrid Search #SPSOslo Inge Henriksen October 17 th, 2015 SharePoint Saturday Oslo 2015

SharePoint SaturdayOslo 2015

• What is Cloud Hybrid Search?• Setup Hybrid Search with SharePoint 2016.• Hybrid Search demo?

Agenda

Page 5: SharePoint 2016 : Hybrid Search #SPSOslo Inge Henriksen October 17 th, 2015 SharePoint Saturday Oslo 2015

SharePoint SaturdayOslo 2015

• Unified search results from both on-premise SharePoint and Office 365– Previous Hybrid search version took a Federated approach with indexes on-

premise– A single result set with results from all sources regardless of internal or

external content

• Get the same search results seamlessly when searching in:– On-Premise SharePoint– SharePoint Online

• Delve integration (Office Graph)• Content sources from SharePoint, Office 365, OneDrive, On-

Premise shares

What is Cloud Hybrid Search?

Page 7: SharePoint 2016 : Hybrid Search #SPSOslo Inge Henriksen October 17 th, 2015 SharePoint Saturday Oslo 2015

SharePoint SaturdayOslo 2015

Prerequisites:• Office 365 subscription w/admin rights• MSDN Subscription for free trials• Azure Subscription

Setup Hybrid Search with SharePoint 2016

Page 8: SharePoint 2016 : Hybrid Search #SPSOslo Inge Henriksen October 17 th, 2015 SharePoint Saturday Oslo 2015

SharePoint SaturdayOslo 2015

Azure virtual machine creation list:• Domain Controller DC VM• MS SQL Server 2016 VM SharePoint 2016• MS SharePoint 2016 VM

Setup Hybrid Search with SharePoint 2016: VMs

Page 9: SharePoint 2016 : Hybrid Search #SPSOslo Inge Henriksen October 17 th, 2015 SharePoint Saturday Oslo 2015

SharePoint SaturdayOslo 2015

• Add domain admins: SPFarm and SPServices, and user jdoe• Create a Azure Active Directory• Install & run Azure AD Connect on DC (alternatives are Dirsync

or AADSync)

Setup Hybrid Search with SharePoint 2016: Active Directory

Page 10: SharePoint 2016 : Hybrid Search #SPSOslo Inge Henriksen October 17 th, 2015 SharePoint Saturday Oslo 2015

SharePoint SaturdayOslo 2015

• Assert Azure Active Directory by looking for on-premise users• Check for “Local Active Directory” sourced users and groups

Setup Hybrid Search with SharePoint 2016: Active Directory

Page 11: SharePoint 2016 : Hybrid Search #SPSOslo Inge Henriksen October 17 th, 2015 SharePoint Saturday Oslo 2015

SharePoint SaturdayOslo 2015

• Setup password sync for two way hybrid search, see guide http://blogs.msdn.com/b/spses/archive/2013/10/22/office-365-configure-hybrid-search-with-directory-synchronization.aspx

• Directory synchronization also ensures the correct user properties are available in Office 365 Azure AD to be able to carry out a process known as user rehydration

Setup Hybrid Search with SharePoint 2016: Active Directory

Page 12: SharePoint 2016 : Hybrid Search #SPSOslo Inge Henriksen October 17 th, 2015 SharePoint Saturday Oslo 2015

SharePoint SaturdayOslo 2015

• Add the VMs to the on-premise domain• Install & configure SQL Server and SharePoint as usual• Add the jdoe user to Office 365, sign in to test• Create an on-premise site collection and share with jdoe user,

sign in to test• Add some documents to new site collections in both SharePoint

Online, OneDrive, and SharePoint On-Premise signed in as jdoe user

• Create a file share on the on-premise SharePoint server and add some documents in it, give access to everyone (cheat) or specific AD groups

Setup Hybrid Search with SharePoint 2016: SharePoint

Page 13: SharePoint 2016 : Hybrid Search #SPSOslo Inge Henriksen October 17 th, 2015 SharePoint Saturday Oslo 2015

SharePoint SaturdayOslo 2015

• Install & run Microsoft online sign in assistant on the SharePoint on-premise server - http://www.microsoft.com/en-us/download/details.aspx?id=39267 Needed so that the on-premise server can sign-in with Office 365

• Install Microsoft Azure AD PowerShell on the SharePoint on-premise server - http://go.microsoft.com/fwlink/p/?linkid=236297 Needed for Onboarding scripts

• Join the Hybrid Search preview program and download Documentation and PowerShell scripts needed to continue from http://connect.microsoft.com/office/SelfNomination.aspx?ProgramID=8647&pageType=1 , unpack zip on SharePoint server local file directory c:\demo\

Setup Hybrid Search with SharePoint 2016: Cloud SSA

Page 14: SharePoint 2016 : Hybrid Search #SPSOslo Inge Henriksen October 17 th, 2015 SharePoint Saturday Oslo 2015

SharePoint SaturdayOslo 2015

• Run CreateCloudSSA.ps1 in an Azure PowerShell shell to create the Cloud SSA. – Creates new SSA that works with later “Onboarding”– Only one cloud SSA allowed per farm.– Not possible to create cloud SSA using UI, PowerShell only– Assert with (get-spenterprisesearchserviceapplication –Identity

<id>).cloudindex , should return true

• Connect the new Cloud SSA to the default Web Application using SharePoint 2016 Central Admin.

• Add Cloud SSA Content Sources for the new site collection and file share

Setup Hybrid Search with SharePoint 2016: Cloud SSA

Page 15: SharePoint 2016 : Hybrid Search #SPSOslo Inge Henriksen October 17 th, 2015 SharePoint Saturday Oslo 2015

SharePoint SaturdayOslo 2015

• Assert that the Microsoft Online Single Sign On Assistant is successfully installed by running (get-service msoidsvc).Status

• Assert Azure AD PowerShell is successfully install by running – import-module msonline -verbose– import-module msonlineextended –verbose

• Onboarding stages:– Validates cloud SSA name– Assert prerequisites– OAuth trust configuration with Azure Access Control services (ACS)– Deploys the ACS Proxy

Setup Hybrid Search with SharePoint 2016: Onboarding

Page 16: SharePoint 2016 : Hybrid Search #SPSOslo Inge Henriksen October 17 th, 2015 SharePoint Saturday Oslo 2015

SharePoint SaturdayOslo 2015

• Onboarding stages(cont.):– Adds the O365 Service Principal ID to the local farm– Sets the correct Service Principal Name in Azure AD for the on-premises url

• Run the Onboard-Hybridsearch.ps1 script– Make sure you use a Office 365 tenant global admin account when

prompted

Setup Hybrid Search with SharePoint 2016: Onboarding

Page 17: SharePoint 2016 : Hybrid Search #SPSOslo Inge Henriksen October 17 th, 2015 SharePoint Saturday Oslo 2015

SharePoint SaturdayOslo 2015

Your all set, now start a full crawl on the Cloud SSA content sources. One it

is done you should see external content mixed in with the internal.

Also, checkout the isExternal:1 search property to filter out all that is internal content.

Setup Hybrid Search with SharePoint 2016: Demo

Page 18: SharePoint 2016 : Hybrid Search #SPSOslo Inge Henriksen October 17 th, 2015 SharePoint Saturday Oslo 2015

SharePoint SaturdayOslo 2015

• Install SharePoint 2016 with more series• https://www.youtube.com/watch?v=JWEZx9SHDb0&list=PLvmwu6WYeFdjNbiy7SISJAZd1HjzIJoz5

• Install AD Connect• https://azure.microsoft.com/en-us/documentation/articles/active-directory-aadconnect/

• Integrating on-premise identities with Azure Active Directory• https://azure.microsoft.com/en-us/documentation/articles/active-directory-aadconnect/

• Installing Cloud Hybrid Search Service Application (SSA)• http://blogs.msdn.com/b/spses/archive/2015/09/15/cloud-hybrid-search-service-application.aspx

Resources

Page 19: SharePoint 2016 : Hybrid Search #SPSOslo Inge Henriksen October 17 th, 2015 SharePoint Saturday Oslo 2015

Questions?

@ihenriksen

https://no.linkedin.com/pub/inge-henriksen/1/b50/4b6

Page 20: SharePoint 2016 : Hybrid Search #SPSOslo Inge Henriksen October 17 th, 2015 SharePoint Saturday Oslo 2015

Get stamps from all the sponsors, so make sure to visit them

Deposit the passport to enter the prize raffle

Good luck!

The SPSOslo Passport

Page 21: SharePoint 2016 : Hybrid Search #SPSOslo Inge Henriksen October 17 th, 2015 SharePoint Saturday Oslo 2015

FREE BEER!Make sure to get your voucher

Network and have fun with your colleagues and mingle with our great speaker lineup.

SharePint sponsored by

Page 22: SharePoint 2016 : Hybrid Search #SPSOslo Inge Henriksen October 17 th, 2015 SharePoint Saturday Oslo 2015

They help us improve for SharePoint Saturday 2016!

Remember to evaluate our sessions