Share via


JSON To Code For SPFx Solutions

Overview

SharePoint On-Premises and SharePoint Online environment presents their own advantages and features to the users. SharePoint Online environment offers the services to handle the business needs, on the other hand SharePoint on-premises environment offers flexibility and more configuration options. For the organizations who are gradually moving towards cloud, SharePoint Server Hybrid provides staged migration path. It helps to extend the workloads to SharePoint Online.
In this article, we will explore how we can configure SharePoint Server Hybrid and extend the workloads to SharePoint Online.

SharePoint Hybrid

SharePoint Server Hybrid helps to bring together best of both SharePoint on-premises and SharePoint Online (Cloud) features. SharePoint Server hybrid environment enables trusted communication between SharePoint on-premises and SharePoint online. It integrates functionality and access between features and services of both environments. 

Enable Hybrid Experience

  1. Open SharePoint 2019 Central Administration site.
  2. Click the link from green tool-tip “Click here to enable Hybrid experiences.”

  1. An executable file “HybridSPSetup.exe” will be downloaded to the file system.
  2. Double click HybridSPSetup.exe to install.
  3. The wizard will open to connect your on-premises SharePoint Server farm with your Office 365 tenant. Click Next.

6. In order to set up a hybrid environment for SharePoint or OneDrive for Business (OD4B), we need to provide administrator credentials for both SharePoint Server and Office 365. Click Next.

  1. Pre-requisites check report will be generated. 

SPO365LinkSettings Overview

SharePoint O365 Link Settings are needed to be set for Hybrid Configuration. If you have not set this already the pre-requisites report will report it. Set-SPO365LinkSettings cmdlet will help to configure hybrid features (Hybrid site redirection, OneDrive redirection, ODB default to Cloud).

  1. Open SharePoint 2019 Management Shell with administrator privileges.
  2. Run below command
Set-SPO365LinkSettings -MySiteHostUrl "http://mysites.contoso.com" -RedirectSites $true 

Re-run SharePoint Hybrid Configuration Wizard

  1. Re-run the Pre-requisites check report to see that all pre-requisites are met. Click Next.

  1. Select the features to use in hybrid environment. Click Next.

  2. The SharePoint Hybrid Configuration Wizard will run.

  3. After the successful run of configuration wizard, SharePoint server environment will be connected to Office 365. The summary report will be generated. Click Close.

  4. Perform IISReset on SharePoint Server 2019.

Configuration Summary

By default below features are configured to use in hybrid environment.

Hybrid OneDrive

All SharePoint users will be redirected to OneDrive in Office 365. If you want only specific users to be redirected, follow below process.

  1. Open SharePoint 2019 Central Administration.
  2. From left menu, click Office 365.
  3. Under Office 365, click Configure hybrid OneDrive and Sites features.

  1. Specify specific audiences to use hybrid features. Click OK.
My Site creation default to OneDrive in Office 365

My site creation experience for end users will be redirected to Office 365 OneDrive experience. OneDrive will be defaulted to cloud.

Hybrid business to business (B2B) sites

You can now navigate across intranet sites in on-premises and extranet sites in SharePoint online by using the Follow gesture in site pages. New hybrid B2B extranet site can be created from SharePoint Online Admin center, click “New” on site collections page. This site later can be shared with external users.

Hybrid app launcher

All SharePoint Server users will not have the hybrid app launcher. It can be restricted to specific target audiences from SharePoint 2019 Central Administration > Office 365 > Configure hybrid OneDrive and Sites features.

Summary

SharePoint Server Hybrid helps to bring together best of both SharePoint on-premises and SharePoint Online (Cloud) features. SharePoint Server hybrid environment enables trusted communication between SharePoint on-premises and SharePoint online. Using SharePoint Server Hybrid we can get benefit of both the environments.