question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Publishing Azure Website fails

See original GitHub issue

When trying to deploy an Azure website, i am getting an exception that the site is already created and cannot be created again. This deploy process was working until October 23rd. Did anything change in the deploy script? I think it thinks the site doesn’t exist and tries to create it again.

2015-10-29T03:19:24.6803000Z Get-AzureWebSite -Name WaxonService -ErrorAction SilentlyContinue

2015-10-29T03:19:31.7421204Z New-AzureWebSite -Name WaxonService -Location South Central US

2015-10-29T03:19:34.9330598Z ##[error]Conflict: Website with given name WaxonService already exists.

2015-10-29T03:19:34.9350596Z Publish-AzureWebsiteProject -Name "WaxonService" -Package "C:\a\1\a\Waxon.Service.zip" 

2015-10-29T03:19:51.0621612Z Finishing task: AzureWebPowerShellDeployment

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:19 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
RoopeshNaircommented, Apr 21, 2016
0reactions
leelepcommented, Mar 6, 2019

I experienced the same issue using the new DevOps web site, and it was due to being logged in to DevOps with the wrong account. The DevOps site doesn’t seem to recognize the difference between work and personal accounts of the same email address. The Get-AzureWebSites PowerShell command does distinguish between the two. If you have multiple accounts and experience the described issue then double check that you are signed in to DevOps with an account that has permissions for the Azure web site.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Azure Web Deploy “Publish Failed” - Visual Studio Feedback
Go into the Azure Portal -> Function Apps -> Select your Function -> Open the "Platform features" Tab; Under "Code Depolyment" choose "Deployement...
Read more >
Azure Web Deploy "Publish Failed" - visual studio
Go into the Azure Portal -> Function Apps -> Select your Function -> Open the "Platform features" Tab · Under "Code Depolyment" choose...
Read more >
Azure Publish Failure from VS 2022 - Microsoft Q&A
Everything has been working perfectly fine, developing and publishing from VS 2019. Today, I opened up the solution in VS2022, NO Changes.
Read more >
Publish to Azure succeeds but Visual Studio says that it failed.
When the Publish page says the publish failed, there is no error in the error logs. This just happens for my web apps...
Read more >
Azure Web App - VS2019 Publish - Fails randomly
Currently I just deploy to each app service through Visual Studio 2019 Publish window.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found