MSDeploy.exe can connect as Administrator, but not any other Windows account

后端 未结 6 1823
情话喂你
情话喂你 2021-02-02 15:37

I\'m integrating MSDeploy into my build process, and having problems authenticating. The following command works fine:

msdeploy -verb:sync -source:appHostConfig         


        
6条回答
  •  庸人自扰
    2021-02-02 16:40

    As alluded to above, make sure that you are connecting over HTTPS. If you are attempting to connect as Admin, but not using SSL, you get the following error:

    Error Code: ERROR_USER_NOT_ADMIN

    More Information: Connected to 'host' using the Web Deployment Agent Service, but could not authorize. Make sure you are an administrator on 'host'.

    (Where 'host' is your server name)

提交回复
热议问题