The service template contains both Apache and IIS webspace types. How to change webspace hosting type from Apache to IIS or vice versa?
It is not possible to change webspace hosting type from Apache to IIS (from Linux to Windows) in Plesk Automation. You have to recreate webspace in order to archive the goal.
The implementation of the mentioned functionality is currently being developed in the scope of the feature request #PPA-1835.
However, it is possible to change a webspace type on a single-webspace subscription. Note that this operation will destroy the website content so the backup of the website should be created before changing webspace type. The solution is described in the following article: KB126307