tag:help.appveyor.com,2012-11-13:/discussions/questions/2425-web-deploy-to-azure-with-entity-frameworkAppVeyor: Discussion 2018-08-25T02:07:02Ztag:help.appveyor.com,2012-11-13:Comment/401691722016-06-22T14:53:55Z2016-06-22T14:53:55ZWeb deploy to Azure with entity framework<div><p>Hi Kenneth,</p>
<p>Is there any reason you can't run the same script on AppVeyor!
Are you getting any errors?</p>
<p>-Feodor Fitsner, AppVeyor</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/401691722016-06-23T07:56:31Z2016-06-23T07:56:31ZWeb deploy to Azure with entity framework<div><p>Hi Feodor,</p>
<p>I want the script to run after deployment. The only place I have
found to place the script via web deploy is under web deploy -->
Settings --> General --> Pre and Post-sync commands.<br>
The problem is that azure doesn’t allow me to run the
batchfile. It gives me:<br>
“Could not complete an operation with the specified provider
("runCommand") when connecting using the Web Management Service.
This can occur if the server administrator has not authorized the
user for this operation. runCommand <a href="http://go.microsoft.com/fwlink/?LinkId=178034">http://go.microsoft.com/fwlink/?LinkId=178034</a>
Learn more at: <a href="http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_USER_NOT_AUTHORIZED_FOR_DEPLOYMENTPROVIDER.%C2%BB">
http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_USER_NOT_AUTHOR...</a></p>
<p>Is there another place where I could place the script?</p>
<p>Med vennlig hilsen/Best regards from<br>
Kenneth Ådalen</p>
<p>Fra: Feodor Fitsner [mailto:<a href="mailto:tender2+d2c64eea14@tenderapp.com">tender2+d2c64eea14@tenderapp.com</a>]<br>
Sendt: 22. juni 2016 16:54<br>
Til: Kenneth Ådalen <a href="mailto:kenneth@ebs.no">kenneth@ebs.no</a><br>
Emne: Re: Web deploy to Azure with entity framework [Questions
#2425]</p></div>kennethtag:help.appveyor.com,2012-11-13:Comment/401691722016-06-23T17:40:47Z2016-06-23T17:40:47ZWeb deploy to Azure with entity framework<div><p>I think you could update the database from AppVeyor build worker
by accessing it remotely. Make sure Azure SQL firewall is updated
to allow AppVeyor IPs: <a href="http://www.appveyor.com/docs/build-configuration#ip-addresses">http://www.appveyor.com/docs/build-configuration#ip-addresses</a></p></div>Feodor Fitsner