Friday, December 8, 2017

Error creating site with Custom Site Template in Office 365

I recently ran into an issue in Office 365 SharePoint where creating a new site using Custom Site Template would result in an error below.

GlobalHold                      Feature  Site collection  2a6bf8e8-10b5-42f2-9d3e-267dfb0de8d4  Not activated
MobileExcelWebAccess  Feature  Site collection  e995e28b-9ba8-4668-9933-cf5c146d7a9f  Not activated

The new site template has both these site collection features enabled. However, the target site collection/site does not have these features activated.

For my use case, I didn't need these features activated in the target site so they had to be deactivated in the template itself. To disable these feature in the template please follow the instructions provided by Microsoft support below.

Solution:

  1. Providing you .dll and .ps1 file. 
  2. Create folder on your local machine and save these two files. Ensure to unblock the file by going to properties and select unblock.
  3. Under this folder save site template (.wsp file).  Ensure to unblock the file by going to properties and select unblock.
  4. Then run .ps1 file in PowerShell using the following command. See Screenshot.

    .\office365stupdater.ps1 '.\<your-template>.wsp'

    Replace <your-template> with the name of your .wsp file.
  5. It will complete the extracting and updating.
  6. Then on the same folder you can find updated solution file in the same folder (named Updated-<your-template>.wsp)
  7. Upload the updated .wsp file to the target site collection and activate the solution. 
  8. Create a new site using the template and you should no longer receive the error.

Please report any issues in the comments section.



2 comments:

  1. How to Play Slots with Slots - Casino Roll
    Casino Roll - a Quick max88 and easy way to play slots for fun 라이브스코어사이트 and real money, without spending any real money. The slots 토토 사이트 are 텐벳 built around the 태평양 먹튀 player's

    ReplyDelete
  2. The King Casino | Situs Judi Slot Online Terbaik 2021
    Play online Pragmatic herzamanindir.com/ Play Slots at The King Casino https://tricktactoe.com/ - Member jancasino Baru & Terpercaya 2021! Rating: 98% · https://febcasino.com/review/merit-casino/ ‎240,388 https://septcasino.com/review/merit-casino/ votes

    ReplyDelete

I may not be able to get back to you immediately so please be patient.