0

The result of dotnet run Azure is the error "Website with given name SAFE already exists." I changed all strings in farmer-deploy.json containing "SAFE" to "SAFExyz" and saved my changes. I then rebuilt and then ran dotnet run Azure again. This resulted in exactly the same error message and the changes I made to farmer-deploy.json were reverted.

LearnerX
  • 137
  • 2
  • 8

1 Answers1

0

The name of the application in Azure App Services is required to be globally unique. Presumably, someone else has already created a webapp with the name 'SAFE' or 'SAFExyz'. Try making the name more unique such as adding a unique prefix and publish again.

See: Azure Web Deployment Fails - Website with given name already exists

Yongjian P.
  • 241
  • 1
  • 6
  • My misunderstanding was related to what exactly "globally unique" means. I erroneously thought it meant globally unique per Azure subscription. – LearnerX Sep 19 '22 at 21:31