SHAREPOINT AND OFFICE 365 HYBRID BETTER TOGETHER
TODD KLINDT, SHAREPOINT MVP @TODDKLINDT HTTP://WWW.TODDKLINDT.COM
SHAREPOINT AND OFFICE 365 HYBRID BETTER TOGETHER TODD KLINDT, - - PowerPoint PPT Presentation
SHAREPOINT AND OFFICE 365 HYBRID BETTER TOGETHER TODD KLINDT, SHAREPOINT MVP @TODDKLINDT HTTP://WWW.TODDKLINDT.COM WHO IS THIS TODD KLINDT GUY? www.toddklindt.com/blog todd@toddklindt.com
TODD KLINDT, SHAREPOINT MVP @TODDKLINDT HTTP://WWW.TODDKLINDT.COM
▪ Why Hybrid? ▪ Authentication ▪ OneDrive (My Sites) ▪ Search ▪ Other stuff ▪ Usefull Tools
hybrid of a donkey and a horse)
Why Cloud?
Why on-prem?
Param( [Parameter(Mandatory=$true)] [ValidateNotNullOrEmpty()] [string] $User ) # Add the Active Directory bits and not complain if they're already there Import-Module ActiveDirectory -ErrorAction SilentlyContinue
20
# Add the Azure Active Directory module Import-Module AzureAD # New way # Import-Module MSOnline # Crappy old way # Define AD group that is synced to AAD and is used for ODFB audience $syncgroupname = "CloudSync" $syncgroup =Get-ADGroup $syncgroupname
21
# Name of the Azure License to apply $LicensedUser = Get-AzureADUser -ObjectId "licensetemplate@toddklindt.com" $License = New-Object -TypeName Microsoft.Open.AzureAD.Model.AssignedLicense $License.SkuId = $LicensedUser.AssignedLicenses.SkuId $Licenses = New-Object -TypeName Microsoft.Open.AzureAD.Model.AssignedLicenses $Licenses.AddLicenses = $License# Azure AD domain suffix $aadsuffix = (Get-AzureADDomain | Where-Object -Property IsDefault -Value $true -EQ).name # $aadsuffix = “toddklindt.com” # Crappy
22
# First, add the user to the group Add-ADGroupMember -Identity $syncgroupname -Members $User # Remind them to recompile their SharePoint audience Write-Host "You'll need to recompile your SharePoint audience to reflect the group change"
23
# Sync up to Azure AD # & $syncclient # Old, crappy way Start-ADSyncSyncCycle # Now tweak the user in Azure AD # First connect # Connect-MsolService # Crappy Connect-AzureAD # Get the user $aaduser = "$user@$aadsuffix"
24
# Set the user's location. Without that the license will fail Set-AzureADUser -UserPrincipalName $aaduser -UsageLocation "US" # Set-MSOLuser # Crappy # Set the user's license Set-AzureADUserLicense -ObjectId $aaduser -AssignedLicenses $Licenses # Set-MsolUserLicense -UserPrincipalName $aaduser -AddLicenses $license
25
Yammer
Yammer app
On-premises SharePoint Server 2013 Enterprise Search portal: Local and remote search results are available SharePoint Online search portal: Local search results are available
Search: One-way outbound Business Connectivity Services: Not supported Duet Enterprise for SharePoint and SAP: Not supported
Intranet Microsoft data center Internet
Microsoft Office 365 tenant
SharePoint Online
Local search results only Site collection
SharePoint Online cannot query SharePoint Server
SharePoint Server 2013
SharePoint
Primary web app Federated search results
SharePoint Server can query SharePoint Online
Outbound Inbound
On-premises SharePoint Server 2013 Enterprise Search portal: Local search results are available SharePoint Online search portal: Local and remote search results are available
Search: One-way inbound Business Connectivity Services: Supported Duet Enterprise for SharePoint and SAP: Supported
Intranet Microsoft data center Internet
Microsoft Office 365 tenant
SharePoint Online
Federated search results Site collection
SharePoint Online can query SharePoint Server
SharePoint Server 2013
SharePoint
Primary web app Local search results
SharePoint Server cannot query SharePoint Online
Outbound Inbound Reverse proxy
On-premises SharePoint Server 2013 Enterprise Search portal and SharePoint Online search portal: Local and remote search results are available. If extranet authentication services are configured, extranet users can log in remotely through an on-premises Active Directory account and use all available hybrid functionality.
Search: Bidirectional Business Connectivity Services: Supported Duet Enterprise for SharePoint and SAP: Supported
Intranet Microsoft data center Internet
Microsoft Office 365 tenant
SharePoint Online
Federated search results Site collection
SharePoint Online can query SharePoint Server
SharePoint Server 2013
SharePoint
Primary web app Federated search results
SharePoint Server can query SharePoint Online
Outbound Inbound
@TODDKLINDT TODD@TODDKLNIDT.COM WWW.TODDKLINDT.COM/OMAHASPUG