Azure staging web deploy fails with ERROR_USER_NOT_AUTHORIZED_FOR_CREATEAPP but not for production

后端 未结 2 367
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-18 04:03

I\'m trying automated web site deployment in Azure and I\'m at the phase were I run web deploy commands. The command for production works fine and updates the content but th

2条回答
  •  青春惊慌失措
    2021-01-18 04:40

    Azure expecting that site name will be presented twice - in scm.azurewebsites.net:443/msdeploy.axd?site=%SiteNameHere%" and the same value as a parameter, by default value from file SetParameters.xml is used for second.

    You may modify this file or pass parameter to msdeploy directly:

    -setParam:name="IIS Web Application Name",value="%SiteNameHere%"

提交回复
热议问题