Contributors:
Rob Garrett - Sr. Customer Engineer, Microsoft Federal
John Unterseher - Sr. Customer Engineer, Microsoft Federal
Martin Ballard - Sr. Customer Engineer, Microsoft Federal
This article replaces the previous article, which used the - now legacy - version of PnP PowerShell.
Microsoft 365 learning pathways is a customizable, on-demand learning solution designed to increase usage and adoption of Microsoft 365 services in your organization. |
Microsoft 365 learning pathways is a customizable, on-demand learning solution designed to increase usage and adoption of Microsoft 365 services in your organization. Learning Pathways consists of a fully customizable SharePoint Online Communication site collection, with content populated from the Microsoft online catalog; so, your content is always up to date. Learning Pathways provide integrated playlists to meet the unique needs of your organization.
M365 Learning Pathways build atop of the Look Book Provisioning Service and templates (https://lookbook.microsoft.com). In a previous blog post, we detailed the nuances of the Look Book Provisioning Service and additional steps required to deploy templates to GCC High tenants. Since Learning Pathways depend on the provisioning service to create a Communication site with customizations, via a Look Book template, this post details the additional steps to follow those from the earlier blog post.
Because of provisioning limitations in the GCC High sovereign cloud, documented installation instructions result in errors. |
Microsoft strives to implement functionality parity between all sovereign clouds. However, since each Office 365 cloud type serves a different customer audience and requirements, functionality will differ between these cloud types. Of the M365 clouds – Commercial, Government Community Cloud, Government Community Cloud High, and DOD Cloud, the last two offer the least functionality to observe US federal mandates and compliance.
As Microsoft develops new functionality for Microsoft 365 and Azure clouds, we typically release new functionality to commercial customers first, and then to the other GCC, GCC High, and DOD tenants later as we comply with FedRAMP and other US Government mandates. Open-source offerings add another layer of complexity since open-source code contains community contribution and is seldom developed with government clouds in mind.
Manual configuration steps detailed below make Learning Pathways in GCC High possible. |
Looking to update the Learning Pathways Web Parts in an existing deployment? Click here.
Microsoft 365 Learning Pathways offers manual steps to support deployment to an existing SharePoint Online Communication site. Recall from the earlier blog post that the Look Book Provisioning Service is unable to establish a new site collection in GCC High, because of necessary restrictions. We, therefore, deploy Learning Pathways using the manual steps with a pre-provisioned Communication site collection.
Manual setup of Learning Pathways requires experience working with Windows PowerShell and the PnP PowerShell module.
Before getting into the manual steps, we must meet prerequisites for manual install of Learning Pathways, the following is a summary:
Newer versions of GCC High tenants have a ".us" suffix for the tenant name (tenant.onmicrosoft.us). If you're tenant has a ".com" suffix, replace all instances of ".us" with ".com" in the PowerShell cmdlets in this article. |
We begin by creating a new Communication site via the SharePoint Administration site:
https://mytenant-admin.sharepoint.us/_layouts/15/online/AdminHome.aspx#/siteManagement/view/ALL%20SITES
Ensure the appropriate permissions for users of the Learning Pathways site:
We shall now create the tenant app catalog (if it does not already exist):
https://mytenant-admin.sharepoint.us
https://mytenant-admin.sharepoint.us/_layouts/15/online/TenantAdminApps.aspx
We shall now turn our attention to installing the latest version of PnP.PowerShell. At the time of writing this blog, the latest version of PnP.PowerShell is 1.5.x. Follow the instructions, in the box below, to install the latest pre-release version (required).
You can check the available versions of installed PnP.PowerShell with the Get-Module PnP.PowerShell -ListAvailable. If you do not have version 1.5.x or greater follow the instructions in the below box. |
PnP PowerShell installation is a prerequisite for deploying Look Book templates via PowerShell. The previous edition of this article used the - now legacy - SharePointPnpPowerShell module. At the time of writing, the new steps require the latest bits for PowerShellGet, Nuget Package Provider and PnP.PowerShell module. You only need follow these side-line steps once for a specified Windows machine.
|
Import-Module -Name PnP.PowerShell
If you have multiple versions of PnP.PowerShell install, target a version greater than 1.5.x with the -RequiredVersion flag.
Register-PnPAzureADApp -ApplicationName "PnP PowerShell" `
-Tenant [TENANT].onmicrosoft.us -Interactive `
-AzureEnvironment USGovernmentHigh `
-SharePointDelegatePermissions AllSites.FullControl, User.Read.All
Login with user credentials assigned Global Administrator role.
Learning Pathways deploys as from a dedicated Look Book template. The following steps details downloading the template and deploying it via PnP.PowerShell.
Download the template files from https://github.com/SharePoint/sp-dev-provisioning-templates/tree/master/tenant/M365LearningPathways |
Import-Module -Name PnP.PowerShell
If you have multiple versions of PnP.PowerShell install, target a version greater than 1.5.x with the -RequiredVersion flag.
Connect-PnPOnline `
-Url "Url of your Learning Pathways Site" `
-AzureEnvironment USGovernmentHigh `
-Interactive `
-Tenant "[TENANT].onmicrosoft.us `
-ClientID "Client ID from AAD app registration in Step #13"
Set-PnPTenantSite -Identity "Url of your Learning Pathways Site" -DenyAddAndCustomizePages:$false
Invoke-PnPSiteTemplate -Path M365LP.pnp
Set-PnPStorageEntity `
-Key MicrosoftCustomLearningSite `
-Value "<URL of Learning Pathways site collection>" `
-Description "Microsoft 365 learning pathways Site Collection";
Set-PnPStorageEntity `
-Key MicrosoftCustomLearningTelemetryOn `
-Value $false `
-Description "Microsoft 365 learning pathways Telemetry Setting";
The template files, which you downloaded earlier contains the latest Sharepoint Framework (SPFx) web parts. Users looking to update just the SPPKG file in the SharePoint App Catalog can do so, as follows:
The filename should look like <GUID>.sppkg.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.