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?

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.

Meezan Khan
Meezan Khan is passionate about Technology, Gadgets & Games. He loves sharing knowledge for Techweu readers and has frequently written about gadgets, technology, the Internet, & smartphones. Meezan is Editor-in-Chief for Techweu Community, He is available on Twitter at @meezankhan9 or Email at meezan.khan@techweu.com Please send in your leads and tips.

Leave a reply

Please enter your comment!
Please enter your name here

Latest articles

Related articles

Hola!

Want to be a Tech-Savvy? Sign-Up & Flaunt yourself within your Friends...