WebDeploy publishing endpoint is changed in WAP-Websites [UR6]


Tenants and admins of WAP Websites V2U6 may notice that the WebDeploy protocol publish URL for new websites no longer points to the publisher location, but instead points to the GIT protocol publish URL.

More Information

Starting with V2U6 (April 2015), the Web Deploy publishing protocol was moved from the Publisher role to the Worker role for WAP Websites. The publishing profile for newer sites now points to the new Web Deploy location. However, the system still honors old profiles that point to the Web Deploy protocol on the publisher.

Example of the new V2U6 publishing profile:

<publishData><publishProfile profileName="Site1 - Web Deploy" publishMethod="MSDeploy" publishUrl="Site1.SCM.contosocloud.com:443" msdeploySite="Site1" userName="$Site1" userPWD="gFitDYc78QPFLE4jpvmYb2p2f78" destinationAppUrl="http://Site1.contosocloud.com"


Example of the old publishing profile:
<publishData><publishProfile profileName=" Site1 - Web Deploy" publishMethod="MSDeploy" publishUrl="publish.contosocloud.com" msdeploySite=" Site1" userName="$ Site1" userPWD="eoWWKLlLSNRgTsohsTwddBl" destinationAppUrl="http://Site1.contosocloud.com"


In V2U7 (July 2015), this change was refined slightly in response to customer concerns so that only new installations of WAP Websites will change the WebDeploy endpoint from the Publisher to the Worker. This will let existing systems continue to operate without a publishing change while the new method is pushed out to new WAP Website deployments.  

In V2U7, you can control the WebDeploy publishing configuration to use either the publisher or the web worker by using the following PowerShell cmdlets:
  • Import-Module WebSites

    //Set publishing to use web worker
    Set-WebSitesConfig -Type Global -UseWebDeployScm $true
  • Import-Module WebSites

    //Set publishing to use publisher
    Set-WebSitesConfig -Type Global -UseWebDeployScm $false


Article ID: 3080425 - Last Review: 03 Aug 2015 - Revision: 1