Microsoft 365 - Add Company Templates for all Users

Опубликовано: 24 Октябрь 2024
на канале: The Cloud Geezer
7,620
71

This is a great feature inside Microsoft 365. Adding company templates to all users in the Office products.

Here in this video I take you through how the process works, the necessary Powershell commands you need to run and also the setup of the SharePoint Online site that will house those templates.

I do all of this in a real world tenant so you can see not just the process but also a live outcome of what we are doing.

Adding/Updating/Deleting these templates for the entire company is a very efficient way to make sure that internal documents, customer facing product and anything that requires a designated template are done correctly.

Please remember to subscribe to the channel for more cloud based content.

Mark - The Cloud Geezer


Here is all the Powershell code that I use in the video. Pasted in here so you can reuse it as you perform these tasks on your own tenant.

Install-Module -Name Microsoft.Online.SharePoint.PowerShell -Scope CurrentUser -Confirm:$false -Force

$AzureAdTenantId = '';
$SharePointSiteUrl = '';

$SpoGroupVisitor = Get-SPOSiteGroup -Site $SharePointSiteUrl | Where-Object {$_.LoginName -like "*Visitors*"};
Add-SPOUser -Site $SharePointSiteUrl -LoginName ('c:0-.f|rolemanager|spo-grid-all-users/{0}' -f $AzureAdTenantId) -Group $SpoGroupVisitor.LoginName;

$SharePointSiteLibraryUrl = ''
Add-SPOOrgAssetsLibrary -LibraryUrl $SharePointSiteLibraryUrl -OrgAssetType OfficeTemplateLibrary -CdnType Private -Confirm:$false