1

So I am using a JSON template for sharepoint online, is it possible to disable check in/out on all document libraries via the pre-built template? Or would I have script this some other way?

1 Answer 1

1

Site Designs do not currently support enabling or disabling check in/out on lists/document libraries. List creation is fairly limited in terms of settings and is mostly intended to create lists with columns with a few other fancy items like formatting.

Similar to your previous question, I recommend doing this with PnP PowerShell. You could always call that PowerShell in an Azure Function using Site Design but there are added complications and potential costs going that route.

Here is the PnP PowerShell command to disable check in/out on a library. Doing this for all lists/libraries should be relatively straightforward by using the Get-PnPList and using a foreach on the results.

Set-PnPList -Identity "My Library" -ForceCheckout $false
1
  • Hey do you or anyone know know have a tutorial on calling the azure functions? I am running into issues with the Microsoft one.
    – hittle08
    Aug 14, 2020 at 14:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.