I referred to the Office Dev PnP code on Github to create Site Collection in my O365 environment. This code uses CSOM to create site collections as a provider hosted app hosted on Azure platform. However, is it possible to create a SharePoint Hosted App to do the same job? I take the input like Site Name and URL from the user and create a site collection.

I referred to the Site Collection Creation code to create the site collections and the code works just fine.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.