Azure / Enterprise-Scale

The Azure Landing Zones (Enterprise-Scale) architecture provides prescriptive guidance coupled with Azure best practices, and it follows design principles across the critical design areas for organizations to define their Azure architecture
https://aka.ms/alz
MIT License
1.69k stars 959 forks source link

Azure Landing Zone template doesn't work properly #1617

Closed arantza-gft closed 4 months ago

arantza-gft commented 5 months ago

Describe the bug The "Azure Landing Zone" template of the Azure portal does not work correctly. I follow the wizard steps and when I get to the validation point, it fails. These are the errors: template

{"code":"MultipleErrorsOccurred","details":[{"code":"InvalidTemplate","target":"/providers/Microsoft.Resources/deployments/alz-Mgs-westeurope-7ef11e7f-7f13-5de0-b95f-1b87472dc98f","message":"Deployment template parse failed: 'Unexpected character encountered while parsing value: <. Path '', line 0, position 0.'."},{"code":"InvalidTemplate","target":"/providers/Microsoft.Resources/deployments/alz-MgmtSub-westeurope-7ef11e7f-7f13-5de0-b95f-1b87472dc98f","message":"Deployment template parse failed: 'Unexpected character encountered while parsing value: <. Path '', line 0, position 0.'."},{"code":"InvalidTemplate","target":"/providers/Microsoft.Resources/deployments/alz-ConnectivitySub-westeurope-7ef11e7f-7f13-5de0-b95f-1b87472dc","message":"Deployment template parse failed: 'Unexpected character encountered while parsing value: <. Path '', line 0, position 0.'."},{"code":"InvalidTemplate","target":"/providers/Microsoft.Resources/deployments/alz-IdentitySub-westeurope-7ef11e7f-7f13-5de0-b95f-1b87472dc98f","message":"Deployment template parse failed: 'Unexpected character encountered while parsing value: <. Path '', line 0, position 0.'."},{"code":"InvalidTemplate","target":"/providers/Microsoft.Resources/deployments/alz-LAPolicy-westeurope-7ef11e7f-7f13-5de0-b95f-1b87472dc98f","message":"Deployment template parse failed: 'Unexpected character encountered while parsing value: <. Path '', line 0, position 0.'."},{"code":"InvalidTemplate","target":"/providers/Microsoft.Resources/deployments/alz-ASB-westeurope-7ef11e7f-7f13-5de0-b95f-1b87472dc98f","message":"Deployment template parse failed: 'Unexpected character encountered while parsing value: <. Path '', line 0, position 0.'."},{"code":"InvalidTemplate","target":"/providers/Microsoft.Resources/deployments/alz-ResourceDiagnostics-westeurope-7ef11e7f-7f13-5de0-b95f-1b874","message":"Deployment template parse failed: 'Unexpected character encountered while parsing value: <. Path '', line 0, position 0.'."},{"code":"InvalidTemplate","target":"/providers/Microsoft.Resources/deployments/alz-ActivityDiagnostics-westeurope-7ef11e7f-7f13-5de0-b95f-1b874","message":"Deployment template parse failed: 'Unexpected character encountered while parsing value: <. Path '', line 0, position 0.'."},{"code":"InvalidTemplate","target":"/providers/Microsoft.Resources/deployments/alz-CostOptimization-westeurope-7ef11e7f-7f13-5de0-b95f-1b87472d","message":"Deployment template parse failed: 'Unexpected character encountered while parsing value: <. Path '', line 0, position 0.'."},{"code":"InvalidTemplate","target":"/providers/Microsoft.Resources/deployments/alz-ZoneResilient-westeurope-7ef11e7f-7f13-5de0-b95f-1b87472dc98","message":"Deployment template parse failed: 'Unexpected character encountered while parsing value: <. Path '', line 0, position 0.'."}],"message":"Multiple error occurred: BadRequest,BadRequest,BadRequest,BadRequest,BadRequest,BadRequest,BadRequest,BadRequest,BadRequest,BadRequest. Please see details."} Steps to reproduce

  1. Login to the azure portal with a user with elevated global permissions and with permissions on / (root management groups).

  2. Type in the general search box "arm" and select the option "deploy a custom template". step1

  3. select the options "azure landing zone" and "Quickstart template"and click on next. template

  4. fill in all the fields until the end and click on "review and create" button, at this point is where it fails and the errors mentioned above appear validationFinalErrors

Springstone commented 5 months ago

Hi @arantza-gft, thank you for reporting this issue. I have confirmed that I also get the same error, and am busy investigating the issue.

Springstone commented 5 months ago

It seems there is an issue with this link:

image

We'll work on getting this updated asap.

In the meantime, you can use this link to successfully deploy the template:

Deploy To Azure

arantza-gft commented 5 months ago

Hi Sacha Thanks for your email.

I will look for your response.

Have a nice day Best regards

arantza-gft commented 5 months ago

Hi Sacha Thank you so much for your help. The link work properly 😊

Best regards

djtech2k-MS commented 5 months ago

I am seeing the same issue. When going through the portal to the "Deploy Custom Template > Landing Zone" section, the ESLZ template fails and the params are different that the Deploy link from above. Using that Deploy link works fine.

Springstone commented 4 months ago

@djtech2k-MS Please use the link above to deploy for now. We are working with PG to address the link issues as reported.

Springstone commented 4 months ago

This has now been resolved.