Forum Discussion
arran1580
Jun 08, 2020Copper Contributor
Azure Lighthouse deprecated code
Hi all, I'm trying to onboard a tenancy utilising ARM templates using the cli Azure cli. Additionally, I have tried using the PowerShell with cli plugin also but receiving deprecated errors. When u...
-Akos-
Jun 11, 2020Brass Contributor
arran1580 I only use PowerShell via an Automation Account (I redeploy daily, so I can make changes in one location and the new Lighthouse config gets distributed to 200+ subscriptions), and this comes in my warnings screen as well:
6/11/2020, 3:07:08 AM | Warning | Breaking changes in the cmdlet 'New-AzDeployment' : |
6/11/2020, 3:07:08 AM | Warning | - The cmdlet 'New-AzSubscriptionDeployment' is replacing this cmdlet. |
So could you try your ARM template using New-AzSubscriptionDeployment ?