Forum Discussion
create a Modern team site without office 365 group and make externally shareable using c# csom code.
Hi,
Is there a PnP library which i can use in my console application to create a Modern Team Site without an Office 365 group .
Also can we apply -SharingCapability using c# api code to the site collection.
Actually i am attempting to create a Modern team site without office 365 group and make externally shareable with external users using c# csom code.
Thanks
2 Replies
- Thomas BermanIron Contributor
Hi there,
You can create a site using PnP Core and pass in the site template STS#3 for a modern team site without an Office 365 group.
- FromelardIron Contributor
The modern site you are talking about in that case is the look and style of the modern page and modern libraries.
That does not require the Office Group capability, you can directly create the standard Teamsite (classical mode) and create a modern page into the sitepage library and set it as default page.
That is possible via CSOM code:
Fab