Do-it-yourself PowerShell deployment fails right at the start #795
-
Beta Was this translation helpful? Give feedback.
Answered by
jtracey93
Sep 8, 2021
Replies: 1 comment 4 replies
-
Looks like you are missing a backtick on the first and second lines? Try: New-AzManagementGroupDeployment -Name $DeploymentName -ManagementGroupId $TenantRootGroupId `
-Location $Location -TemplateFile .\eslzArm\managementGroupTemplates\mgmtGroupStructure\mgmtGroups.json `
-topLevelManagementGroupPrefix $ESLZPrefix `
-Verbose Could you also try updating the Az PowerShell module to the latest and then re-launch the PowerShell session. The command to update is: Update-Module -Name 'Az' -Force |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
jtracey93
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looks like you are missing a backtick on the first and second lines?
Try:
Could you also try updating the Az PowerShell module to the latest and then re-launch the PowerShell session. The command to update is: