Hi @Komal Dewnani ,
As highlighted in the thread below, the Function App is treated as the unit of deployment, not individual Functions within it: Deploying Functions from the Same Project to Multiple Apps
Currently, it is not possible to deploy specific functions selectively from an artifact using the AzureRmWebAppDeployment@4 task or other available options. Instead, the entire set of functions within the Function App is deployed.
We appreciate your understanding on this matter. Should any workarounds or updates to support this scenario become available in the future, we will promptly notify you.