1. What is the Provision Editor?
When someone creates a workspace in PortalTalk (a Microsoft Team or a SharePoint site collection), the new workspace is almost empty. Most organizations want every workspace of the same kind to start with a standard structure: fixed channels, tabs, document libraries and folders, a ready-made home page, a tidy site menu, etc.
Provisioning is the automatic set-up of that structure right after the workspace is created.
The Provision Editor is where you design that set-up, without writing code. You build a PTPB template (PortalTalk Provisioning Blocks) by choosing blocks — small ready-made actions such as "add a channel" or "create a library" — and putting them in the order you want them to run.
You need the PortalTalk Admin role to use the PortalTalk Provisioning Editor
1.1 A quick example
A company wants every projectteam to start with:
-
a Planning channel and a private Management channel,
-
a Project plan tab in the Planning channel,
-
a Contracts library with the folders
2026andArchive, -
members not allowed to create or change channels.
Without PTPB, someone does this by hand for every new project. With PTPB, you build one template called "Project Team", connect it to a workspace type in the project Category, and every new project workspace gets all of it automatically.
2. Key terms
|
Term |
Meaning |
|---|---|
|
Template |
A configured and saved set of instructions , holding a a name, a type (Team or Site), and an ordered list of blocks. |
|
Block |
One provisioning action with its own settings, for example "Add Teams Channel". |
|
Category Type |
Shown on screen as Microsoft Team (an MS Teams workspace, including its connected SharePoint site) or Teamsite (Site collection) (a SharePoint site workspace). This guide calls them Team templates and Site templates. The type decides which blocks are available. |
|
Provision Editor |
The screen that lists your templates. |
|
Blocks Build Editor |
The screen where you add, configure and order the blocks of one template. |
|
Blocks Library |
The panel of blocks you can add. |
|
Blocks List |
The panel of blocks already in the template, in the order they will run. |
3. Quick start
The Provision Editor lets an admin build a ready-made template for new workspaces without writing code. The flow has four steps:
Template → Category → Workspace → Result
|
Step |
What you do |
Example |
|---|---|---|
|
1. Create a template |
Admin Center → Services → Provision Editor → Add new template. Choose the Category Type (Microsoft Team or Teamsite (Site collection)), add blocks in the order they should run, then select Save. |
Template |
|
2. Connect it to a workspace type |
Configuration → Categories → edit the Category → Manage Workspace Types. Add a workspace type, choose PTPB under Workspace Provisioning and pick your template (section 8). |
Category |
|
3. Create a workspace |
Create a workspace in that Category as usual, directly or through request and approval, and choose that workspace type. |
Workspace |
|
4. See the result |
Wait for provisioning. Open the new Team or site, and check Services → Provision Log for what each block did. |
The Team has the |
Good to know
-
A template runs when a workspace is created. There is no button anywhere to run it again on a workspace that already exists.
-
If one block fails, PortalTalk records the error in the Provision Log and continues with the next block. The workspace is still created.
-
Closing the Blocks Build Editor without saving loses your work. Always select Save first.
The rest of this page explains each step in detail.
4. Open the Provision Editor
-
Sign in to the PortalTalk Admin Center.
-
In the left menu choose Services → Provision Editor.
The screen is titled Workspace Provisioning and shows the List Of Templates. Each template card shows its name and its Category Type. Use the Category type filter (tick Microsoft Team, Teamsite (Site collection), or both) to narrow the list.
5. Create a template
-
Select Add new template.
-
In the Template Information dialog, fill in:
|
Field |
What to enter |
|---|---|
|
PTPB Template Name |
Required. A name you will recognize when choosing the template in a Category, for example |
|
Category Type |
Microsoft Team (Team template) or Teamsite (Site collection) (Site template). It cannot be changed later; if you pick the wrong type, create a new template. |
|
Template description |
Optional, maximum 1024 characters. What the template builds and which Category it is for. |
-
Select Save and configure templates.
Choose the category type carefully. It determines which blocks you can use and later the template can connect only to categories of the same type.
6. Build a template in the Blocks Build Editor
Save and configure templates opens the Blocks Build Editor but does not save anything yet. Your template is created only when you select Save in the editor. If you close the editor without selecting Save, the template is not created and everything you entered has been lost.
The BLOCKS BUILD EDITOR has two panels:
-
Blocks Library — the blocks you can add. The list depends on the template's Category Type.
-
Blocks List — the blocks you have added, in the exact order they will run. When it is empty it shows "Empty List — Please select or drag and drop blocks to create."
The Blocks List (left) is empty at first and the Blocks Library (right) lists the blocks you can add:
After you add blocks they appear in the Blocks List, from top to bottom in the order they will run. Here Save is available because every block is filled in, and Set MS Teams team properties is greyed out in the Library because it can only be added once:
6.1 What you can do
|
Task |
How |
|---|---|
|
Add a block |
Drag it from the Blocks Library into the Blocks List, or select the + (Add block) button on it. |
|
Configure a block |
Select Expand on the block, fill in its settings, and Collapse it again. |
|
Reorder blocks |
Drag the ≡ handle of a block up or down. |
|
Remove a block |
Select Remove block. |
|
Save |
Select Save in the header. You see "Template saved successfully" for a new template, or "Template updated successfully" for an existing one, and you return to the template list. |
|
Leave the editor |
Select ✕, then Yes, Close. |
6.2 Rules to know
-
One block = one action. To create three channels, add the Add Teams Channel block three times, once per channel. You choose from the blocks in the Blocks Library; you cannot create new types of blocks yourself.
-
Order matters. Blocks run from top to bottom. A block that uses something another block creates must come after that block: a tab after its channel, a folder after its library or channel, a page section after its page, a content type after its library. If you drag a block to an invalid position, the editor refuses and explains why, for example "This channel can't be moved after a Team Tab that references it. Move or update the Team Tab first."
-
Some blocks can be added only once per template. After you add one, it is greyed out in the Blocks Library and its + button is disabled. These blocks are: Set MS Teams team properties, Connect to Hub, Assign PortalTalk SharePoint Permissions Role, Adjust site settings and Remove/Add site menu item.
-
Save is disabled while a block is incomplete or invalid. Expand each block to see what is missing.
-
Closing the editor loses your changes. Anything you have not saved is lost, so always select Save first. Select No, Cancel to stay in the editor.
7. Block reference
7.1 The block library at a glance
The Blocks Library shows all blocks in one list. Which blocks it offers depends on the template's Category Type: 11 for a Team template and 9 for a Site template. You will see that Site blocks will also work for Teams, because a SharePoint site is connected to it.
|
Block |
What it does |
Team |
Site |
Only once per template |
|---|---|---|---|---|
|
Add Teams Channel |
Creates a Standard, Private or Shared channel |
YES |
NO |
NO |
|
Add Team tab + parameters |
Adds a tab (website or SharePoint page) to a channel |
YES |
NO |
NO |
|
Set MS Teams team properties |
Sets what members and guests may do in the Team |
YES |
NO |
ONCE |
|
Create library |
Creates a document library |
YES |
YES |
NO |
|
Create a folder |
Builds a folder tree |
YES |
YES |
NO |
|
Assign content type to library (based on ID) |
Assigns an existing content type to a library |
YES |
YES |
NO |
|
Create page |
Creates a blank SharePoint page with a chosen banner |
YES |
YES |
NO |
|
Create Page section |
Adds a section (columns) to a page |
YES |
YES |
NO |
|
Connect to Hub |
Connects the site to a hub site |
YES |
YES |
ONCE |
|
Remove/Add site menu item |
Keeps, removes, adds and orders the items of the left-hand site menu |
YES |
YES |
ONCE |
|
Adjust site settings, preferably specify parameter and value |
Sets site collection settings |
YES |
YES |
ONCE |
|
Assign PortalTalk SharePoint Permissions Role |
Gives PortalTalk roles a SharePoint permission level |
NO |
YES |
ONCE |
NOTE: This list of blocks is part of the 1.0 release of the Provisioning Engine (december 2026). In future releases more blocks are added.
7.2 Blocks for Team templates only
Add Teams Channel
Purpose: create standard channels so every Team of this type has the same channel structure.
|
Field |
Rules |
|---|---|
|
Display Name |
The channel name. Required. |
|
Channel Type |
Required. |
|
Description |
Optional. |
-
You cannot choose channel owners in this block.
Add Team tab + parameters
Purpose: put a tab in a channel that points to a standard resource.
|
Field |
Rules |
|---|---|
|
Channel Name |
Required. Type the name of the channel that gets the tab: General, or a channel created by an Add Teams Channel block above this one. |
|
Display Name |
Required. The tab name. |
|
Tab Type |
Required. |
|
Content Url |
Required. The address the tab opens. It must start with http:// or https://. For a SharePoint Page, enter the address of a page on your organization’s SharePoint. |
Set MS Teams team properties
Purpose: set what members and guests may do in the Team, the same for every Team created from the template.
Eight settings, each Allow or Disallow:
|
Setting |
Notes |
|---|---|
|
Create/Change Channels |
|
|
Guest Create/Change Channels |
Depends on Create/Change Channels |
|
Create Private Channels |
Depends on Create/Change Channels |
|
Deleted Channels |
|
|
Guest Delete Channels |
Depends on Deleted Channels |
|
Add or Remove Apps to Tabs |
|
|
Create/Change/Remove Tabs |
|
|
Create/Change/Remove Connectors |
|
-
By default the settings are Allow, except the two Guest settings (Disallow). Change only what you need.
-
When you set a setting to Disallow, the settings that depend on it are also set to Disallow and greyed out. If you set it back to Allow, Create Private Channels returns to Allow too; the Guest settings stay on Disallow.
-
Can be added only once per template.
7.3 Blocks for Team and Site templates
Create library
Purpose: add a document library besides the default Documents.
|
Field |
Rules |
|---|---|
|
Library Name |
The library name. Required. |
|
Description |
Optional. |
|
Show in Navigation |
Show the library in the site navigation. Ticked by default. |
|
Unique permission |
Give the library its own permissions. In a Team template the box is shown but greyed out; you can only tick it in a Site template. |
Create a folder
Purpose: build a folder tree in a library or in a channel's files.
-
Open the root drop-down, choose the root (a library or a channel) and confirm with ✓. To add another root, select Add root folder.
-
Use + on a folder to add a subfolder (type its name, then ✓), and ✕ to delete one.
Where folders are created:
|
Root |
Folders are created… |
|---|---|
|
A library |
Inside that library |
|
A channel (including General) |
In the files of that channel |
If you delete a library or channel block that a root refers to, that root disappears from the Create a folder block the next time you open it. Open the block and check the tree before you save.
Assign content type to library (based on ID)
Purpose: attach one of your organization's existing content types (standard metadata columns) to a library, so people can use it when they create or upload files there.
|
Field |
Rules |
|---|---|
|
Document library name |
The library that gets the content type: Documents or a library created by an earlier Create library block. Required. |
|
Content type group |
The group that holds the content type. Required. |
|
Content type Name or ID |
The content type to assign. Type to filter by name or ID, then choose one. Required. |
-
Only content types that already exist in your organization appear in the drop-down. The block assigns one to the library; it does not create it.
-
Only custom content types are listed. Built-in content types, and custom ones filed under a standard group such as Document Content Types, are not shown.
-
The block turns on Allow management of content types for the library, then adds the content type. The default
Documentcontent type stays. -
It must come after the Create library block that creates the library.
Create page
Purpose: create a blank SharePoint page with a chosen banner.
|
Field |
Rules |
|---|---|
|
Title |
The page title. Required. |
|
Banner layout |
Required. |
The block creates the page and publishes it. In the Blocks List this block is titled Create a page.
Create Page section
Purpose: give a page a layout by adding a section.
|
Field |
Rules |
|---|---|
|
Page |
Required. |
|
Section |
Section number, assigned automatically per page in block order. Read-only. |
|
Section template |
Required. |
-
It must come after the Create page block for that page.
Connect to Hub
Purpose: attach the workspace's SharePoint site to an existing hub site.
-
One required field, Hub site name, a drop-down of the hubs in your tenant.
-
The block can be added only once per template.
Remove/Add site menu item
Purpose: tidy the left-hand site menu: choose which default items stay, add your own links and set the order of the menu.
The block shows the menu as one list, in the order the site will show it. A new block starts with the six default SharePoint items: Home, Conversations, Documents, Notebook, Pages and Site contents.
|
Task |
How |
|---|---|
|
Add a link |
Select Add Menu item, fill in the name and the URL, and confirm with ✓ (or press Enter). Cancel with ✕ (or Esc). The new link is added at the end of the list. |
|
Edit a link |
Select the pencil on a link you added. The default items have no pencil. |
|
Remove an item |
Select ✕ on its row. |
|
Change the order |
Drag the handle at the start of a row, or select the handle and press Alt + ↑ or Alt + ↓. |
|
Start again |
Select Reset to default, then Reset in the confirmation. All changes in this block are discarded and the six default items come back. |
|
Field |
Rules |
|---|---|
|
Add Menu item (name) |
Required. The field accepts up to 255 characters. |
|
Set menu item Url |
Required. The field accepts up to 2000 characters. Either an absolute address that starts with |
|
Open in a new tab |
Opens the link in a new browser tab. The row then shows a New tab tag. |
-
Use a path relative to the site. A path such as
/Policies/Forms/AllItems.aspxis added to the address of every new site, and the form repeats it under the field: "Deployed on each site as <site url>/Policies/Forms/AllItems.aspx" (Figure 18). -
Paths that start with
/sites/or/teams/are refused, in any letter case, because the same template is used for many sites. The form shows an error and the link is not added until you change it (Figure 19). -
An empty name is refused ("Enter a menu item name"), and so is an address that is neither an absolute
http(s)address nor a path starting with/("Enter an absolute http(s) URL, or a path starting with /"). -
Only one level is supported (no sub-items).
-
A default item that is not in the list is removed from the site. A default item that the site does not have, for example Conversations on a site created without a Microsoft 365 group, is skipped without an error. Other items of the site, such as libraries shown in the navigation and the Recycle bin, stay and appear after the items of the list.
-
The block can be added only once per template.
Adjust site settings, preferably specify parameter and value
Purpose: set site collection settings without needing a separate block for each one.
Add rows of Parameter and Value; all rows are applied together. Can be added only once per template.
|
Parameter |
Allowed values |
|---|---|
|
|
|
|
|
Pick people or groups to be Site Collection Administrators |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Whole number ≥ 0 |
|
|
|
Be careful with LockState. ReadOnly or NoAccess are the SharePoint lock states for a whole site collection. DefaultLinkPermission and AnonymousLinkExpirationInDays change how links can be shared.
7.4 Block for Site templates only
Assign PortalTalk SharePoint Permissions Role
Purpose: give the PortalTalk roles configured on a Category a SharePoint permission level on the new site.
-
Choose a Category.
-
In the Role and permission table, choose a Role (from that Category) and a Permission:
Full Control,Design,Edit,ContributeorRead. -
Select Add new role for another row.
-
Changing the Category clears the rows.
-
Can be added only once; add several rows for several roles.
8. Connect the template to a workspace type
A template does nothing until it is connected to a Category and Workspace Type. Again, only MS Teams and SharePoint Site Collections are supported to execute PTPB templates. Created templates are not bind to a specific Category\Workspace Type. A configured template can be used on several Categories and Workspace Types.
How to configure a template to a Category\Workspace Type
-
Open Configuration → Categories, edit the Category and go to the Manage Workspace Types step.
-
Select Add New Workspace Type (or edit an existing type) and enter a Workspace type name.
-
Under Workspace Provisioning, select PTPB. In a Site Category this section is called SharePoint connected team site Provisioning.
-
Choose your template in the PTPB templates drop-down. It lists only templates whose Category Type matches the Category.
-
Save the workspace type, then finish the Category wizard. The template is connected only once you select Finish at the last step.
From then on, every new workspace of that workspace type runs the template after it is created. This applies to workspaces created directly and to workspaces created through request and approve.
Good to know
-
PTPB works with Microsoft Team Categories, with Microsoft Team - Controlled Members Categories and with Teamsite (Site collection) Categories. Teamsite (Sub site) is not supported for PTPB templates
-
The existing provisioning options Azure Function and PnP Provision Template only, are still supported
-
Template not in the drop-down? Check that its Category Type (Team or Site) matches the Category, and that you selected Save in the Blocks Build Editor when you created it.