Is there any possible to enable SITE POLICY feature by using CSOM

Copper Contributor

Hi there,

Is there any possible to enable SITE POLICY (Site Closure) feature in each personal site by using CSOM when a personal site was created and setup some configuration such as when to delete the site?

thanks

2 Replies

@WEISH1195 yes, create the site policy via the content type hub and then you can apply / add it via CSOM on sites. 

@Jens Neumann thanks for your information?? I cannot understand what you mean. would you mind elaborating it or other steps for me for reference to.

 

Thanks