SharePoint Online - Create a site collection
Use the SharePoint Online - Create a site collection action A tool for building the processes, logic, and direction within workflows. to create a site collection in a specified SharePoint Online admin tenant URL.
For example, you can use this action to automate creation of site collections as part of a project registration process. The relevant teams may request site collections when they receive funding for new projects.
For more information about the SharePoint Online connector, go to SharePoint Online.
Configure the SharePoint Online - Create a site collection action
Important: Before inserting variables in the action configuration, you must manually type or select the values and populate other dependent fields in order to retrieve the output data. Once configured, you can insert variables to the required fields.
-
Add the action to the workflow and open the action configuration panel. For more information, see Add an action to the workflow.
- Select a SharePoint Online Connection.
If you do not have a connection, see Add a connection.
Note: Only the connections created with the Site Collection Administration authentication method are available in the drop-down. For more information about authentication methods for SharePoint Online connections, see Authentication methods for SharePoint Online connections.
- Type a Home page title for the collection site.
- Select the URL path prefix.
Example: https://tenant.sharepoint.com/sites/ or https://tenant.sharepoint.com/teams/
- Type the URL path site collection name. The URL name will be appended to the URL path.
URL path prefix: https://tenant.sharepoint.com/sites/
URL path site collection name: MySiteCollection
Site collection URL will be: https://tenant.sharepoint.com/sites/MySiteCollection
- Select the Language for the site collection.
- Select a Template.
- Select a Time zone.
- For Administrator email address, type the email address of the user account for the primary site collection administrator.
- For Storage quota in gigabytes, specify the number of gigabytes (GB) you want to allocate to this site collection.
-
For Server resource quota, specify the amount of resources you want to allocate to the site collection.
SharePoint Online - Create a site collection action fields and settings
Important: Before inserting variables in the action configuration, you must manually type or select the values and populate other dependent fields in order to retrieve the output data. Once configured, you can insert variables to the required fields.
Section | Field | Description | Variable types |
---|---|---|---|
(unlabeled) |
The SharePoint Online connection to access the SharePoint tenant to create a site collection. To refresh the available connections , click . |
(n/a) | |
New site collection | Home page title | The site collection title to be displayed on the home page. | Boolean, Collection, DateTime, Decimal, Integer, Text |
URL path prefix |
The selection type of the tenant URL under which you want the new site collection to be created. The following types are displayed:
Example
|
(n/a) |
|
URL path site collection name | The URL name is appended to the URL path. Example URL path prefix: /sites/ URL path site collection name: mysitecollection Site collection URL will be: https://tenant.sharepoint.com/sites/mysitecollection |
Boolean, Collection, DateTime, Decimal, Integer, Text | |
Options | Language | The primary language for the new site collection. |
Boolean, Collection, DateTime, Decimal, Integer, Text |
Template | The template that describes the purpose of your site collection. |
Boolean, Collection, DateTime, Decimal, Integer, Text |
|
Time zone | The time zone that is appropriate for the location of the site collection. | Boolean, Collection, DateTime, Decimal, Integer, Text | |
Administrator email address | Email address of a user account for the primary site collection administrator. | Boolean, Collection, DateTime, Decimal, Integer, Text | |
Storage quota in gigabytes | The number of gigabytes (GB) you want to allocate to this site collection. You must enter a minimum value of 1. | Integer | |
Server resource quota | The amount of resources you want to allocate to the site collection. | Integer | |
Output | Result |
Stores the result of the action as an object with the following variable:
|
Object |