Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [provisioning]

The process of preparing, creating and managing an organized system.

Filter by
Sorted by
Tagged with
0 votes
1 answer
126 views

Get-PnPSiteTemplate to get out the xml for Files

There are files stored in my sites which I would like to take xml out of so when I run invoke it will upload those files to another site. But I can only get files sometimes when I use Get-...
user avatar
0 votes
1 answer
33 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
1 answer
54 views

URL to provision Microsoft New Employee Onboarding sites [closed]

I am reading this article @ provision-neo-hub on how to provision NEO hub sites, but when i click on this link :- I will be redirected to a page to provision the "MICROSOFT 365 LEARNING PATHWAYS&...
user avatar
  • 2,234
1 vote
2 answers
35 views

Creating a channel on microsoft teams with site design schema

Is it possible to add a parameter to JSON schema (team site) to automatically create a channel In Microsoft teams?
user avatar
  • 61
2 votes
1 answer
37 views

Not able to browse PnP PowerShell documentation on Microsoft site

I am trying to access PnP PowerShell documentation but not able to find it. Almost all pages are not working. Example: I am trying to access PnP Provisioning template cmdlet documentation which is ...
user avatar
1 vote
0 answers
242 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
625 views

How to pass current user email to Power Automate using site script

I want to trigger Power Automate through site design (inside site script). Found documentation from MS on how to implement this. There is a way to trigger flow using triggerFlow verb and with When ...
user avatar
  • 1,526
0 votes
2 answers
686 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
0 votes
1 answer
44 views

Automatically generating pages when subsite is created

Migrating from Sharepoint 2010 to 2019 (On-Prem, Classic UI) and I need to implement a solution that automatically generates pages (3 for example) when a subsite is created. An example would be ...
user avatar
1 vote
0 answers
785 views

SharePoint PnP provisioning engine: applying provisioning template throws "Access denied" error

I am currently facing a strange behaviour with the SharePoint provisioning engine. I am targeting a SharePoint 2019 on-premise version. I am quite sure that this problem is related to authentication, ...
user avatar
  • 175
2 votes
0 answers
106 views

Using PnP provisioning template and updating ExchangeId and IndexId JSON properties for a News web part

I'm using the PnP extension ApplyProvisioningTemplate to apply an XML site template as part of our provisioning process, a C# API running in Azure. One of the ClientSideWebPart we use is News. I have ...
user avatar
0 votes
0 answers
25 views

How to pre-provision crawled properties?

Is it possible to provision crawled properties on SharePoint without data ? Using on premise sharepoint, I used to manipulate New-SPEnterpriseSearchMetadataCrawledProperty to prepare crawled ...
user avatar
  • 7,426
0 votes
1 answer
43 views

Office 365 Groups expiration policy

It was discovered that one of our highly active SharePoint sites was deleted this morning. After digging through the logs, I found "Site Deleted" by "AAD SharePoint Sync". After looking into this it ...
user avatar
1 vote
1 answer
62 views

Can I set List Validation Settings programmatically?

I want to set the Validation Settings of a List with PnPJS. Is this possible? alternatively: Is it possible to provision a List with specific Validation Settings in place? Thanks!
user avatar
0 votes
1 answer
489 views

Programatically define document set default view

Im trying to be define a document set default view from powershell, code, csom, or site template, but I cant find any way to do so. My library have 5 views, and I have a document set XX added to the ...
user avatar
3 votes
1 answer
146 views

SharePoint PnP PowerShell Provision world clock webpart on Modern page

I am working on modern team site page provisioning using pnp powershell. We are trying to add the world clock webpart on page, but we are not getting the internal name of the world clock webpart to ...
user avatar
3 votes
2 answers
174 views

Never ending site creation

I tried creating a Classic team site a couple months ago and it's still spinning in the Admin Center with the message: We're still working on it and it might take 24 hours It seems like this will ...
user avatar
0 votes
1 answer
317 views

SPOnline: After including feature/asset deployment to my SPfx WebPart I can't put it on any SitePage

I'm trying to add some provisioning function to my SPfx WebPart Project on SharePoint Online. The Problem is that as soon as I put the feature information to my package-solution.json the configured ...
user avatar
  • 139
5 votes
1 answer
41 views

Is it viable to manage a SharePoint Online site via PnP templates in source control with automated deployments?

I am trying to gain some traction on a new SPO project and it's been indicated to me that they want to maintain the site programmatically with PnP templates (XML files basically). The idea is that we ...
user avatar
  • 181
3 votes
2 answers
3k views

Disable Teams Site Creation

My mind is blown here. A regular use just created a Team from within MS Teams client application. This then created an O365 Group with inbox. It also created a new SharePoint site collection and ...
user avatar
-1 votes
1 answer
120 views

App Catalog Provisioning broken

Trying to create an app catalog in SharePoint online by following this tut: https://blog.codeasite.com/how-to-add-an-app-catalog-to-sharepoint-online-to-make-custom-apps-available/ Very ...
user avatar
1 vote
1 answer
118 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
1 vote
1 answer
286 views

Provisioning Lookup field with reference to another provisioned list

I'm trying to provision two lists (List 1 and List 2). List 1 has a Title column and in List 2 i want to create a Lookup field with a reference to the Title column in List 1. The problem is that ...
user avatar
  • 25
1 vote
0 answers
108 views

Teams -Reached catch method Error occurred while executing Code: GeneralException Message: Failed to start/restart provisioning of Team InnerError

I was trying to create Teams using Powershell script as below $GroupID = (New-Team -DisplayName $TeamName -AccessType Private -Description $TeamDescription).GroupId in general this code execute well ...
user avatar
0 votes
1 answer
522 views

How to deploy display templates with pnp?

On SP 2016 on-prem I am trying to write a console application to upload files, mainly display templates. I create a dummy site collection, and upload display template in "_catalogs/display templates/...
user avatar
  • 1,311
0 votes
2 answers
1k views

Provision sharepoint list & columns without creating content type using schema.xml SPFX

https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/provision-sp-assets-from-package In the documentation it specifically told us to create fields, add to content type, then add ...
user avatar
  • 353
0 votes
1 answer
118 views

SharePoint Search service error

I am trying to to install search service on SharePoint 2010 farm, and getting following error Errors were encountered during the configuration of the Search Service Application. In logs I found ...
user avatar
  • 169
1 vote
2 answers
423 views

Adding default webparts to pagelayout in office 365

I am trying to add a default webpart to PageLayout I tried using this <div class="col-3 col-md-3" id="sidebar"> <WebPartPages:ContentEditorWebPart webpart="true" runat="server" ...
user avatar
0 votes
1 answer
897 views

How create publishing page via CSOM or Powershell (SharePoint Online)

I would like to automate creation of a subsite and of a publishing site. Is it possible to create a publishing site and also dynamically add webparts to it e.g create also a document library on the ...
user avatar
  • 4,090
2 votes
1 answer
455 views

How to provisioning a SPFx web part using CSOM OnPrem (SP2016)

I have developed a SPFx web part. How do I provision the webpart part using CSOM to an OnPrem SharePoint 2016 server?
user avatar
  • 219
0 votes
1 answer
160 views

SPFx, provisioning the DisplayName

I'm trying to provision a sitecolumn in Office365. I'm using the following syntax: <Field ID="{40f80a77-d528-45ae-aafe-e7b15ffa8e6a}" Name="LF_Company" DisplayName="Company" ...
user avatar
0 votes
1 answer
24 views

Service Applications not installing to correct server

I have set up a 2016 farm with 2xWFE, 2xAPP, 1xSQL. I'm trying to install and provision service applications specifically to APP1, but am having trouble. The "Visio Graphics Service" application only ...
user avatar
  • 3
4 votes
0 answers
101 views

How to provision "Content types" in SharePoint online

Short version How do I provision Content Types and Site defs in Sharepoint online, onto my host web? I would prefer reusing existing content type definitions Long version We are migrating a fairly ...
user avatar
  • 1,017
2 votes
0 answers
24 views

Consistency of Pages List Name between old Pages and new localized Paginas

We're in the process of converting a old SharePoint 2007 system to SharePoint 2013. We found that old sites have a pages list name in the url in English: "Pages", whereas newly created sites have it ...
user avatar
2 votes
0 answers
36 views

Provision a sharepoint hosted workflow to the host web via JSOM?

I know it's possible to create lists and groups in the host web. What I'd like to accomplish is to create a list on the host web and then be able to add a workflow to that list. Is this possible with ...
user avatar
  • 1,481
4 votes
2 answers
635 views

Fields missing from folder content types

I have several content types based on Folder with a couple of fields. Some of them are experiencing some strange behavior. The fields are there, and the data is being saved, because I can see them ...
user avatar
  • 5,349
1 vote
1 answer
671 views

Difference between Elements.xml and Schema.xml

Let's say I have following elements in my solution: Site Column: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Field ...
user avatar
1 vote
1 answer
103 views

Include new page layout in the page lauout drop down

I have created a page layout using module and aspx page MyLayout.aspx <%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %> <%@ Register TagPrefix="SharePoint" ...
user avatar
  • 137
1 vote
3 answers
268 views

Solution to duplicate Site or Copy a site collection granularly

I'm a sharepoint admin and I'm receiving request everyday to duplicate a site or site collection. Site templates has limitations so I really want to have something to help me. I want to be able to ...
user avatar
1 vote
1 answer
36 views

What is the recommended way to provision a SharePoint portal using Visual Studio?

I'm needing to create a SharePoint portal with simple elements only like Document Libraries, custom application pages (some with Web Parts), and branding. The portal has around 5 subsites, each with ...
user avatar
1 vote
0 answers
246 views

SharePoint Online - Content type and required field issue

I'm quite desperate so let me reproduce my issue on SharePoint Online. I'm using Content Type Hub and I've published all content types to site collections (around 30 of them). Most of them work just ...
user avatar
  • 11
1 vote
1 answer
72 views

Provisioning lists on site creation

What would be the way to go about this in SP2013/Online? I would like to have it so that if a user were to create a subsite, a custom "Comments" list is automatically created as well? I was thinking ...
user avatar
  • 165
0 votes
1 answer
2k views

Allow multiple selections on Person or Group field

In SharePoint 2013 on-premise I am trying to create a Person or Group field to use it in a content type. My problem with the field is that I cannot select more than 1 person. I have been googling a ...
user avatar
  • 1,311
2 votes
2 answers
776 views

Examples Using XMLSharePointTemplateProvider

I am looking for examples or explanations for using the PnP XMLSharePointTemplateProvider. I have found exactly zero doing web searches. I am not clear on the constructor arguments for ...
user avatar
0 votes
0 answers
41 views

Site Provisioning should work with both on-premises and Online

I'm new to site provisioning concept. Currently I'm looking for some POC's that should create a Site Collection with sub-sites. And it should be work with both Online & On-Premises. I got some ...
user avatar
  • 495
0 votes
2 answers
391 views

Provision property bag for document library declaratively via sandbox

I have a no-code sandbox solution that I use to provision artefacts. One is a document library to which I want to attach a property bag to be set by a user via custom setting page. I learned that one ...
user avatar
2 votes
0 answers
56 views

How would I take a full inventory (architecture + content) of our entire SharePoint Intranet?

We have a SharePoint 2010 on Premise environment that I will be replacing soon - but first I want to just capture an inventory of everything we've currently got inside it. Both the structure of our ...
user avatar
0 votes
2 answers
4k views

Provisioning One Drive Sites

My issue is similar to another posted here on the site but still happening(Office 365 pre-provision my site issue with Powershell). I've tried to run this on 3 different machines and 1 works, the ...
user avatar
1 vote
0 answers
24 views

How to create two child subsites one under the other by using web template?

I have this senario where I have to create a sub site and beneath that there will be another subsite created at the moment user creates the top subsite. Ex: Site1 (On siteCollection user will create ...
user avatar
  • 1,316
2 votes
3 answers
2k views

Error deploying taxonomy fields using the PnP provisioning engine

I am trying to deploy a multi-select taxonomy field using the PnP provisioning engine 1.5.915.0 and the termsetid token in the XML. If the term group and/or the term store have a space in the name (e....
user avatar