Getting This command is implicitly deprecated because command group ‘group deployment’ is deprecated and will be removed in a future release. Use ‘deployment group’ instead, How to Fix?

Published on:

Recently i came across an issue while deploying the release in azure, I am using azure CLI for creating, update, delete, deallocate, etc.

This issue is all over the place with people complaining of a deprecation warning coming up under “az group deployment *” and in fact, they have indeed added a synonym under “az deployment group *”. As far as I can tell on the latest version of the Az CLI is (2.10.1).

however, the correct fix or I can say the correct way of using this command would be if you are using the latest version of Azure CLI which I think you will be.

az deployment group create -g ${RGNAME} --template-file $(System.DefaultWorkingDirectory)

So that’s it change the “az group deployment” to “az deployment group” and voila it will work.

Thanks for understanding if you still have any issue do comment below.

You can also join our techweu community program to share your knowledge with the world from here.

Related

Leave a Reply

Please enter your comment!
Please enter your name here

TechWeu
TechWeu
TechWeu is an independent publication dedicated to the world’s most widely used category .we are here to influence & an aware audience who are technology enthusiasts, industry professionals, and savvy millennials. Our community is a different alliance of master authors, gadget analysts, videographers, columnists, and Android designers who have met up and work as a community with an aim of versatile innovation and the determination to convey quality content.