A quick Azure PowerShell command to locate any Java based Azure App Services and Functions so you can check if they are vulnerable to the CVE-2021-44228 Apache Log4j2 vulnerability.
Get-AzWebApp | ForEach-Object{
Get-AzWebApp -ResourceGroupName $_.ResourceGroup -Name $_.Name |
Select-Object -Property Name, @{l='JavaVersion';e={$_.SiteConfig.JavaVersion}}, ResourceGroup, Id
} | Format-Table