title: Functions get Remove when zip deploy function app using Azure CLI or PowerShell
body: <p>I'm facing an issue while deploying the azure function using Azure CLI or Azure PowerShell.</p>
  <p>I have already created needed resources like resource group, function app and blob storage.</p>
  <p>My function app platform type is <strong>Linux</strong> with consumption plan and runtime net6.0. I have created Service Bus trigger function and deployed using Visual Studio Publish profile and it is working as expected.</p>
  <p>But when I executed the command to deploy the Azure function using CLI. Command is executing successfully but when I open the function app from azure portal and go to functions blade the deployed functions do not appear there.</p>
  <p>I also checked the folder structure of the build output as mentioned in the link</p>
  <p><a href="https://docs.microsoft.com/en-us/azure/azure-functions/deployment-zip-push" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/azure/azure-functions/deployment-zip-push</a></p>
  <p>any help would be appreciated.</p>
  <p>Thanks</p>