How to add a new "Modern UI" page to team site using CSOM?

Occasional Visitor

I am provisioning the team site in the traditional way with Moden UI feature enabled, but the home page is still the traditional home page, how could I add a new 'Site page' and set as default page in code?

0 Replies