In this Azure PowerShell article, we will discuss how to fix the error “The term ‘Get-AzContainerApp’ is not recognized as the name of a cmdlet” that I got while executing the ‘Get-AzContainerApp’ PowerShell command.
Table of Contents
The term ‘Get-AzContainerApp’ is not recognized
I was working on a requirement where I was executing the ‘Get-AzContainerApp’ PowerShell command, the moment I executed this command, I got this error.
The complete error message is as below
Get-AzContainerApp : The term 'Get-AzContainerApp' is not recognized as the name of a
cmdlet, function, script file, or operable program. Check the spelling of the name,
or if a path was included, verify that the path is correct and try again.
At line:2 char:1
+ Get-AzContainerApp -ResourceGroupName MyNewResGrp
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Get-AzContainerApp:String) [], Command
NotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
You can see the same error below

Now, let’s discuss how I fixed this error.
The term ‘Get-AzContainerApp’ is not recognized [Solved]
The Get-AzContainerApp command is part of Az.App module. So to fix this issue, you can run the below PowerShell command to install the Az.App module.
Install-Module Az.App
Click on the yes to all button to confirm the installation.


Once, the installation of the Az.App module was done, and I can able to execute the ‘Get-AzContainerApp’ PowerShell command without any issue. You can see it below.

You may also like following the below articles
- Get-AzStorageContainer
- How to Upload and Download File From Azure Blob Storage Using C# and PowerShell
Conclusion
In this Azure PowerShell article, we discussed how to fix the error “The term ‘Get-AzContainerApp’ is not recognized as the name of a cmdlet”. Thanks for reading this article !!!