Exception Message: CSOM Service Exception [Using Powershell scripts to generate Sharepoint sites and apply templates]
I’ve written a Powershell script that can create X amount of Sharepoint sites and apply a template to them (a .pnp file). A majority of the time, it’ll run fine; however, occasionally, I will get ‘CSOM Service Exception’. It is always on different parts of the template application too – i.e. there is no noticeable pattern to it. It’ll just randomly occur.