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?

This command is implicitly deprecated because command group group deployment is deprecated and will be removed in a future -tehcweu
- Advertisement -

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).

-Advertisement-

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.

- Advertisement -

Leave a reply

Please enter your comment!
Please enter your name here