An effective method I used to copy a SharePoint Modern Theme from One Tenant to Another with PowerShell …
SharePoint Modern UI Themes are awesome! What’s not so great is the process to add new themes to your Office365 tenant. Is it me or does the location of Microsoft’s UI Fabric Theme Designer change every week?
The other day one of our consultants asked me if there was an easy way to copy a Theme from one Office365 tenant to another. I knew of course that we get the theme from the source tenant using the Get-SPOTheme cmdlet, then copy and paste the JSON, but I wanted to find a more efficient way. Below is a simple script that copies a theme from one tenant to another.
Connect-SPOService -url https://tenant1-admin.sharepoint.com/
$theme = get-spotheme -name ThemeName
$palettejson = ConvertTo-Json -InputObject $theme.palette
Connect-SPOService -url https://tenant2-admin.sharepoint.com/
Add-SPOTheme -Name “ThemeName” -Palette $palettejson
Klarinet Solutions specializes in enhancing your system performance, optimizing user experience, and developing a streamlined process that supports business objectives To find out more about our services or if you need help with SharePoint customization and high-level branding, feel free to contact our solutions-delivery team or reach us by phone at (866) 211-8191.