Last active
April 26, 2022 11:50
-
-
Save pkbullock/c3bf9e602564282a9560ccf45b371843 to your computer and use it in GitHub Desktop.
Provision UK Locale using the Provisioning Engine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Connect-PnPOnline https://tenant.sharepoint.com/sites/yoursite | |
Apply-PnPProvisioningTemplate -Path "UK-Locale-Example-Provisioning-Template.xml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<pnp:Provisioning xmlns:pnp="http://schemas.dev.office.com/PnP/2020/02/ProvisioningSchema"> | |
<pnp:Preferences Generator="OfficeDevPnP.Core, Version=3.25.2009.1, Culture=neutral, PublicKeyToken=null" /> | |
<pnp:Templates ID="CONTAINER-TEMPLATE-53C4E3E3CBC6443A8CE0B1B25C211A6F"> | |
<pnp:ProvisioningTemplate ID="TEMPLATE-53C4E3E3CBC6443A8CE0B1B25C211A6F" Version="1" BaseSiteTemplate="STS#3" Scope="RootSite"> | |
<pnp:RegionalSettings AdjustHijriDays="0" AlternateCalendarType="None" CalendarType="Gregorian" Collation="25" FirstDayOfWeek="Monday" FirstWeekOfYear="0" LocaleId="2057" ShowWeeks="false" Time24="true" TimeZone="2" WorkDayEndHour="5:00PM" WorkDays="62" WorkDayStartHour="8:00AM" /> | |
</pnp:ProvisioningTemplate> | |
</pnp:Templates> | |
</pnp:Provisioning> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @pkbullock , how can I access this part? "<pnp:Preferences Generator="OfficeDevPnP.Core, Version=3.25.2009.1, Culture=neutral, PublicKeyToken=null" />"
Because I need to check both version check and name "OfficeDevPnP.Core". For example, I have to throw an error if the version is 3.25.2010.
I searched a lot but couldn't find it.