Questions tagged [pnp-provision]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 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 ...
user avatar
0 votes
0 answers
13 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 ...
user avatar
0 votes
0 answers
16 views

How to update default SharePoint site groups using PnP provisioning template?

I have tried with the below XML but it is not working <pnp:Security AssociatedOwnerGroup="Site Owners" AssociatedMemberGroup="Site Members" AssociatedVisitorGroup="Site ...
user avatar
0 votes
1 answer
41 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 ...
user avatar
0 votes
0 answers
22 views

How to load Organizational Site Template in Sharepoint

As below image I can able to set template from Microsoft or Organization BY clicking Settings-> 'Apply a Site Template'. Is there way to add custom template for my Organization ? such as using ...
user avatar
0 votes
1 answer
101 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="{...
user avatar
0 votes
1 answer
287 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 ...
user avatar
0 votes
0 answers
48 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
user avatar
0 votes
1 answer
293 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 ...
user avatar
  • 323
1 vote
0 answers
254 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-...
user avatar
  • 297
0 votes
1 answer
65 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?
user avatar
0 votes
1 answer
132 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:...
user avatar
  • 61
0 votes
1 answer
238 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 ...
user avatar
0 votes
1 answer
393 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 ...
user avatar
  • 2,140
0 votes
1 answer
132 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-...
user avatar
  • 2,140
0 votes
2 answers
748 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 ...
user avatar
  • 323
1 vote
2 answers
164 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&...
user avatar
  • 1,982
1 vote
1 answer
293 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 ...
user avatar
  • 65
1 vote
1 answer
165 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 ...
user avatar
0 votes
1 answer
333 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 ...
user avatar
  • 1
0 votes
1 answer
471 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 ...
user avatar
  • 141
0 votes
0 answers
34 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 ...
user avatar
  • 1,709
0 votes
1 answer
441 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 ...
user avatar
  • 876
0 votes
0 answers
326 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 ...
user avatar
  • 876
0 votes
1 answer
86 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
user avatar
  • 4,100
1 vote
1 answer
870 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 = ...
user avatar
1 vote
2 answers
54 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 -...
user avatar
  • 87
0 votes
1 answer
61 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 ...
user avatar
  • 87
1 vote
1 answer
330 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?
user avatar
3 votes
0 answers
250 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/...
user avatar
1 vote
0 answers
492 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 ...
user avatar
  • 21
1 vote
1 answer
120 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 ...
user avatar
0 votes
1 answer
496 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 ...
user avatar
1 vote
1 answer
68 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?
user avatar
2 votes
0 answers
281 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-...
user avatar
  • 876
0 votes
1 answer
319 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 ...
user avatar
1 vote
1 answer
178 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 ...
user avatar
1 vote
3 answers
636 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 ...
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 / ...
user avatar
2 votes
2 answers
406 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.
user avatar
  • 318
0 votes
0 answers
410 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 ...
user avatar
0 votes
1 answer
460 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" ?&...
user avatar
0 votes
1 answer
110 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://...
user avatar
  • 876
1 vote
2 answers
134 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 ...
user avatar
  • 876
2 votes
2 answers
464 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 ...
user avatar
1 vote
1 answer
152 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 ...
user avatar
  • 876
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 ...
user avatar
  • 876
1 vote
0 answers
160 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-...
user avatar
  • 876
1 vote
1 answer
158 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
user avatar
0 votes
1 answer
273 views

Order web parts on page

Can someone give me a hint, how can I rearrange web parts on the page? Changing the Column property or giving 3 or higher value to the Row property gives always an error during provisioning: Apply-...
user avatar
  • 876