MSDeployAllTheThings
MSDeployAllTheThings copied to clipboard
Doesn't recognise site name parameter
I have this...
C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" -verb:sync -source:package='D:\a\1\a\package.zip' -dest:auto,computerName='https://myserver:8172/msdeploy.axd',userName='***',password='***',authType='ntlm',includeAcls='False' -allowUntrusted -verbose -setParam:name='IIS Web Application Name',value='sitename'
And it says...
##[error]System.Management.Automation.RemoteException: Error: Source does not support parameter called 'IIS Web Application Name'. Must be one of ().
I removed -setParam:name='IIS Web Application Name',value='sitename'
and set the "Destination Provider" field to contentPath='sitename'
FYI you can specify site name in the Destination Computer field:
https://<siteaddress>:8172/MSDeploy.axd?site=<sitename>
The fix @AndAShape shared (Dest provder w/ content path) worked for me.