Azure / azure-powershell

Microsoft Azure PowerShell
Other
4.27k stars 3.88k forks source link

Get-AzFunctionApp list contains logic app #26753

Open pzohaycuoi opened 1 week ago

pzohaycuoi commented 1 week ago

Description

The command Get-AzFunctionApp -ResourceGroupName "myresourcegroup", is returning the logic apps in the Resource Group as well. I guess this happens because internally a filter for kind 'functionapps', but the Logic App also has functionapp in its kind functionapp,workflowapp.

Issue script & Debug output

Get-AzFunctionApp -ResourceGroupName "myresourcegroup"

Environment data

Name                           Value
----                           -----
PSVersion                      7.4.6
PSEdition                      Core
GitCommitId                    7.4.6
OS                             Microsoft Windows 10.0.26100
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Module versions

ModuleType Version    PreRelease Name                                ExportedCommands
---------- -------    ---------- ----                                ----------------  
Script     4.0.0                 Az.Accounts                         {Add-AzEnvironmen…
Script     4.1.1                 Az.Functions                        {Get-AzFunctionAp…
Script     7.7.0                 Az.Resources                        {Export-AzResourc…

Error output

microsoft-github-policy-service[bot] commented 6 days ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AnatoliB, @Francisco-Gamino, @shreyabatra4.