M365 – SharePoint Online – Setting custom site creation form – How it works

Hi All,

Greetings for the day 🙂 LIFE IS BEAUTIFUL 🙂

Today new discussion regarding allowing users to create the SharePoint site (Modern Team site / Communication site / Team site without group) from custom form either created as SPFX component or PowerApps form.

Background / Use case : One of our customer wants to set some metadata while users creating new site. Also want to prefix country code based on the country selected from the form. Here note, country is not the user profile property. User need to select for which country he/she is creating the site.

OOB there is no way to set the metadata and which will be input from the end user. So we have only option to have the custom site creation form.

One more requirement from customer is to change the link or to redirect the user when he/she clicks on “+ Create site” from SharePoint home page.

M365 - SharePoint Online - SharePoint home page - customer wants to change the "+ Create site" link
FIg1: M365 – SharePoint Online – SharePoint home page – customer wants to change the “+ Create site” link

Options: We have two options there either to create PowerApps form or SPFX component. We went for SPFX component with SPFX version 1.10 so that later we can add it to Team client as well.

Details:

We could specify the custom form URL for site creation from the tenant setting page as https://<SharePoint Admin Site URL>/_layouts/15/online/TenantSettings.aspx

SharePoint Online - Tenant setting page - option for setting up custom form for Site Creation
FIg2: M365 – SharePoint Online – Tenant setting page – option for setting up custom form for Site Creation

But when we set this setting, its bit tricky, when we click on “+ Create Site”, we get normal options as

M365 - SharePoint Online - OOB option appears when user click on "+ Create site"
FIg3: M365 – SharePoint Online – OOB option appears when user click on “+ Create site”

And when we select site type then on next bar there is link appears “See other options” as

M365 - SharePoint Online - "See other options" link appears when we set the custom form for creating site from tenant setting page
FIg4: M365 – SharePoint Online – “See other options” link appears when we set the custom form for creating site from tenant setting page

When we click on “See other options ” link, we will get redirected to our custom form.

Here, one challenge is we need to educate the users to use our custom form.

I am still looking for the option if we can directly redirect to our custom form rather in two step process and clicking on “See other options” link

Thanks for reading 🙂 Please feel free to comment / suggestions / thoughts if you any for this kind of requirement.

Prasham Sabadra

LIFE IS VERY BEAUTIFUL. ENJOY THE WHOLE JOURNEY :) Founder of Microsoft 365 Junction, Speaker, Author, Learner, Developer, Passionate Techie. Certified Professional Workshop Facilitator / Public Speaker. Believe in knowledge sharing. Around 20+ years of total IT experience and 17+ years of experience in SharePoint and Microsoft 365 services Please feel free me to contact for any SharePoint / Microsoft 365 queries. I am also very much interested in behavioral (life changing) sessions like motivational speeches, Success, Goal Setting, About Life, How to live Life etc. My book - Microsoft 365 Power Shell hand book for Administrators and Beginners and 100 Power Shell Interview Questions - https://www.amazon.in/Microsoft-Administrators-Beginners-Interview-Questions/dp/9394901639/ref=tmm_pap_swatch_0?_encoding=UTF8&qid=1679029081&sr=8-11

You may also like...

3 Responses

  1. Kev Houston says:

    Hi Prasham,

    Is there an approach where the ‘create site’ link can be directly updated. For example to direct users to a Power App form, rather than the default Teamsite/Communication site screen? We don’t feel the ‘See Other Options’ will be sufficient to users clicking next/next and resulting in a membership associated Teamsite.

Leave a Reply to Prasham SabadraCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from Microsoft 365

Subscribe now to keep reading and get access to the full archive.

Continue reading