{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/Partner-Smart-Office/issues/6","repository_url":"https://api.github.com/repos/Microsoft/Partner-Smart-Office","labels_url":"https://api.github.com/repos/Microsoft/Partner-Smart-Office/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/Partner-Smart-Office/issues/6/comments","events_url":"https://api.github.com/repos/Microsoft/Partner-Smart-Office/issues/6/events","html_url":"https://github.com/Microsoft/Partner-Smart-Office/issues/6","id":320096075,"node_id":"MDU6SXNzdWUzMjAwOTYwNzU=","number":6,"title":"deployment always failing on App Service Plan provisioning","user":{"login":"ManuInNZ","id":7937408,"node_id":"MDQ6VXNlcjc5Mzc0MDg=","avatar_url":"https://avatars0.githubusercontent.com/u/7937408?v=4","gravatar_id":"","url":"https://api.github.com/users/ManuInNZ","html_url":"https://github.com/ManuInNZ","followers_url":"https://api.github.com/users/ManuInNZ/followers","following_url":"https://api.github.com/users/ManuInNZ/following{/other_user}","gists_url":"https://api.github.com/users/ManuInNZ/gists{/gist_id}","starred_url":"https://api.github.com/users/ManuInNZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManuInNZ/subscriptions","organizations_url":"https://api.github.com/users/ManuInNZ/orgs","repos_url":"https://api.github.com/users/ManuInNZ/repos","events_url":"https://api.github.com/users/ManuInNZ/events{/privacy}","received_events_url":"https://api.github.com/users/ManuInNZ/received_events","type":"User","site_admin":false},"labels":[{"id":839600604,"node_id":"MDU6TGFiZWw4Mzk2MDA2MDQ=","url":"https://api.github.com/repos/Microsoft/Partner-Smart-Office/labels/bug","name":"bug","color":"d73a4a","default":true},{"id":839600606,"node_id":"MDU6TGFiZWw4Mzk2MDA2MDY=","url":"https://api.github.com/repos/Microsoft/Partner-Smart-Office/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"state":"closed","locked":false,"assignee":{"login":"isaiahwilliams","id":21131485,"node_id":"MDQ6VXNlcjIxMTMxNDg1","avatar_url":"https://avatars0.githubusercontent.com/u/21131485?v=4","gravatar_id":"","url":"https://api.github.com/users/isaiahwilliams","html_url":"https://github.com/isaiahwilliams","followers_url":"https://api.github.com/users/isaiahwilliams/followers","following_url":"https://api.github.com/users/isaiahwilliams/following{/other_user}","gists_url":"https://api.github.com/users/isaiahwilliams/gists{/gist_id}","starred_url":"https://api.github.com/users/isaiahwilliams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isaiahwilliams/subscriptions","organizations_url":"https://api.github.com/users/isaiahwilliams/orgs","repos_url":"https://api.github.com/users/isaiahwilliams/repos","events_url":"https://api.github.com/users/isaiahwilliams/events{/privacy}","received_events_url":"https://api.github.com/users/isaiahwilliams/received_events","type":"User","site_admin":false},"assignees":[{"login":"isaiahwilliams","id":21131485,"node_id":"MDQ6VXNlcjIxMTMxNDg1","avatar_url":"https://avatars0.githubusercontent.com/u/21131485?v=4","gravatar_id":"","url":"https://api.github.com/users/isaiahwilliams","html_url":"https://github.com/isaiahwilliams","followers_url":"https://api.github.com/users/isaiahwilliams/followers","following_url":"https://api.github.com/users/isaiahwilliams/following{/other_user}","gists_url":"https://api.github.com/users/isaiahwilliams/gists{/gist_id}","starred_url":"https://api.github.com/users/isaiahwilliams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isaiahwilliams/subscriptions","organizations_url":"https://api.github.com/users/isaiahwilliams/orgs","repos_url":"https://api.github.com/users/isaiahwilliams/repos","events_url":"https://api.github.com/users/isaiahwilliams/events{/privacy}","received_events_url":"https://api.github.com/users/isaiahwilliams/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-05-03T22:04:06Z","updated_at":"2018-06-05T04:53:08Z","closed_at":"2018-06-05T04:53:07Z","author_association":"NONE","body":"### Expected behavior\r\nsuccessful deployment of the ARM template\r\n\r\n### Actual behavior\r\ntimeout and failure of the actual deployment.\r\n\r\n\r\n### Steps to reproduce the problem\r\nUsed the azuredeploy.json either with the DeployTo Azure button of loading it as custom template\r\nFailure is due to the App name I used (\"Partner Smart Office\") not being a valid App Service Plan name.\r\n\r\nI would recommend to sanitize the name in the template or just reuse the ```uniquestring(resourceGroup().id)``` like for the other custom resources (assuming there is no issue of starting with a digit eventually).\r\n\r\nSimilar issue faced with the KeyVault, creating separate issue\r\n\r\n\r\n\r\n\r\nResource | Type | status\r\n------------ | -------------|----------------\r\nPartner Smart Office | Microsoft.Web/serverfarms | 429\r\n\r\n\r\nFailing step status message\r\n```\r\n  \"Code\": \"Conflict\",\r\n  \"Message\": \"Cannot modify this web hosting plan because another operation is in progress. Details: Id: 227a93b8-b94b-49dc-993c-99f9d3f39c7d, OperationName: Create, CreatedTime: 5/3/2018 9:37:14 PM, RequestId: 21302aa0-ccbd-44cc-b9e4-270c3fb58587, EntityType: 9\",\r\n  \"Target\": null,\r\n  \"Details\": [\r\n    {\r\n      \"Message\": \"Cannot modify this web hosting plan because another operation is in progress. Details: Id: 227a93b8-b94b-49dc-993c-99f9d3f39c7d, OperationName: Create, CreatedTime: 5/3/2018 9:37:14 PM, RequestId: 21302aa0-ccbd-44cc-b9e4-270c3fb58587, EntityType: 9\"\r\n    },\r\n    {\r\n      \"Code\": \"Conflict\"\r\n    },\r\n    {\r\n      \"ErrorEntity\": {\r\n        \"ExtendedCode\": \"59205\",\r\n        \"MessageTemplate\": \"Cannot modify this web hosting plan because another operation is in progress. Details: {0}\",\r\n        \"Parameters\": [\r\n          \"Id: 227a93b8-b94b-49dc-993c-99f9d3f39c7d, OperationName: Create, CreatedTime: 5/3/2018 9:37:14 PM, RequestId: 21302aa0-ccbd-44cc-b9e4-270c3fb58587, EntityType: 9\"\r\n        ],\r\n        \"Code\": \"Conflict\",\r\n        \"Message\": \"Cannot modify this web hosting plan because another operation is in progress. Details: Id: 227a93b8-b94b-49dc-993c-99f9d3f39c7d, OperationName: Create, CreatedTime: 5/3/2018 9:37:14 PM, RequestId: 21302aa0-ccbd-44cc-b9e4-270c3fb58587, EntityType: 9\"\r\n      }\r\n    }\r\n  ],\r\n  \"Innererror\": null\r\n```\r\n\r\n"}}
{"actor":{"display_login":"isaiahwilliams"}}