Questions tagged [pnp-provision]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
153 views

PnP Apply template (Invoke-PnPSiteTemplate) issue on 3 level deep parented content types

When applying a site template with a custom content type with a custom parent of an SP internal content type (Document) parent, the following error occurs: "The parent content type specified by ...
fallout's user avatar
  • 1,015
0 votes
2 answers
164 views

PnP Provisioning Schema - disable comments in list

Using PnP Provisioning Schema for site structure (lists, CTs, fields, etc). Want to disable modern comments via schema - referring to property in screenshot below How to achieve that via ...
Kristaps Vilerts's user avatar
0 votes
1 answer
371 views

Copy PnP provisioning template without users

I'm copying PnP provisioning template with PowerShell using Get-PnPSiteTemplate command. I need to copy all site permissions but I don't need to add users into it. Which properties for Get-...
Ann's user avatar
  • 51
0 votes
0 answers
85 views

PnP Provisioning: What is the ControlId good for?

I'm importing PnP templates for SharePoint Online using the latest PnP Provisioning Engine. The templates include client side pages with web parts that each got a ControlId property. For well-known ...
Heinrich Ulbricht's user avatar
0 votes
0 answers
83 views

Install-PNPSolution is deprecated - what do I do now?

I have inherited a project portal that provisions project rooms with permissions and site templates. Microsoft have done a change in how contenttypes work so I have updated PNP PowerShell to be able ...
Kjetil Ytrehus's user avatar
0 votes
1 answer
242 views

issues while trying to localize site column

I found a few option on how to localize or provide a localized site column. PnP templates with resource files will provide the fields in the language but will not localize it when the site language ...
Ricardo Silva's user avatar
0 votes
1 answer
239 views

Deploying Calendar list using SPFx

I am trying to create a calendar list using SPFx feature framework. Am able to create custom list with content types but Calendar list is not getting created. XML for fields <Field ID="{...
Nagarajan Muthukumar's user avatar
0 votes
1 answer
1k views

PnP Cmdlets / Provisioning: What are the minimal required permissions for basic SharePoint operations?

So far I mostly used PnP provisioning with interactive login (=a user logs in) which worked fine. I now want to PnP-provision some folders and content types using application permissions with the ...
Heinrich Ulbricht's user avatar
0 votes
0 answers
151 views

Get Theme details of SharePoint site using CSOM

Is there way to get current Theme details of a SharePoint site using CSOM https://contoso.sharepoint.com/sites/siteA I read this and it doesn't have a method
DevÁsith's user avatar
0 votes
1 answer
883 views

ConvertTo-PnPPage Cmdlet, PnP PowerShell, Unexpected URLs

I'm using PnP PowerShell cmdlet "ConvertTo-PnPPage" to migrate from SPO Classic Intranet to a modern communications site in the same tenant. In some of my page transformations, I'm getting ...
Arknev's user avatar
  • 323
1 vote
0 answers
490 views

Unable to provision site fields and content type through PNP provisioning

I'm trying to migrate some site structure from SP2013 to SP Online. I have extracted data from the site through Get-PnPProvisioningTemplate. I've cut out all unnecessary stuff and try to Apply-...
n0e's user avatar
  • 307
1 vote
1 answer
98 views

Convert SharePoint 2010 list template to PnP Provisioning template

Is there a tool or at least a guideline on how to convert SharePoint 2010 list template to PnP Provisioning template?
Mariusz Ignatowicz's user avatar
0 votes
1 answer
209 views

Multilingual PNP provisioning for SharePoint Group

Did anybody try applying localization using PNP Provisioning for SharePoint groups? I have tried but it is not working. Can somebody please help? <?xml version="1.0"?> <pnp:...
Jeevana's user avatar
  • 61
0 votes
1 answer
670 views

Create a SharePoint List item when an Outlook/Teams/group event is created

In SharePoint Online I want to create sub-items in Document library/List and wish to reference a Teams, Group or Outlook calendar event. Is it possible to create a SharePoint List item when an event ...
Orange Juice Jones's user avatar
0 votes
1 answer
724 views

How to extract the Theme from a site in PnP provisioning for SP Online?

I am looking to extract a template with its theme from a site in SP Online. I have the code Get-PnPProvisioningTemplate -Configuration "template.json" -Out "template.xml" -Force ...
omega's user avatar
  • 2,160
0 votes
1 answer
190 views

How to create items in PnP Provisioning in SP Online site templates?

I am creating templates using the PnP provisioning but am noticing the items are not being created. I have this .json file { "$schema":"https://aka.ms/sppnp-extract-configuration-...
omega's user avatar
  • 2,160
0 votes
2 answers
2k views

Setting up taxonomy field with Pnp PowerShell in SharePoint Online and Teams

I am using PnP to set up a number of site collections with the same set of site columns and content types. Initially I created an XML provisioning file from a site I set up, but when I applied it to ...
Gunilla's user avatar
  • 355
1 vote
2 answers
188 views

Issue while deploying the modern site SharePoint Starter Kit v2

I am having issue running the starter kit 2 available here Below is the error i am getting Below are the steps i followed from the article Install-Module -Name "SharePointPnPPowerShellOnline&...
SandeshR's user avatar
  • 1,992
1 vote
1 answer
399 views

Pnp Provisioning

I have successfully followed (well almost got this working) this blog, however I am stuck as I do not understand if i have 6 different site templates how to pick the one to apply. This is all feeding ...
Dorinda's user avatar
  • 65
1 vote
1 answer
327 views

PnP site template - include 'Embed' webpart with <iframe>

I am provisioning sharepoint sites using a pnp site template and would like to add an embed web part. I am able to add 'people' web parts with the following: <pnp:CanvasControl ...
owninggreendragsdude's user avatar
0 votes
1 answer
444 views

pnp schema template issue - how to inlcude "new and existing guests" option in the schema

I am not finding the right XML schema to include it in my PNP provisioning template. How can I include settings called "New and existing guests" for external sharing while provisioning a site using ...
raj's user avatar
  • 1
0 votes
1 answer
617 views

PNP Apply-ProvisioningTemplate - SharePoint List's field is skipped if of different type

I am currently using Azure Build and Release Pipelines to automate deployment to a testing environment. A PowerShell script is used to re-apply a template.xml file for the sites lists and libraries ...
MAS89's user avatar
  • 141
0 votes
0 answers
40 views

How to migrate all sites from one HubSite from one tenant to another

I have got at my test tenant a lot of sites conected by hubsite. It is posibility to copy only the sites from one Tenant to another Tenant ?Production Tenant. Have you try to do this task in your ...
Grzegorz Z's user avatar
  • 1,709
0 votes
1 answer
805 views

Parameters in PnP template in JsonControlData property

I tried to provision a modern site with a people web part. The configuration of this web part is mainly stored in a property called JsonControlData. I would like to know how to properly add ...
vilmarci's user avatar
  • 906
0 votes
0 answers
383 views

Apply site theme or design with PnP Provisioning

I would like to replicate the option available under "Settings - Site Design - Chose Site design - Apply to site within a PnP site provisioning template. This is a newly created subsite under an ...
vilmarci's user avatar
  • 906
0 votes
1 answer
96 views

Will PnP Provisioning migrate workflows including with forms(infopath)

Can the PnP provisioning migrate infopath forms with workflows(SharePoint Designer) with ease? As anyone use this template successfully before ? Thanks in Advance
naijacoder's user avatar
  • 4,260
1 vote
1 answer
997 views

Adding a listview web part - modern team sites

I need to add a list view web part with c# like below: My best guess is using PnP is the wat to go. I would think something like below is the first part (correct me if I am wrong): var page = ...
Thomas Segato's user avatar
1 vote
2 answers
107 views

provide a SPOSiteDesign from XML instead of JSON

Is there a way to provide a modern ui site template based on an XML file? This doesn't seem to work. $site_script = Get-Content -Path "./siteTemplate1.xml" -Raw $SiteScript = Add-SPOSiteScript -...
Emiel's user avatar
  • 99
0 votes
1 answer
106 views

provide teamsite template trough sitescript: cannot convert Object[] to string

I made a (simple) sitescripttemplate in JSON which I would like to make available for all the users who can create a site. The inconvenience lies in the fact I only got it working which I write the ...
Emiel's user avatar
  • 99
1 vote
1 answer
419 views

PnP powershell provision Site with webpart

I am dynamically creating sites (Modern sites/pages) and I want to add embed webpart with embedded code each time a site gets created. How can I do that with PnP Powershell script?
user3629354's user avatar
3 votes
0 answers
324 views

PNP Provisioning - WelcomePageView in Document Sets

I see that this is now supposed to be supported through the 2018/07 schema? There is at least something there. <XmlDocument NamespaceURI="http://schemas.microsoft.com/office/...
Frank-Ove Kristiansen's user avatar
1 vote
0 answers
533 views

PnP Provision Page Layout in Sharepoint Online

I am provisioning Sharepoint online page layout changes using pnp provisioning. Steps performed are: 1- Go to SiteCollection->Design Manager-> Upload Design Files-> click on _catalog/masterpage/ link ...
Arvind's user avatar
  • 21
1 vote
1 answer
208 views

Update page after provisioning modern page

I'm using the Pnp framework to provision a modern site with some web parts on it. After adding Quick Links web part and open the page I see the text "We didn't find anything to show here." in that ...
Anders Nyström's user avatar
0 votes
1 answer
602 views

Programatically add a user to people web part

I'm trying to programatically(c#) add a user to a sharepoint People web part on a modern page but with no success. I try to set the "persons"-property the same way it looks after adding a person ...
Anders Nyström's user avatar
1 vote
1 answer
81 views

Twitter feed programmatically on modern page

Building a mvc app for sharepoint. Anyone know how to programmatically add a twitter feed on modern page in sharepoint?
Anders Nyström's user avatar
2 votes
0 answers
355 views

Provision site with pnp package gives file not found error

I would like to move the provisioning templates to SharePoint Online so I need to convert them to pnp package. I try to convert a folder with provisioning files using the Convert-...
vilmarci's user avatar
  • 906
0 votes
1 answer
394 views

PnP Site Provisioning saving site template, but not homepage

I am using PnP PowerShell to save a SharePoint TeamSite (STO#3) as a provisioning template. This works fine. However, the homepage of the site is not being saved. My PowerShell Script: # Variables ...
Martin Muldoon's user avatar
1 vote
1 answer
197 views

PnP Site Provisioning Documentation

I have successfully saved a Site Template using the following PowerShell command: Get-PnPProvisioningTemplate -Out $templateFile -PersistBrandingFiles -PersistPublishingFiles; I'm looking in the ...
Martin Muldoon's user avatar
1 vote
3 answers
775 views

Provisioning a Site template to several SharePoint Group Sites with PowerShell

I am trying to search for site collections which are of the type "Office 365 Group site collections (GROUP#0)" and then want to apply the Provisioning Template to all the group sites returned in the ...
Tyra's user avatar
  • 25
0 votes
2 answers
1k views

Export Import Workflow SharePoint Online

I have got created a list workflow in SharePoint Designer for a SharePoint Online Site Collection. Now I want to export this workflow and import it automatically to a new site collection during / ...
Nick Delefski's user avatar
2 votes
2 answers
480 views

PnP Provisioning | Create a SharePoint list with rating enabled

We are unable to create a SharePoint list with rating enabled on it. Can someone help us in creating XML schema for the above requirement. Thanks in advance.
Sid's user avatar
  • 318
0 votes
0 answers
523 views

Include Specific list in PnP Provisioning

I would like to use PnP Provisioning engine to clone list from one site to another. In order to do so, I would like to create provisioning template with just one list in it. When I use ...
Ravi Khambhati's user avatar
0 votes
1 answer
523 views

ApplyProvisioningTemplate SharePoint Publishing Feature no response in SharePoint Online

We want to enable some SharePoint features during the provisioning process. In our PnP-Template there are three GUIDs of features, which have to be enabled: <?xml version="1.0" encoding="utf-8" ?&...
Nick Delefski's user avatar
0 votes
1 answer
115 views

WebPart disappears after applying template

I have a Shared Documents list that I add to a page: <pnp:WebPart Title="Documents" Zone="Body" Order="1"> <pnp:Contents> <webParts> <webPart xmlns="http://...
vilmarci's user avatar
  • 906
1 vote
2 answers
140 views

Run PnP provisioning script in the cloud

With SP2010, we had our site provisioning process on the server. Now, with SharePoint Online, we have no servers anymore, we got PnP provisioning, that is great, but now I wonder, can I put the PnP ...
vilmarci's user avatar
  • 906
2 votes
2 answers
490 views

Content Type is provisioning in SharePoint Online

I am aware that custom content type will not be available immediately in any existing site when we create a new one. In my experience, I have seen that it takes somewhere around 6-8 hours to appear in ...
Ravi Khambhati's user avatar
1 vote
1 answer
198 views

Should GUID's be unique?

I'm a little confused about the guid's used in the provisioning template. I understand that I can generate a new guid with the {guid} token. What is not clear, when shall I use it? What is the scope ...
vilmarci's user avatar
  • 906
2 votes
2 answers
1k views

PNP Provisioning: read external content into template

Can I have the different sections of a PNP provisioning XML template in separate files and combine them when applying the template? Like having all lists in a lists.xml, refer to this list in the ...
vilmarci's user avatar
  • 906
1 vote
0 answers
165 views

PNP site provisioning: how to remove top link bar and site title completely?

I would like to remove the top link bar and the page title and gain the space occupied by them. I can hide them by adding this to the template: <SharePoint:StyleBlock runat="server"> .ms-...
vilmarci's user avatar
  • 906
1 vote
1 answer
160 views

How to site Provisioning in office 365 (SharePoint online) by Custom

I want to do site provisioning (Custom), not using pnp starter kit, all should be done by custom. I have custom list/ columns, custom look and content type. How to package and how to deploy on o365
Milan Jain's user avatar