Azure staging web deploy fails with ERROR_USER_NOT_AUTHORIZED_FOR_CREATEAPP but not for production

后端 未结 2 370
爱一瞬间的悲伤
爱一瞬间的悲伤 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:31

    I managed to find where the problem was ...

    In a settings file created by msdeploy.exe I was using the wrong site name. Sadly the documentation was popping up an error that had nothing to do with the wrong site name but only saying that it can't create that site because of the rights. Which somehow, in a twisted Microsoft like way, makes sense.

提交回复
热议问题