SPFX Provisioning

Sabari S 1 Reputation point
2021-03-23T18:13:35.84+00:00

We are provisioning Site collection using PnP provisioning template by getting xml and Applying it. Can we do the same using SPFX using JSOM or CSOM or Powershell but using spfx?

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,706 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MichaelHan-MSFT 18,016 Reputation points
    2021-03-24T06:50:04.14+00:00

    Hi @Sabari S ,

    No, there is no such way to do the same thing using spfx.

    Currently, we could only achieve this by using PowerShell or CSOM code. Read this aricle for more: https://learn.microsoft.com/en-us/sharepoint/dev/solution-guidance/introducing-the-pnp-provisioning-engine


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments