-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Your deployment failed Deployment name:TemplateDeployment #3
Comments
Hi Felipe, can you try running it again? Seems like the random name generated for the app already existed. Delete the resource group and rerun. Let me know how it goes. |
Hi David, many thanks for your reply! I've deleted "Pentest-rg" resource group and I rerun the script, but the problem is still the same. I'm also attaching the deployment result: I have 4 resource groups in my tenant at the moment: Does it matter which country I'm in? I'm in the North Europe region. Thank you for your help! |
Hi David, sorry for the hassle but do you have any clue? Just impacting my way through the book. Thank you. |
It seems that the script does not create a random name. I have the same failure with the same message failed to create 'webap-n77iodknbqbau' It looks like a bug - all the other resources are created with uniqueString(resourceGroup().id))]" whereas the webapp is created with uniqueString(resourceGroup().name))]" |
Hi @swattor , I got it sorted following the steps below:
Unfortunately, I had little support from the authors on this problem. Hope this works for you too. |
I've corrected the "webap" line in the template file. Sorry for the delays in addressing this. My notifications got turned off for issues on the repo. I've tested this in my own environment and it appears to be running correctly now. |
Hi,
When I run > Invoke-WebRequest http://bit.ly/reader-scenarios -O reader-scenario.ps1 (Page 187) I'm getting "Deployment failed. Click here for details"
Error details:
{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"message":"Website with given name webap-n77iodknbqbau already exists."}]}
Status: Conflict
{
"status": "Failed",
"error": {
"code": "Conflict",
"message": "Website with given name webap-n77iodknbqbau already exists.",
"details": [
{
"message": "Website with given name webap-n77iodknbqbau already exists."
},
{
"code": "Conflict"
},
{}
]
}
}
The text was updated successfully, but these errors were encountered: