Apr 26, 2015 at 10:08 PM
Hi, Thanks for the time in making this.

I have hit a problem with Set-SPOWebTemplate and the -web will not bind as a system string. I have the module loaded as well.

The error I get is
Set-SPOWebTemplate : Cannot bind parameter 'Web'. Cannot convert the "" value of type "System.String" 
to type "Microsoft.SharePoint.Client.Web".
At C:\Users\Joe\Desktop\O365\SPBuild.ps1:43 char:25
+ ... mplate -Web -T ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Set-SPOWebTemplate], ParameterBindingException
    + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,SharePointOnlineCmdlets.SetSPOWebTemplate
My code is
Set-SPOWebTemplate -Web -TemplateId template2.wsp
Any hints in trying to fix this problem ?