I just wrote a long Pnp-based Powershell script that creates a templated site. It works great except for my most important workflow, which does not. My other workflow which runs first on the same list works fine, but the one that creates a subsite does not. It completes, but throws an InternalServerError:
Completed call to Add Site with response code: InternalServerError
UPDATE The error I'm getting is in the final web service call. When I go to the URL I get this:
The HTTP method 'GET' cannot be used to access the resource 'Add'. The operation type of the resource is specified as 'Default'. Please use correct HTTP method to invoke the resource.
I'm not sure where I can find out more info. Thank you.