title: denyandaddcustomizedpages - modify the property using csom for modern team site
body: <p>Currently we are using modern team site and trying to add the add the object on the modern team site in SharePoint online</p>
  
  <p>However we observed that we get Access denied error</p>
  
  <p>We tried by setting the site property denyandaddcustomizedpages to false from powershell and it is working fine </p>
  
  <p>However we are not able to get the code which can help us achieve the same using csom client side object model SharePoint online c#</p>
  
  <p>Few articles mention try using pnp nugget but no code was able to find for the same</p>